Linux Process Monitoring/Watch specific PID

Focus top on one or more processes.

Section: Interactive Monitors

Watch specific PID

bash
bash
top -p 1234
Explanation

Focus top on one or more processes.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Interactive Monitors
Launch top
Open the classic realtime process viewer.
OpenIn sheetbashsame section
Show threads in top
Display per-thread activity inside top.
OpenIn sheetbashsame section
Launch htop
Open the interactive ncurses process monitor if installed.
OpenIn sheetbashsame section
Launch atop
Capture system-wide resource and per-process metrics.
OpenIn sheetbashsame section
Launch btop
Use a modern TUI monitor if available.
OpenIn sheetbashsame section
pidstat all processes
Sample process activity every second for five intervals.