Lines Matching +full:- +full:- +full:no +full:- +full:print +full:- +full:directory
19 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
47 is the working directory, root directory, jail root directory,
49 If no options are specified,
54 .Bl -tag -width "-N system"
58 current directory if there are no additional filename arguments.
60 directory
63 .Ql fstat -f /usr/src .
69 Include memory-mapped files in the listing; normally these are excluded
76 Print the device number (maj,min) of the file system
78 files, print the
82 and print the mode of the file in octal instead of symbolic form.
86 Print socket endpoint information.
91 Print error messages upon failures to locate particular
107 .Bl -tag -width MOUNT
115 The file number in the per-process open file table or one of the following
118 .Bl -tag -width jail -offset indent -compact
120 jail root directory
122 memory-mapped file
130 current working directory
186 preventing a file system from being down graded to read-only.
192 Normally the name cannot be determined since there is no mapping
193 from an open file back to the directory entry that was used to open
195 Also, since different directory entries may reference
208 For UNIX-domain sockets, its the address of the socket pcb and the address
213 .Ql netstat -A
214 command would print for TCP, UDP, and UNIX-domain.
216 connected UNIX-domain stream socket.
217 A unidirectional UNIX-domain socket indicates the direction of flow with
219 .Po Ql <-
221 .Ql ->
224 .Pq Ql <-> .
232 .Pq Ql <-> .
236 .Ex -std
241 .Bd -literal -offset indent
244 alice bash 469 text /usr/local 143355 -rwxr-xr-x 1166448 r
245 alice bash 469 ctty /dev 346 crw--w---- pts/81 rw
251 including memory-mapped files:
252 .Bd -literal -offset indent
253 $ fstat -m -p $$ -f /usr/local
255 bob bash 469 text /usr/local 143355 -rwxr-xr-x 1166448 r
256 bob bash 469 mmap /usr/local 143355 -rwxr-xr-x 1166448 r
262 .Bd -literal -offset indent
270 .Bd -literal -offset indent
271 $ fstat -f /usr/local -m -p $$
272 fstat: -m: No such file or directory
273 fstat: -p: No such file or directory
274 fstat: 469: No such file or directory
279 .Bd -literal -offset indent
280 $ fstat | awk '$2=="firefox" && $5=="pipe"' | wc -l
286 .Bd -literal -offset indent
287 $ fstat -u bob | awk '$4 == 2 && $8 == "ttyv0"'
288 bob firefox 77842 2 /dev 103 crw------- ttyv0 rw
289 bob xinit 1194 2 /dev 103 crw------- ttyv0 rw
295 .Ql netstat -A -p tcp
297 .Bd -literal -offset indent
304 Show a list of processes with files opened in the current directory
308 .Bd -literal -offset indent
314 .Bd -literal -offset indent
315 $ fstat | awk 'NR > 1 {print $2;}' | sort | uniq -c | sort -r