A simple Bash script to monitor basic server performance on Linux.
- Total CPU usage
- Total memory usage (used vs free, including percentage)
- Total disk usage (used vs free, including percentage)
- Top 5 processes by CPU usage
- Top 5 processes by memory usage
- Clone the repository:
git clone https://github.com/your-username/server-stats.git cd server-stats
-
Make the script executable: chmod +x server-stats.sh
-
Run the script:
./server-stats.sh
project url : https://roadmap.sh/projects/server-stats