Background
For easier use of ploticus the developer Stephen C. Grubb added in version 2.0
the -prefab option. Now, many types of data displays can be created quickly
from the command line using these prefabs. See the original
documentation on this very useful option.
Two easy adoptions on MPE/iX:
APACHE, 5 APPLICA, 34 APPLICB, 27 SYS, 10 SYSOP, 7 Other, 15 |
:SETVAR PLOTICUS_PREFABS "/usr/local/ploticus/prefabs"
:/usr/local/ploticus/bin/pl "-prefab pie -gif data=./DAT1 values=2 labels=1 &
colors=auto delim=comma title='Sessions/Account' -o /APACHE/pie.gif"
And finally enjoy this:
011001 19.170834 011002 19.570833 011003 18.233334 011004 19.295834 011005 18.591667 011008 18.449999 011009 19.783333 011010 19.008333 011011 18.379168 011012 18.920834 011015 17.841667 011016 20.495832 011017 18.283333 011018 19.258333 011019 18.975000 011022 18.987501 011023 18.675001 011024 18.250000 011025 23.558334 011026 25.158333 011029 19.570833 011030 18.965218 011031 15.387500 |
:SETVAR PLOTICUS_PREFABS "/usr/local/ploticus/prefabs"
:/usr/local/ploticus/bin/pl '-prefab chron -gif data=./DAT2 x=1 y=2 &
datefmt=yymmdd color=red title="CPUAverage/day" yrange=0 -o /APACHE/chron.gif'
And finally enjoy this: