Skip to content

brambillagabrielle/server-performance-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Server Performance Stats Project

Linux Bash

About the Project

This project was proposed in the DevOps Path from roadmap.sh, with the objective of understanding and practicing methods to collect performance statistics from Linux servers, such as:

  • CPU Usage
  • Memory Usage
  • Disk Usage
  • Optional information, including:
    • Hostname
    • OS Version/Distribution
    • Uptime
    • Load Average
    • Logged-in Users
    • Failed Login Attempts

Project Structure

awk-scripts/
β”œβ”€β”€ cpu/
β”‚   └── total.awk
β”œβ”€β”€ disk/
β”‚   β”œβ”€β”€ free.awk
β”‚   └── total.awk
└── memory/
    β”œβ”€β”€ free.awk
    └── total.awk
server-stats.sh

Prerequisites

Ensure that the awk tool is available on your Linux terminal by running:

awk --version

Note: If awk is not installed, refer to the Installing gawk (GNU) documentation

Usage

To execute the script, run the following command:

./server-stats.sh

Make sure the script has execute permissions. If not, you can grant them using:

chmod +x server-stats.sh

About

Server Performance Stats project implemented for the DevOps Roadmap, to collect informations such as CPU, Memory and Disk Usage from a Linux server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors