Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcdonell committed Apr 21, 2024
2 parents 3bfb4b8 + 1dd0664 commit 688480f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/pmrep/conf/proc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ instinfo = no
unitinfo = no
precision = 2
repeat_header = auto
ignore_incompat = yes
proc.psinfo.pid = PID,,,,7
proc.psinfo.cmd = Command,,,,12
cpupct = proc.psinfo.cpu.pct
Expand Down Expand Up @@ -77,7 +78,12 @@ iotot.unit = KB/s
iotot.width = 8
net = bpf.proc.net.total.bytes
net.label = Net KB/s
net.formula = bpf.proc.net.tcp.recv.bytes + bpf.proc.net.tcp.send.bytes + bpf.proc.net.udp.recv.bytes + bpf.proc.net.udp.send.bytes
net.formula =
defined(bpf.proc.net.tcp.recv.bytes)
?
bpf.proc.net.tcp.recv.bytes + bpf.proc.net.tcp.send.bytes + bpf.proc.net.udp.recv.bytes + bpf.proc.net.udp.send.bytes
:
novalue()
net.unit = KB/s
net.width = 8

Expand Down

0 comments on commit 688480f

Please sign in to comment.