Lines Matching +full:local +full:- +full:pid
39 .Op Fl p Ar pid
54 .Bl -tag -width "-N system"
63 .Ql fstat -f /usr/src .
69 Include memory-mapped files in the listing; normally these are excluded
83 .It Fl p Ar pid
107 .Bl -tag -width MOUNT
112 .It Sy PID
115 The file number in the per-process open file table or one of the following
118 .Bl -tag -width jail -offset indent -compact
122 memory-mapped file
186 preventing a file system from being down graded to read-only.
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 <-> .
230 For internet sockets the local and remote addresses are shown, separated with
232 .Pq Ql <-> .
233 For UNIX/local sockets either the local or remote address is shown, depending
236 .Ex -std
241 .Bd -literal -offset indent
243 USER CMD PID FD MOUNT INUM MODE SZ|DV R/W
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
250 .Pa /usr/local
251 including memory-mapped files:
252 .Bd -literal -offset indent
253 $ fstat -m -p $$ -f /usr/local
254 USER CMD PID FD MOUNT INUM MODE SZ|DV R/W
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
264 USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME
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
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
308 .Bd -literal -offset indent
314 .Bd -literal -offset indent
315 $ fstat | awk 'NR > 1 {print $2;}' | sort | uniq -c | sort -r