summaryrefslogtreecommitdiff
path: root/static/v10/man8/fstat.8
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
commit711594636704defae873be1a355a292505585afd (patch)
tree59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man8/fstat.8
parent3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff)
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man8/fstat.8')
-rw-r--r--static/v10/man8/fstat.849
1 files changed, 49 insertions, 0 deletions
diff --git a/static/v10/man8/fstat.8 b/static/v10/man8/fstat.8
new file mode 100644
index 00000000..7abf677b
--- /dev/null
+++ b/static/v10/man8/fstat.8
@@ -0,0 +1,49 @@
+.TH FSTAT 1
+.SH NAME
+fstat \- file status
+.SH SYNOPSIS
+.B /etc/fstat
+[
+.B \-u
+user ] [
+.B \-p
+pid ] [
+.B \-f
+filename ]
+.SH DESCRIPTION
+.I Fstat
+identifies open files.
+A file is considered open if a process has it open,
+if it is the working directory for a process,
+or if it is an active pure text file.
+Under default options,
+.I fstat
+reports on all open files.
+.PP
+Options:
+.TP 6
+.B \-u
+Report all files open by a specified user.
+.TP 6
+.B \-p
+Report all files open by a specified process id.
+.TP 6
+.B \-f
+Restrict reports to the specified file.
+If the file is a character special file,
+.I fstat
+additionally reports on any open files on that device,
+treating it as a mounted file system.
+.dt
+.SH "SEE ALSO"
+ps(1), pstat(8)
+.SH DIAGNOSTICS
+Yet to be determined.
+.SH BUGS
+.I Fstat
+tries to be clever if you elide the
+.B \-u ,
+.B \-f ,
+or
+.B \-p
+flags for the argument. Like any expert system, it is sometimes wrong.