top
Linux · Processes · available in the simulator
What it does
Display Linux processes.
Syntax
top [opciones]
Options and parameters
-u USERFilter by user
-n NRun for N iterations and exit
-d SUpdate interval in seconds
-uDisplay only processes belonging to the specified user.
top -u ana-dDelay time between updates in seconds.
top -d 2-nNumber of iterations before ending.
-pMonitor only the specified process IDs.
Usage examples
toptop -u anatop -n 1top -b -n 1top -d 2
Notes and common mistakes
- Interactive commands within top: M sorts by memory, P sorts by CPU, and q quits.