2022-07-18 14:23:28 +02:00
|
|
|
#+options: toc:nil num:nil author:nil
|
|
|
|
|
2022-07-03 21:06:29 +02:00
|
|
|
* 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
|