fortune/freebsd-tips: Fix markup and wording

'ps' is not a word - rather, it is a utility with its own manual page.
As every other utility referenced in the file has it, append the
relevant manual section that ps(1) can be found in.

While here, also wordsmith a sentence to avoid awkward phrasing, and fix
a typo.

Pointy hat to:	me
Reported by:	danfe, brueffer, maxim
This commit is contained in:
Daniel Ebdrup Jensen 2021-03-31 13:10:30 +02:00
parent a5f07fa0c6
commit 646bae45e1

View File

@ -803,14 +803,14 @@ You can spot one like this:
-- Alan Somers <asomers@FreeBSD.org>
%
FreeBSDs ps can create a dependency tree based on parent/child relationships
between processes, like this:
FreeBSD's ps(1) can create a dependency tree based on parent/child
relationships between processes, like this:
$ ps -d
-- Daniel Ebdrup Jensen <debdrup@FreeBSD.org>
%
It is possible to get a meassure of the resident memory set:
It is possible to measure the resident memory set:
$ vmstat -o | awk 'NR>1 { t[$7] += $1 } \
END { for (i in t) printf "%s %d\n",i,t[i] }'