more explicit check
This commit is contained in:
parent
f131b368e8
commit
e0eafdac5d
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ Dir.entries(dir).each do |entry|
|
|||
end
|
||||
|
||||
result.each do |comm, (r, w)|
|
||||
if r + w > 0
|
||||
if r > 0 && w > 0
|
||||
puts %(procio,comm="#{comm}" read_bytes=#{r},write_bytes=#{w} #{time})
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue