- Lab
- A Cloud Guru
Create and Deliver a Report on System Utilization
In this activity, you will have an opportunity to practice using several utilities that show you information about your system and resource utilization. Understanding where to find information about the resources in use on your system is a key concept in being able to manage, troubleshoot and resolve performance problems in any environment. Once you have completed this activity, you will be able to generate reports on key system resources on any Linux system.
Path Info
Table of Contents
-
Challenge
Create the Memory Report
In order to create the memory report you have been asked to provide, you can get a list of the memory resources in total and in use with the following command:
free
In order to make it more readable, you can add -h (human readable) combined with -m (megabytes) or -g (gigabytes). So to see those values, you would use:
free -gh
Finally, redirect that output to the desired file via the command:
free -gh > /home/cloud_user/memory.rep
-
Challenge
Create the System Storage Report
In addition to available memory, you will need to create a report on the system storage and associated mounts on your system. You can look at available storage by mount via the command:
df
Much like the memory report, you can clean up the appearance with -h (for human readable), looking like this:
df -h
Finally, redirect this to the report file as asked with:
df -h > /home/cloud_user/mounts.rep
-
Challenge
Create a List of System Processes
Finally, you will want to create a report on system processes for all users in the environment. Processes can be viewed by the command:
ps
Formatting the report for all users on the system, running any process can be done adding the 'aux' parameters like so:
ps aux
Redirecting to a report file can be done via:
ps aux > /home/cloud_user/procs.rep
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.