7.5. Other Memory Tools
Two other memory tools—Workspace Monitor (wsm) and memstat (an extended vmstat)—provide additional information.
7.5.1. The Workspace Monitor Utility: WSM
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 ...
Get Solaris™ Internals: Core Kernel Components now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.