Question: UNIX HELP Write a bash script to produce the answers to each of the questions below. Before the output, echo to the screen the question

UNIX HELP

Write a bash script to produce the answers to each of the questions below. Before the output, echo to the screen the question number and the command that will be executed.

1. Show the number of httpd server processes that are currently running on the system using one command, which may include a pipe(s).

2. Show the httpd server processes that are currently running on the system, including their PIDs, using one command, which may include a pipe(s).

3. Show a real-time view of system information, such as CPU usage, memory usage, etc., and the processes using the most CPU, memory and time.

4. Show a real-time view of system information, such as CPU usage, memory usage, etc., and just your processes using the most CPU, memory and time.

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!