vmstat -m/-z field parsing

grarpamp grarpamp at gmail.com
Thu Oct 15 06:24:02 UTC 2009


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


More information about the freebsd-current mailing list