mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 04:22:44 +00:00
fstat(1): Fix typo
This is from the Advanced UNIX Programming Course (Fall’23) at NTHU. MFC after: 3 days Pull Request: https://github.com/freebsd/freebsd-src/pull/929
This commit is contained in:
parent
a2ee3070d8
commit
0ba51e3b63
@ -310,7 +310,7 @@ $ fstat . | awk 'NR > 1 {printf "%d%s(%s) ", $3, $4, $1;}'
|
||||
2133wd(alice) 2132wd(alice) 1991wd(alice)
|
||||
.Ed
|
||||
.Pp
|
||||
Create a list of processes sorted by number of opened files in desdencing order:
|
||||
Create a list of processes sorted by number of opened files in descending order:
|
||||
.Bd -literal -offset indent
|
||||
$ fstat | awk 'NR > 1 {print $2;}' | sort | uniq -c | sort -r
|
||||
728 firefox
|
||||
|
Loading…
Reference in New Issue
Block a user