Watch a process with top: Difference between revisions
From Cramsession
Jump to navigationJump to search
✍️ Verified Author: Mflavell • Click to view professional profile & credentials
(Created page with "Use pgrep <i>process</i> to find the PID then use top -p <i>pid</i> to watch it") |
No edit summary |
||
| Line 1: | Line 1: | ||
Use | Use | ||
pgrep <i>process</i> | pgrep <i>process</i> | ||
to find the PID | to find the PID | ||
then use | then use | ||
top -p <i>pid</i> to watch it | top -p <i>pid</i> to watch it | ||
Revision as of 15:35, 13 June 2024
Use
pgrep process
to find the PID
then use
top -p pid to watch it