2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

assigned but unused variable

This commit is contained in:
linyows 2014-04-18 10:14:15 +09:00
parent 1f00275d4e
commit fd3a90f22f

View File

@ -49,7 +49,7 @@ module Munin
ps_output = `ps auxw | grep unicorn`
ps_output.split("\n").each do |line|
chunks = line.strip.split(/\s+/, 11)
pid, pmem_rss, pcmd = chunks.values_at(1, 5, 10)
pid, pmem_rss, _ = chunks.values_at(1, 5, 10)
pmem = pmem_rss.to_i * 1024
pid = pid.to_i