htop lists ALL processes, and provides easier way to let you sort, search, mark, kill, processes.
First, you need to install it, by sudo apt-get install htop.
Then, start it by htop. Or, read man page by man htop or summery by htop --help.
⇞ Page △, ⇟ Page ▽ ⇒ move up/down.
↖ Home, ↘ End ⇒ move to top/bottom.
↑, ↓ ⇒ move cursor.
←, → ⇒ scroll sideways.
Type F1 or h for Help screen. That should be it.
M ⇒ Sort by memory usage.
P ⇒ Sort by processor usage.
T ⇒ Sort by time.
F6 or > ⇒ Select field for sorting. The sort field is indicated by a highlight in the header.
F4 or I ⇒ Invert sort order.
F5 or t ⇒ Tree view toggle.
+, - ⇒ expand/collapse subtree.
u ⇒ Show only processes owned by a specified user.
K ⇒ Show/hide kernel threads.
H ⇒ Show/hide user threads.
F3 or / ⇒ Incremental process search by name.
Type number to start incremental search on PID
Space ⇒ mark a process. (you can kill all marked processes later)
U ⇒ unmark all.
F9 or k ⇒ Kill marked processes or current process.
F7 or ] ⇒ Increase selected process priority.
F8 or [ ⇒ Decrease selected process priority.
s ⇒ Trace process system calls: if strace(1) is installed, pressing this key will attach it to the currently selected process, presenting a live update of system calls issued by the process.
l ⇒ Display open files for a process
F2 or S ⇒ Setup screen. There you can configure meters displayed on the top side of the screen, as well as set various display options, choose among color schemes and select the layout of the displayed columns.
a ⇒ (on multiprocessor machines) Set CPU affinity: mark which CPUs a process is allowed to use.
F ⇒ “Follow” process: if the sort order causes the currently selected process to move in the list, make the selection bar follow it. This is useful for monitoring a process: this way, you can keep a process always visible on screen. When a movement key is used, “follow” loses effect.
【Ctrl+L】 Refresh: redraw screen and recalculate values.