Interactively view system and process activity.
topView a live, interactive summary of processes and resource use.
top [OPTION]...Interactively view system and process activity.
topCapture one batch update and show its first lines.
top -b -n 1 | head -n 20| Option / clause | Description |
|---|---|
-b, --batch | Run in batch mode for scripts or redirection. |
-n N, --iterations=N | Set the number of updates before exit. |
-d SECONDS, --delay=SECONDS | Set the refresh delay. |
-p PIDLIST | Monitor selected process IDs. |
-u USER | Show processes owned by USER. |
-H | Show individual threads. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.