Question: CHALLENGE: Develop a script named and place it on the / sysadm / bin Directory. The script should help us monitor the system resources and
CHALLENGE:
Develop a script named
and place it on the sysadmbin Directory. The script should help us
monitor the system resources and generate a quick output that presents critical performance information.
The script should present the following output with the proper information:
Performance Report
Hostname:
Date:
Load Average:
Number of CPUs:
Total Memory:
Total SWAP:
Important
Focus on making the resulting output from the script clean without any unnecessary information
showing only what is being requested and nothing else!
You will need the following
and
to complete this task:
systemctl
uptime
Tip Isof
free
proccpuinfo
procmeminfo
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
