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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started