Skip to content

Vimala2020/server-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Server Performance Stats Script

A lightweight Bash script that provides detailed server performance statistics β€” including CPU, memory, disk usage, and top resource-consuming processes. Perfect for Linux administrators, DevOps engineers, or anyone who wants a quick system health overview.

πŸ“‹ Features

βœ… Core Stats

CPU Usage β€” Shows total CPU usage percentage

Memory Usage β€” Displays free, used, and total memory with usage percentage

Disk Usage β€” Reports total, used, and free disk space with percentage

βœ… Process Analysis

Top 5 Processes by CPU Usage

Top 5 Processes by Memory Usage

βœ… Stretch Goals (Optional Enhancements)

OS version and kernel details

Uptime and load average

Logged-in users

Failed login attempts (last 10, from /var/log/auth.log)

Project URL : https://roadmap.sh/projects/server-stats

Troubleshooting

mpstat: command not found ---- Install sysstat package Permission denied ---- Run chmod +x server-stats.sh No failed login info ---- Run with sudo to access /var/log/auth.log

Author

Vimala Gandhi MERN Stack Developer & DevOps Enthusiast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages