summaryrefslogtreecommitdiff
path: root/usr.bin/fstat/fstat.1
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2000-07-16 23:40:49 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2000-07-16 23:40:49 +0000
commit0d92e64117b541a2fabc2c3d9e41f5c9a93d3b0b (patch)
treefa0a03990b3c3c35ad3a4d8529ad62590be04aa0 /usr.bin/fstat/fstat.1
parent0a24e02b6c0cddae26902400e476fbc2a416c9b1 (diff)
Add -o option for printing file offset. Also some whitespace reformatting.
Handy. Checked by millert and niklas.
Diffstat (limited to 'usr.bin/fstat/fstat.1')
-rw-r--r--usr.bin/fstat/fstat.18
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/fstat/fstat.1 b/usr.bin/fstat/fstat.1
index 7460d2b8329..88d7cede371 100644
--- a/usr.bin/fstat/fstat.1
+++ b/usr.bin/fstat/fstat.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fstat.1,v 1.17 2000/03/23 21:10:17 aaron Exp $
+.\" $OpenBSD: fstat.1,v 1.18 2000/07/16 23:40:48 hugh Exp $
.\"
.\" Copyright (c) 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -41,7 +41,7 @@
.Nd display status of open files
.Sh SYNOPSIS
.Nm fstat
-.Op Fl fnv
+.Op Fl fnov
.Op Fl M Ar core
.Op Fl N Ar system
.Op Fl p Ar pid
@@ -84,6 +84,10 @@ device number that the special device refers to rather than the filename
in
.Pa /dev .
Also, print the mode of the file in octal instead of symbolic form.
+.It Fl o
+Output file offset.
+Follow the size field with the descriptor's offset.
+Useful for checking progress as a process works through a large file.
.It Fl p pid
Report all files open by the specified process.
.It Fl u user