Viewing and Terminating Flashcards
What command reports a snapshot of the current processes?
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)
What command terminates a system process?
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
What command displays a dynamic real time view of processes running on a system?
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