User Tools

Site Tools


system_stats

This is an old revision of the document!


I have created a bash script that gathers the systems usage and outputs it on the screen. This method is very quick to assessing potential issues with the server.
Note: Script does NOT make any changes, it simply reads from the server.

bash <(curl -s https://raw.githubusercontent.com/luke7858/ServerUsage/master/ServerStats.sh)

##Example Output##
############################################

Server Uptime: 147days 6:56:30

Load Average: Current 0.00
Load Average: 15min Average 0.00


### RAM usage ###
Free Ram: 2845.70MB
Used RAM: 910.14MB

76% ram left
RAM Usage: Acceptable

TOP RAM CONSUMER: /usr/bin/python
RAM Usage (RSS): 166.36 MB
Total Number of RAM Processes: 2
Total RAM Usage for all /usr/bin/python processes =  171.57 MB
4.57% used by /usr/bin/python


###CPU usage###
Top Process:  ./Plex
CPU % for SINGLE Top Process =  4.1
number of processes this is running: 5
Total CPU % for ./Plex =  4.1

############################################

system_stats.1441731190.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki