Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

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.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 1h 0m
Published
Clock icon Nov 12, 2018

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. 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
    
  2. 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
    
  3. 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     
    

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans