bash-tutorial/tutorial/listing_process.org

375 B

List process

Use ps, top or htop to list process:

  • ps reports a snapshot of the current process
ps aux | less
  • top display dynamic real-time view of linux process
top
  • htop displays an interactive process viewer
htop

To kill a process use:

kill [PID]

or

pkill [PID]

PID = process identificator