Watch a process with top

From Cramsession
Revision as of 21:06, 19 May 2025 by Mflavell (talk | contribs)
Jump to navigationJump to search
✍️ Verified Author: MflavellClick to view professional profile & credentials

Tech Notes > Linux > Watch a process with top

First find the PID using this command:

pgrep process


then use this command to watch the process:

top -p pid