fstat.1 (51015) | fstat.1 (59029) |
---|---|
1.\" Copyright (c) 1987, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)fstat.1 8.3 (Berkeley) 2/25/94 | 1.\" Copyright (c) 1987, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)fstat.1 8.3 (Berkeley) 2/25/94 |
33.\" $FreeBSD: head/usr.bin/fstat/fstat.1 51015 1999-09-06 13:14:24Z sheldonh $ | 33.\" $FreeBSD: head/usr.bin/fstat/fstat.1 59029 2000-04-05 05:45:40Z green $ |
34.\" 35.Dd February 25, 1994 36.Dt FSTAT 1 37.Os BSD 4 38.Sh NAME 39.Nm fstat 40.Nd file status 41.Sh SYNOPSIS 42.Nm fstat | 34.\" 35.Dd February 25, 1994 36.Dt FSTAT 1 37.Os BSD 4 38.Sh NAME 39.Nm fstat 40.Nd file status 41.Sh SYNOPSIS 42.Nm fstat |
43.Op Fl fnv | 43.Op Fl fmnv |
44.Op Fl M Ar core 45.Op Fl N Ar system 46.Op Fl p Ar pid 47.Op Fl u Ar user 48.Op Ar filename... 49.Sh DESCRIPTION 50.Nm Fstat 51identifies open files. --- 17 unchanged lines hidden (view full) --- 69.Dq Li fstat -f /usr/src . 70.It Fl M 71Extract values associated with the name list from the specified core 72instead of the default 73.Pa /dev/kmem . 74.It Fl N 75Extract the name list from the specified system instead of the default 76.Pa /kernel . | 44.Op Fl M Ar core 45.Op Fl N Ar system 46.Op Fl p Ar pid 47.Op Fl u Ar user 48.Op Ar filename... 49.Sh DESCRIPTION 50.Nm Fstat 51identifies open files. --- 17 unchanged lines hidden (view full) --- 69.Dq Li fstat -f /usr/src . 70.It Fl M 71Extract values associated with the name list from the specified core 72instead of the default 73.Pa /dev/kmem . 74.It Fl N 75Extract the name list from the specified system instead of the default 76.Pa /kernel . |
77.It Fl m 78Include memory-mapped files in the listing; normally these are excluded 79due to the extra processing required. |
|
77.It Fl n 78Numerical format. Print the device number (maj,min) of the filesystem 79the file resides in rather than the mount point name; for special 80files, print the 81device number that the special device refers to rather than the filename 82in 83.Pa /dev ; 84and print the mode of the file in octal instead of symbolic form. --- 27 unchanged lines hidden (view full) --- 112The file number in the per-process open file table or one of the following 113special names: 114.Pp 115.Bd -literal -ragged -offset indent -compact 116text - executable text inode 117wd - current working directory 118root - root inode 119tr - kernel trace file | 80.It Fl n 81Numerical format. Print the device number (maj,min) of the filesystem 82the file resides in rather than the mount point name; for special 83files, print the 84device number that the special device refers to rather than the filename 85in 86.Pa /dev ; 87and print the mode of the file in octal instead of symbolic form. --- 27 unchanged lines hidden (view full) --- 115The file number in the per-process open file table or one of the following 116special names: 117.Pp 118.Bd -literal -ragged -offset indent -compact 119text - executable text inode 120wd - current working directory 121root - root inode 122tr - kernel trace file |
123mmap - memory-mapped file |
|
120.Ed 121.Pp 122If the file number is followed by an asterisk (``*''), the file is 123not an inode, but rather a socket, 124.Tn FIFO , 125or there is an error. 126In this case the remainder of the line doesn't 127correspond to the remaining headers -- the format of the line --- 96 unchanged lines hidden --- | 124.Ed 125.Pp 126If the file number is followed by an asterisk (``*''), the file is 127not an inode, but rather a socket, 128.Tn FIFO , 129or there is an error. 130In this case the remainder of the line doesn't 131correspond to the remaining headers -- the format of the line --- 96 unchanged lines hidden --- |