O'Reilly logo

Solaris™ Internals: Core Kernel Components by Richard McDougall, Jim Mauro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required