scan rate and "w" output from vmstat

travel NJ travelnj11 at gmail.com
Mon Mar 7 17:05:31 UTC 2011


Hi,

I am in the process of converting a script for gathering system info in
Solaris to be used in Linux.

I noticed RedHat 5.5 does not have the "w" output from vmstat even the
manpage indicates that it exists

[sysadm at unix ~]$ vmstat 5 5
procs                      memory      swap          io     system
cpu
 r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id
wa
 1  0      0 2492644 124640 1039360    0    0     0     0    0     0  0  1
0  0
 1  0      0 2492644 124640 1039360    0    0     0    14  103   188 25  0
75  0
 1  0      0 2492644 124640 1039360    0    0     0     0  102   191 25  0
75  0
 1  0      0 2492644 124640 1039360    0    0     0    30  108   189 25  0
73  2
excerpt from man

FIELD DESCRIPTIONS
   Procs
       r: The number of processes waiting for run time.
       b: The number of processes in uninterruptable sleep.
       w: The number of processes swapped out but otherwise runnable.  This
          field is calculated, but Linux never desperation swaps.
In addition, it does not have the "sr" as similar to Solaris's vmstat. I do
know that many of the info are stalled in /proc, but is /proc/vmstat the
only location I can get the scanrate ? will it be pgscan_kswapd_high?

thanks



More information about the redhat-list mailing list