Question | Answer |
Interactive top options: Display HELP menu | h |
Interactive top options: Add or Remove columns | f |
Interactive top options:Show a list of sortable columns | F - then click the letter next to the column to be sorted |
Interactive top options: Specify a USER | u |
Interactive top options: Kill a process | K (prompted for the process ID and the signal to sent to it |
Interactive top options: Change the number of displayed processes | n (prompted for a number) |
Interactive top options: Sort the list by memory usage | M |
Interactive top options: Quit the utility | q |
ps Options: Show all processes | -A, or -e |
ps Options: Show processes owned by other users and attached to a terminal (foreground processes) | -a |
ps Options:Show all possible details for processes | -f |
ps Options: Show processes in long format and the process state | -l |
ps Options: Process state SLEEPING | S |
ps Options: Process state RUNNING | r |
ps Options: Process state TRACED by another process (stopped) | t |
ps Options: Process state ZOMBIE | Z |
ps Options: Show processes by user ID | -u |
ps Options: Shows processes that are not attached to a controlling terminal – (use to view daemon processes that begin during boot process) | -x |
ps Options: Select by tty | -t |
ps Options: Select by PID | -P |
ps Options: Show all processes including zombie processes | ps aux |
ps Options: Show processes in long format | ps elf |