summaryrefslogtreecommitdiff
path: root/usr.bin/fstat/fstat.1
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2006-03-26 17:55:32 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2006-03-26 17:55:32 +0000
commit8144d2e961b7d73dba224c5dec2fd24e0baefc97 (patch)
treee504a4b3814ceffa9a049b574e5b4e253a7b3586 /usr.bin/fstat/fstat.1
parent03bf1c6f58d557fc7e18c7c50c1c4d1c235897d9 (diff)
and put new flag into the manpage
Diffstat (limited to 'usr.bin/fstat/fstat.1')
-rw-r--r--usr.bin/fstat/fstat.113
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.