vmstat -m/-z field parsing

From: grarpamp <grarpamp_at_gmail.com>
Date: Thu, 15 Oct 2009 02:24:00 -0400
Some of the 'first' columns in the
output contain spaces which makes
it hard to parse the data out. Unless I'm
missing the reason, I propose they be
changed to underscores '_' as
per the rest of the ouput. Thanks.

The ones I see with my GENERIC kernel plus:
 2    1 0xc0f77000 13c50c   zfs.ko
 3    2 0xc10b4000 3cec     opensolaris.ko
 4    1 0xc10b8000 11ea4    geom_eli.ko
 5    2 0xc10ca000 25af0    crypto.ko
 6    2 0xc10f0000 ac20     zlib.ko
 7    1 0xc10fb000 7224     snd_ich.ko
 8    2 0xc1103000 56740    sound.ko
are:

# vmstat -m...

CAM SIM
CAM XPT
CAM dev queue
CAM periph
CAM queue
NFS FHA
eli data

# vmstat -z

128 Bucket
16 Bucket
32 Bucket
64 Bucket
DP fakepg
FFS inode
FFS1 dinode
FFS2 dinode
KMAP ENTRY
L VFS Cache
MAC labels
MAP ENTRY
S VFS Cache
SG fakepg
UMA Hash
UMA Kegs
UMA RCntSlabs
UMA Slabs
UMA Zones
VM OBJECT
umtx pi
Received on Thu Oct 15 2009 - 04:24:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:57 UTC