26 lines
336 B
Org Mode
26 lines
336 B
Org Mode
|
* 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
|