=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/fstat/fstat.1,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- src/usr.bin/fstat/fstat.1 2005/12/15 16:35:47 1.35 +++ src/usr.bin/fstat/fstat.1 2006/03/26 17:55:31 1.36 @@ -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 @@ 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 @@ .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.