Question: 1. Manage processes Use the ps command to get a snapshot of current running processes. i. Use ps -e to get all processes ii. Use

1. Manage processes Use the ps command to get a snapshot of current running processes.

i. Use ps -e to get all processes ii. Use ps -f to get more details iii. What is the PID of your "bash" process? What are its sub-processes? iv. Use ps -ef | grep to search for processes, e.g. sshd, apache2, init. v. How many processes are not run by the current login account? vi. Whats the root process (i.e. the first process)?

2. Monitor real-time processes (a) Use the top command to see running processes. (b) Explore more about the top command

i. Press space bar to refresh; press s to change refresh interval ii. Press c to display absolute path for commands (last column) iii. Press k to kill a process (need PID, or process id) iv. Press h for help v. Press q to quit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!