diff options
author | Stefan Behrens <sbehrens@giantdisaster.de> | 2012-05-15 11:30:39 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-01-31 13:47:17 +0100 |
commit | 5b8826ddfd1c4fcdcfe9f78fd80cfeeac9de1b21 (patch) | |
tree | 7eb512fce9566f435d4b05a0b9ea1c70c583f20f /man | |
parent | 7a69dc4eecfd52841b11e0f9312f62d17e3479f5 (diff) |
Btrfs-progs: add command to get/reset device stats via ioctl
"btrfs device stats" is used to retrieve and print the device stats.
"btrfs device stats -z" is used to atomically retrieve, reset and
print the stats.
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Diffstat (limited to 'man')
-rw-r--r-- | man/btrfs.8.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/man/btrfs.8.in b/man/btrfs.8.in index d20e332e..460592eb 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -33,6 +33,8 @@ btrfs \- control a btrfs filesystem .PP \fBbtrfs\fP \fBdevice scan\fP\fI [--all-devices|<device> [<device>...]]\fP .PP +\fBbtrfs\fP \fBdevice stats\fP [-z] {\fI<path>\fP|\fI<device>\fP} +.PP \fBbtrfs\fP \fBdevice add\fP\fI <device> [<device>...] <path> \fP .PP \fBbtrfs\fP \fBdevice delete\fP\fI <device> [<device>...] <path> \fP @@ -252,6 +254,18 @@ Balance the chunks of the filesystem identified by \fI<path>\fR across the devices. .TP +\fBdevice stats\fP [-z] {\fI<path>\fP|\fI<device>\fP} +Read and print the device IO stats for all devices of the filesystem +identified by \fI<path>\fR or for a single \fI<device>\fR. + +.RS +\fIOptions\fR +.TP +.B -z +Reset stats to zero after reading them. +.RE +.TP + \fBdevice add\fR\fI <dev> [<dev>..] <path>\fR Add device(s) to the filesystem identified by \fI<path>\fR. .TP |