Editing: mpstat.conf
# # pmrep(1) configuration file - see pmrep.conf(5) # # Compact metric specifications are of form (see pmrep(1)): #pcp.metric.name = label,instances,unit/scale,type,width,precision,limit # # Mimic assorted mpstat(1) reports # [mpstat] header = yes unitinfo = no globals = no timestamp = yes precision = 2 delimiter = " " repeat_header = auto colxrow = " CPU" vuser = %%usr,,,,7 vuser.formula = 100 * rate(kernel.all.cpu.vuser) / hinv.ncpu vnice = %%nice,,,,7 vnice.formula = 100 * rate(kernel.all.cpu.vnice) / hinv.ncpu sys = %%sys,,,,7 sys.formula = 100 * rate(kernel.all.cpu.sys) / hinv.ncpu wait = %%iowait,,,,7 wait.formula = 100 * rate(kernel.all.cpu.wait.total) / hinv.ncpu hardirq = %%irq,,,,7 hardirq.formula = 100 * rate(kernel.all.cpu.irq.hard) / hinv.ncpu softirq = %%soft,,,,7 softirq.formula = 100 * rate(kernel.all.cpu.irq.soft) / hinv.ncpu steal = %%steal,,,,7 steal.formula = 100 * rate(kernel.all.cpu.steal) / hinv.ncpu guest = %%guest,,,,7 guest.formula = 100 * rate(kernel.all.cpu.guest) / hinv.ncpu guest_nice = %%gnice,,,,7 guest_nice.formula = 100 * rate(kernel.all.cpu.guest_nice) / hinv.ncpu aidle = kernel.all.cpu.idlep aidle.label = %%idle aidle.formula = 100 * kernel.all.cpu.idle / hinv.ncpu aidle.unit = s aidle.width = 7 [mpstat-I-SUM] header = yes unitinfo = no globals = no timestamp = yes precision = 2 delimiter = " " repeat_header = auto colxrow = " CPU" kernel.all.intr = intr/s,,,,9 [mpstat-P-ALL] header = yes unitinfo = no globals = no timestamp = yes precision = 2 delimiter = " " repeat_header = auto colxrow = " CPU" vuser = %%usr,,,,7 vuser.formula = 100 * rate(kernel.all.cpu.vuser) / hinv.ncpu vnice = %%nice,,,,7 vnice.formula = 100 * rate(kernel.all.cpu.vnice) / hinv.ncpu sys = %%sys,,,,7 sys.formula = 100 * rate(kernel.all.cpu.sys) / hinv.ncpu wait = %%iowait,,,,7 wait.formula = 100 * rate(kernel.all.cpu.wait.total) / hinv.ncpu hardirq = %%irq,,,,7 hardirq.formula = 100 * rate(kernel.all.cpu.irq.hard) / hinv.ncpu softirq = %%soft,,,,7 softirq.formula = 100 * rate(kernel.all.cpu.irq.soft) / hinv.ncpu steal = %%steal,,,,7 steal.formula = 100 * rate(kernel.all.cpu.steal) / hinv.ncpu guest = %%guest,,,,7 guest.formula = 100 * rate(kernel.all.cpu.guest) / hinv.ncpu guest_nice = %%gnice,,,,7 guest_nice.formula = 100 * rate(kernel.all.cpu.guest_nice) / hinv.ncpu aidle = kernel.all.cpu.idlep aidle.label = %%idle aidle.formula = 100 * kernel.all.cpu.idle / hinv.ncpu aidle.unit = s aidle.width = 7 puser = kernel.percpu.util.vuser puser.label = %%usr puser.formula = 100 * rate(kernel.percpu.cpu.vuser) puser.width = 7 pnice = kernel.percpu.util.nice pnice.label = %%nice pnice.formula = 100 * rate(kernel.percpu.cpu.nice) pnice.width = 7 psys = kernel.percpu.util.sys psys.label = %%sys psys.formula = 100 * rate(kernel.percpu.cpu.sys) psys.width = 7 pwait = kernel.percpu.util.wait pwait.label = %%iowait pwait.formula = 100 * rate(kernel.percpu.cpu.wait.total) pwait.width = 7 pintr = kernel.percpu.util.hard pintr.label = %%irq pintr.formula = 100 * rate(kernel.percpu.cpu.irq.hard) pintr.width = 7 psoft = kernel.percpu.util.soft psoft.label = %%soft psoft.formula = 100 * rate(kernel.percpu.cpu.irq.soft) psoft.width = 7 psteal = kernel.percpu.util.steal psteal.label = %%steal psteal.formula = 100 * rate(kernel.percpu.cpu.steal) psteal.width = 7 pguest = kernel.percpu.util.guest pguest.label = %%guest pguest.formula = 100 * rate(kernel.percpu.cpu.guest) pguest.width = 7 pgnice = kernel.percpu.util.guest_nice pgnice.label = %%gnice pgnice.formula = 100 * rate(kernel.percpu.cpu.guest_nice) pgnice.width = 7 pidle = kernel.percpu.percpu.idlep pidle.label = %%idle pidle.formula = 100 * rate(kernel.percpu.cpu.idle) pidle.width = 7
Save
Back