more explicit check

This commit is contained in:
mwiegand 2022-08-11 11:27:44 +02:00
parent f131b368e8
commit e0eafdac5d

View file

@ -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