8000 GitHub - Mirko-125/Server-Stats: Learning shell scripting
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Mirko-125/Server-Stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Server stats

Goal of this project is to write a script to analyse server performance stats.

Pre-requisites

sudo apt update
sudo apt install bc

How to use

Type the following commands

chmod +x server-stats.sh
./server-stats.sh

The output

If set up properly, you should be able to run the script on any Linux server and it should give you the following stats:

  • 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

About

Learning shell scripting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0