3 iostats \- file system to measure I/O
20 is a user-level 9p filter that interposes itself between a program
21 and the regular file server, which
22 allows it to gather statistics of file system
23 use at the level of the Plan 9 file system protocol, 9P.
25 exits a report is printed on standard error.
27 The report consists of three sections.
28 The first section reports the amount
33 messages sent by the program and the average rate at
34 which the data was transferred.
37 line reports the amount
38 of data sent as message headers, that is,
43 total number of file system transactions.
45 The second section gives
46 the number of messages, the fastest, slowest, and average turn around
47 time and the amount of data involved with each 9P
49 The final section gives an I/O summary for each file used
50 by the program in terms of opens, reads and writes.
54 flag is present, a debugging log including all traffic
62 flag sets the MCACHE flag on the mount which allows
63 the kernel to cache (see
66 Display summary of file I/O incurred by
73 Start a new shell, displaying all 9P traffic caused by the shell or its children:
79 .B /sys/src/cmd/iostats.c
84 Poor clock resolution means that large amounts of I/O must be done to
85 get accurate rate figures.
87 Can be fooled by programs that do fresh mounts outside its purview,
88 or by the use of names of files with content that can vary by process (e.g.,