diff options
author | Anand Avati <avati@gluster.com> | 2010-03-04 04:00:53 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-03-04 02:03:56 -0800 |
commit | 2970ec54473fd55b27aeeb43a1f6bca879281cf0 (patch) | |
tree | ae2a933a754d330f2cefa0130469420dd7cca03b /xlators/cluster/afr | |
parent | 90fbc2d6e32eb4d9dbd4ddf1fe77751013003640 (diff) |
io-stats: new counters
Add new counters and statistics for:
a) total read data - since process start, last interval and per fd
b) total write data - since process start, last interval and per fd
c) counts of read IO block size - since process start, last interval and per fd
d) counts of write IO block size - since process start, last interval and per fd
e) counts of all FOP types passing through it
Usage:
1. For dumping global stats
sh# setfattr -n io-stats-dump /tmp/filename /mnt/gluster
2. For enabling per-fd stats
option dump-fd-stats on
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 268 (Add timing instrumentation code)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=268
Diffstat (limited to 'xlators/cluster/afr')
0 files changed, 0 insertions, 0 deletions