Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle9i Database Administrator Implementation And Administration

Authors: Carol McCullough-Dieter

1st Edition

0619159006, 978-0619159009

More Books

Students also viewed these Databases questions

Question

Describe how to train managers to coach employees. page 404

Answered: 1 week ago

Question

Discuss the steps in the development planning process. page 381

Answered: 1 week ago