summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat/fstat.1
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-04-05 05:45:40 +0000
committergreen <green@FreeBSD.org>2000-04-05 05:45:40 +0000
commitaa7e4f0b1b108e1f4fbeef460453b098113b0ef3 (patch)
tree2136d4b5c441ee45fb91ff4a44fdc883f2aefbb5 /usr.bin/fstat/fstat.1
parent0acc8510070bc2e92a30e2050425cd513b5d2cf7 (diff)
downloadFreeBSD-src-aa7e4f0b1b108e1f4fbeef460453b098113b0ef3.zip
FreeBSD-src-aa7e4f0b1b108e1f4fbeef460453b098113b0ef3.tar.gz
Add a new options: -m enables searching for memory-mapped files.
It is not default because it's an expensive option by nature, making the search take 2-3 times as long. PR: 17555 Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
Diffstat (limited to 'usr.bin/fstat/fstat.1')
-rw-r--r--usr.bin/fstat/fstat.16
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/fstat/fstat.1 b/usr.bin/fstat/fstat.1
index c6c6dbc..c07616b 100644
--- a/usr.bin/fstat/fstat.1
+++ b/usr.bin/fstat/fstat.1
@@ -40,7 +40,7 @@
.Nd file status
.Sh SYNOPSIS
.Nm fstat
-.Op Fl fnv
+.Op Fl fmnv
.Op Fl M Ar core
.Op Fl N Ar system
.Op Fl p Ar pid
@@ -74,6 +74,9 @@ instead of the default
.It Fl N
Extract the name list from the specified system instead of the default
.Pa /kernel .
+.It Fl m
+Include memory-mapped files in the listing; normally these are excluded
+due to the extra processing required.
.It Fl n
Numerical format. Print the device number (maj,min) of the filesystem
the file resides in rather than the mount point name; for special
@@ -117,6 +120,7 @@ text - executable text inode
wd - current working directory
root - root inode
tr - kernel trace file
+mmap - memory-mapped file
.Ed
.Pp
If the file number is followed by an asterisk (``*''), the file is
OpenPOWER on IntegriCloud