diff options
| author | david m. richter <richterd@citi.umich.edu> | 2007-08-13 15:16:14 -0400 |
|---|---|---|
| committer | Neil Brown <neilb@suse.de> | 2007-08-16 09:10:39 +1000 |
| commit | 3779638fd686d951afbf5d3e9ff025614fea7748 (patch) | |
| tree | 16f72b7a2a84a5fea9b29168bc1dd90cb6fead5a /utils/mount | |
| parent | 75cacf291575cab787615921f6d44febde910f7b (diff) | |
nfsstat: Add -S/--since flag.
Read statistics from the file given with -S/--since and display
the difference between those and the current statistics. Valid stat files
are those in the form of /proc/net/rpc/nfs, /proc/net/rpc/nfsd, or any
"pretty" output from nfsstat itself. Statistics that are missing from a
"pretty" stat file are treated as zeroes.
Similar to Neil Brown's suggestion, one might use this in
conjunction with watch(1) like this:
$ watch "nfsstat --since /tmp/stats; nfsstat >/tmp/stats"
Signed-off-by: David M. Richter <richterd@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'utils/mount')
0 files changed, 0 insertions, 0 deletions
