Server Performance Stats is a bash script to analyse server performance stats like CPU, memory and storage usage.
It's built as a learning project for DevOps Roadmap on roadmap.sh.
- Total CPU usage
- Total memory usage (Free vs Used including percentage)
- Total disk usage (Free vs Used including percentage)
- Top 5 processes by CPU usage
- Top 5 processes by memory usage
- Bash Shell
- Utility tools:
top
,bc
,ps
Install the dependencies using the following command (if needed):
sudo apt install bc procps
sudo dnf install procps-ng bc
brew install bc
After installing dependecies, run the following:
git clone https://github.com/architxkumar/Server-Performance-Stats
cd Server-Performance-Stats
chmod u+x ./server-stats.sh # Making the script executable
Run the script using the following command:
./server-stats.sh
This project is licensed under the MIT License