upsimage (8) - Linux Man Pages
upsimage: Image-generating helper for upsstats.cgi
NAMEupsimage.cgi - Image-generating helper for upsstats.cgi
NOTEAs a CGI program, this should be invoked through your web server. If you run it from the command line, it will either complain about unauthorized access or spew a PNG at you.
DESCRIPTIONupsimage.cgi generates the graphical bars that make up the right side of the page generated by upsstats.cgi(8). These represent the current battery charge, utility voltage, and UPS load where available.
The images are in PNG format, and are created by linking to Boutell's excellent gd library.