Viewing and Terminating Flashcards

1
Q

What command reports a snapshot of the current processes?

A

ps
- By default ps selects all processess with the same effective user ID as the current user and the associated terminal.
- can use option e and f(full format listing)
-to see all processes run by another option do ps -u clouduser -f(full format)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What command terminates a system process?

A

Kill
-sends SIGTERM signal 15
-9 SIGKILL terminates processes without allowing cleanup similar to killing computer without allowing it to gracefully shut down
- kill (processID to kill comes next) so kill 8556

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What command displays a dynamic real time view of processes running on a system?

A

top
-provides a limited interactive intterface for process manipulation as well as a much more extensive interface for personal configuration
Clicking H key after running command takes you to help

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly