3.1 Process Management Flashcards
1
Q
What command is used to display information about a process?
A
ps
2
Q
What command is used to display a snap shot currrently running processes?
A
ps aux
3
Q
What command is used to kill a process
A
kill <processId>
4
Q
What command is used to display dynamic real-time information about running processes.
A
top
5
Q
What command is used to terminate processes by name?
A
killall <processName>
e.g
killall firefox
6
Q
What does the sar commnad do?
A
Collects, reports, and saves system activity information such as CPU, memory,
disk, and network usage.
Examples:
* sar -u (displays CPU utilization statistics).
* sar -r (displays memory utilization statistics).
* sar -d (displays disk I/O statistics).