diff options
-rw-r--r-- | usr.bin/fstat/fstat.1 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.bin/fstat/fstat.1 b/usr.bin/fstat/fstat.1 index 72fbb46ed19..c9a86089e51 100644 --- a/usr.bin/fstat/fstat.1 +++ b/usr.bin/fstat/fstat.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fstat.1,v 1.35 2005/12/15 16:35:47 jmc Exp $ +.\" $OpenBSD: fstat.1,v 1.36 2006/03/26 17:55:31 mickey Exp $ .\" .\" Copyright (c) 1987, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -37,7 +37,7 @@ .Nd display status of open files .Sh SYNOPSIS .Nm fstat -.Op Fl fnov +.Op Fl fnosv .Op Fl M Ar core .Op Fl N Ar system .Op Fl p Ar pid @@ -85,6 +85,11 @@ Follow the size field with the descriptor's offset. Useful for checking progress as a process works through a large file. .It Fl p Ar pid Report all files open by the specified process. +.It Fl s +Report per file io statistics in two additional columns +.Sq XFERS +and +.Sq KBYTES . .It Fl u Ar user Report all files open by the specified user. .It Fl v @@ -183,6 +188,10 @@ the same file (via .Xr ln 1 ) , the name printed may not be the actual name that the process originally used to open that file. +.It Li XFERS +Dislays number of total data transfers performed on the file. +.It Li KBYTES +Displays total number of Kbytes written and read to the file. .El .Sh SOCKETS The formatting of open sockets depends on the protocol domain. |