The sysstat utilities (sar, iostat, pidstat, mpstat…) come with almost every Linux distribution and are precious when you need a quick look at a system from the command line. With one cron line they can also produce a small graphical report.
When automatic data collection is enabled, the data is kept in /var/log/sysstat/ (or in SA_DIR, as set in the sysstat configuration) and rotated according to HISTORY.
Recent versions of sadf can turn that data into an SVG image. Generated by cron and copied to a web server, it gives a quick view of the day without installing any monitoring stack:
#!/bin/sh
# daily SVG report: memory, load, disk sda, swap, network, CPU, frequency, temperature
sadf -g /var/log/sysstat/sa$(date +%d) -O showinfo,skipempty -T -- \
-r -w -q -dp --dev=sda -S -n DEV -n EDEV -P all -m CPU,FREQ,TEMP,IN \
> /var/www/monitoring/$(hostname)_$(date +%y%m%d).svg
The original version also renamed the temperature sensors with sed (coretemp-isa-0000 → CPU 1, CPU 2…) and uploaded the file with curl -T over SFTP. Each sadf option (-r memory, -q load, -d disks, -n DEV network, -m TEMP sensors…) becomes one chart in the same SVG.