#9 Axis scaling for CPU charts

closed
nobody
5
2010-09-14
2010-09-13
Mike Medved
No

It would be really nice if you could automatically scale the range axis to 0 - 100% on the CPU used graph. As it stand now, If you zoom out to get higher %s, you end up getting negative percentages on the graph as well, which really makes no sense in this context. Also, being able to change the scales independently for the used and idle graphs would be nice.

Discussion

    • status: open --> closed
     
  • HI,

    this is already possible, the Linux.xml file must be changed for that but it's really simple to do.

    modify you History.xml on the .ksarcfg in your home directory to add

    <OS>
    <OSType name="Linux">
    <Graph name="CPU" Title="CPU" type="multiple">
    <Stack Title="Used" size="3">
    <cols>%usr %user %nice %sys %iowait %steal %irq %soft %guest</cols>
    <range>0,100</range>
    </Stack>
    <Plot Title="Idle" size="1">
    <cols>%idle</cols>
    </Plot>
    </Graph>
    </OSType>
    </OS>

    juste before the </ConfiG>

    hope it helps