Add monitoring script to server for monitoring top, iostat (server-status)

Quick Installation

mkdir /var/log/server-status

wget -O /var/log/server-status/getstats.sh https://gitlab.com/brixly/file-dump/raw/master/getstats.sh

echo "* * * * * root /usr/bin/flock -n /var/run/cloudlinux_getstats.cronlock /bin/sh /var/log/server-status/getstats.sh >/dev/null 2>&1" > /etc/cron.d/getstats.sh

Log Location

The logs will be located in /var/log/server-status
Was this article helpful?
Cancel
Thank you!