#
# pcp-dstat(1) configuration file - see pcp-dstat(5)
#

[top-bio]
label = most expensive
top = rate(proc.io.read_bytes) + rate(proc.io.write_bytes)
top.label = block I/O process
width = 25
grouptype = 4
cmd = proc.psinfo.cmd
cmd.width = 13
read = proc.io.read_bytes
read.width = 5
read.printtype = d
read.colorstep = 1024
write = proc.io.write_bytes
write.width = 5
write.printtype = d
write.colorstep = 1024

[top-bio-adv]
label = most expensive block I/O process
top = rate(proc.io.read_bytes) + rate(proc.io.write_bytes)
top.label = process              pid  read write cpu
width = 40
grouptype = 4
cmd = proc.psinfo.cmd
cmd.width = 15
pid = proc.psinfo.pid
pid.width = 8
pid.printtype = d
read = proc.io.read_bytes
read.width = 5
read.printtype = d
read.colorstep = 1024
write = proc.io.write_bytes
write.width = 5
write.printtype = d
write.colorstep = 1024
cpu = ((rate(proc.psinfo.utime) + rate(proc.psinfo.stime)) / hinv.ncpu)
cpu.width = 3
cpu.printtype = f
cpu.colorstep = 34
