Added a server status page

This commit is contained in:
Ubergeek 2019-02-21 01:07:08 +00:00
parent c00df48f30
commit 363d8c6cb6
2 changed files with 33 additions and 8 deletions

View File

@ -22,11 +22,4 @@ _________________________________________________________________
1The Bongusta /en/bongusta i-logout.cz 70
_________________________________________________________________
System Information
There are currently:
=ps auxf | awk '{print $1}' | sort | uniq | egrep -v "www-data|opendkim|systemd|znc|minecraft|minetest|dovecot|postfix|avahi|bzflag|Debian|irc|root|mysql|message|USER" | wc -l
Users logged in.
Current load average:
=uptime
1System Information /sytem_info thunix.net 70

32
server_info/gophermap Normal file
View File

@ -0,0 +1,32 @@
_________________________________________________________________
=/usr/bin/figlet -f mono12 "Thunix"
EST DEC 2018
_________________________________________________________________
brought to you by:
1amcclure /~amcclure/ thunix.net 70
1ubergeek /~ubergeek/ thunix.net 70
_________________________________________________________________
Service Status:
=/bin/sed 's/,/\t/g' /var/www/thunix.cf/report | /bin/sed 's/thunix\.cf//g' | /usr/bin/column -t
_________________________________________________________________
Current Load Average:
=uptime
_________________________________________________________________
Current Disk Utllization:
=/bin/df -h /
_________________________________________________________________
There are currently:
=ps auxf | awk '{print $1}' | sort | uniq | egrep -v "www-data|opendkim|systemd|znc|minecraft|minetest|dovecot|postfix|avahi|bzflag|Debian|irc|root|mysql|message|USER" | wc -l
Users logged in.
_________________________________________________________________
1Return To Thunix Home / thunix.net 70