Monitoring

Print the average CPU load over 1 minute, 5 minutes, and 15 minutes:

1watch -d cat /proc/loadavg
2stress="$(cat /proc/loadavg | awk '{print "Usage:" $2"%"}')"

Show memory usage in Gibitytes.

1free -g

Show low and high gigibtye usage on a line, and repeat the measurement every 5 seconds:

1REP=5
2free --lohi -g -s $REP | lolcat

Check the next thing cron will do:

1cronnext /var/spool/cron/$USER -l