diff options
author | mckusick <mckusick@FreeBSD.org> | 1999-12-01 02:16:51 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 1999-12-01 02:16:51 +0000 |
commit | e037a1e9e92edac5f41a5c944fabf729989719cd (patch) | |
tree | 9d1471a13495dbadf64eec0c94b283deaf920a07 /sbin/mount | |
parent | a7a8ed1423843607656950db4061ebb31fd1e7d0 (diff) | |
download | FreeBSD-src-e037a1e9e92edac5f41a5c944fabf729989719cd.zip FreeBSD-src-e037a1e9e92edac5f41a5c944fabf729989719cd.tar.gz |
Print out the filesystem read counts now collected by the kernel.
Submitted by: Craig A Soules <soules+@andrew.cmu.edu>
Reviewed by: Kirk McKusick <mckusick@mckusick.com>
Diffstat (limited to 'sbin/mount')
-rw-r--r-- | sbin/mount/mount.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 1ba9e57..8510db5 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -524,6 +524,9 @@ prmount(sfp) if (sfp->f_syncwrites != 0 || sfp->f_asyncwrites != 0) (void)printf(", writes: sync %ld async %ld", sfp->f_syncwrites, sfp->f_asyncwrites); + if (sfp->f_syncreads != 0 || sfp->f_asyncreads != 0) + (void)printf(", reads: sync %ld async %ld", + sfp->f_syncreads, sfp->f_asyncreads); (void)printf(")\n"); } |