October 2000
Intermediate to advanced
704 pages
18h 44m
English
Two other memory tools—Workspace Monitor (wsm) and memstat (an extended vmstat)—provide additional information.
Another good utility for monitor memory usage is the workspace monitor. It shows a live status of a process's memory map and lists the amount of memory that has been read or written to in the sampled interval. This information is particularly useful for determining how much memory a process is using at any given instant. The wsm command is invoked against a single process.
# wsm -p 732 -t 10 Read Write Mapped PROT Segment maker5X.exe(pid 683) Mon Jul 21 15:44:10 1997 235 0 782 (R-X) maker 10 11 36 (RWX) maker 207 384 2690 (RWX) Bss & Heap 14 0 74 (R-X) /usr/lib/libc.so.1 ...Read now
Unlock full access