Provide information (frequently refreshed) about the most CPU-intensive processes currently running. You do not need to include a - before options. See ps for explanations of the field descriptors.
Run in batch mode; don’t accept command-line input. Useful for sending output to another command or to a file.
Show command line or program name in display. -c is a toggle; top starts with the last remembered setting.
- -d delay
Specify delay between refreshes. Specify as ss.tt (seconds and tenths).
Add or remove fields or columns.
Print a help message and exit.
Display either all individual threads or a summary of all threads in process. -H is a toggle; top starts with the last remembered setting.
Suppress display of idle and zombie processes. -i is a toggle; top starts with the last remembered setting.
- -n num
Update display num times, then exit.
- -p pids
Monitor only processes with the specified process IDs.
Secure mode. Disable some (dangerous) interactive commands.
Cumulative mode toggle. Print total CPU time of each process, including dead child processes when on. top starts with the last remembered setting.
- -u user
Monitor only processes with the specified effective UID or username.
- -U user
Monitor only processes with the specified UID or username, matching real, effective, saved, and filesystem ids.
Print version information and exit.
Remove restrictions on which tasks are shown. Reverses the effect of an active i or n command. ...