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:
Yu-Hsun Chen 2023-12-13 16:42:22 +08:00 committed by Li-Wen Hsu
parent a2ee3070d8
commit 0ba51e3b63
No known key found for this signature in database
GPG Key ID: 82B261B14D3BC7AF

View File

@ -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