freebsd-dev/cmd
Brian Behlendorf d738d34da5 Add dbufstat.py command
The dbufstat.py command was added to provide a conveniant way to
easily determine what ZFS is caching.  The script consumes the
raw /proc/spl/kstat/zfs/dbufs kstat data can consolidates it in
to a more human readable form.  This was designed primarily as
a tool to aid developers but it may also be useful for advanced
users who want more visibility in to what the ARC is caching.

When run without options dbufstat.py will default to showing a
list of all objects with at least one buffer present in the
cache.  The total cache space consumed by that object will be
printed on the right along with the object type.  Similar to the
arcstats.py command the -x option may used to display additional
fields.

Two other modes of operation are also supported by dbufstat.py
and the expectation is additional display modes may be added as
needed.  The -t option will summerize the total number of bytes
cached for each object type, and the -b option will show every
dbuf currently cached.

The script was designed to be consistent with arcstat.py and
includes most of the same options and funcationality.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2013-10-25 14:52:45 -07:00
..
arcstat Add dbufstat.py command 2013-10-25 14:52:45 -07:00
dbufstat Add dbufstat.py command 2013-10-25 14:52:45 -07:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Generate libraries with correct DT_NEEDED entries 2013-10-10 16:56:51 -07:00
vdev_id vdev_id: improve keyword parsing flexibility 2013-01-25 13:44:32 -08:00
zdb Generate libraries with correct DT_NEEDED entries 2013-10-10 16:56:51 -07:00
zfs Generate libraries with correct DT_NEEDED entries 2013-10-10 16:56:51 -07:00
zhack Generate libraries with correct DT_NEEDED entries 2013-10-10 16:56:51 -07:00
zinject Generate libraries with correct DT_NEEDED entries 2013-10-10 16:56:51 -07:00
zpios Refresh links to web site 2013-03-06 15:46:41 -08:00
zpool Increase default udev wait time 2013-10-22 10:25:51 -07:00
zstreamdump Generate libraries with correct DT_NEEDED entries 2013-10-10 16:56:51 -07:00
ztest Generate libraries with correct DT_NEEDED entries 2013-10-10 16:56:51 -07:00
zvol_id Remove autotools products 2012-08-27 11:47:44 -07:00
Makefile.am Add dbufstat.py command 2013-10-25 14:52:45 -07:00