An amazingly simple way to generate a graphic file--from a bash script, even:
https://www.vidarholen.net/contents/blog/?p=904
This is a family server