mirror of
https://github.com/opnsense/src.git
synced 2026-02-04 03:00:53 -06: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 (cherry picked from commit 0ba51e3b638424597add4212958524c9b750dd7b)
This commit is contained in:
parent
5d12c7fca2
commit
9ce6e243d6
@ -312,7 +312,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…
x
Reference in New Issue
Block a user