Install apt install awk gnuplot crontab -e * * * * * cd /path/to/monitoring && ./newstat.sh > /dev/null 2>&1 Change the "cpusPer" variable in the file "graph.sh" Create graph cd /path/to/monitoring && ./graph.sh Result