Question: Write a bash script to produce the answers to each of the questions below. Show the number of httpd server processes that are currently running
Write a bash script to produce the answers to each of the questions below.
-
Show the number of httpd server processes that are currently running on the system using one command, which may include a pipe(s).
-
Show the httpd server processes that are currently running on the system, including their PIDs, using one command, which may include a pipe(s).
-
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.
-
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
Get step-by-step solutions from verified subject matter experts
