mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
assigned but unused variable
This commit is contained in:
parent
1f00275d4e
commit
fd3a90f22f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue