summaryrefslogtreecommitdiff
path: root/sys/man/4
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-08-02 02:30:19 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-08-02 02:30:19 +0200
commit23aaa0c59cb0bf3e82e587571ee70d2c5c9e410b (patch)
tree4d42902dd2793825cfb36f77bd1f2a436c4d8c05 /sys/man/4
parentd14b6a0bf98306a6ec1b9181e998ef672db5a206 (diff)
iostats: reimplement iostats as a 9p filter instead of duplicating exportfs
old iostats failed to work when builidng the kernel due to old bugs that where already fixed in exportfs. instead of backporting the fixes, reimplement iostats as a filter that sits between exportfs and the process mount. from users perspective, theres no difference. the result is much smaller and can handle everything that exportfs can like /srv.
Diffstat (limited to 'sys/man/4')
-rw-r--r--sys/man/4/iostats7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/man/4/iostats b/sys/man/4/iostats
index cfc77c945..58387a0f5 100644
--- a/sys/man/4/iostats
+++ b/sys/man/4/iostats
@@ -17,7 +17,7 @@ iostats \- file system to measure I/O
]
.SH DESCRIPTION
.I Iostats
-is a user-level file server that interposes itself between a program
+is a user-level 9p filter that interposes itself between a program
and the regular file server, which
allows it to gather statistics of file system
use at the level of the Plan 9 file system protocol, 9P.
@@ -76,9 +76,10 @@ Start a new shell, displaying all 9P traffic caused by the shell or its children
iostats -df /fd/1 rc
.EE
.SH SOURCE
-.B /sys/src/cmd/iostats
+.B /sys/src/cmd/iostats.c
.SH SEE ALSO
-.IR dup (3)
+.IR dup (3),
+.IR exportfs (4)
.SH BUGS
Poor clock resolution means that large amounts of I/O must be done to
get accurate rate figures.