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.3. The vmstat Command

The Solaris vmstat utility summarizes various functions within the virtual memory system, including systemwide free memory, paging counters, disk activity, system calls, and CPU utilization. The output of vmstat is shown below with explanations of the various fields. Let's take a look at how we can use vmstat to get a quick summary of what is happening on our system. Note that the first line of output from vmstat shows a summary since boot, followed by the output over the last 3 seconds for each additional line.

7.3.1. Free Memory

Our vmstat example shows that we have 2,096 Kbytes of memory free, which seems low for a system ...

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