mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
use "unicorn" instead of "unicorn_rails" in process greping
This commit is contained in:
parent
2e556e9d07
commit
f6b9d755d3
@ -46,7 +46,7 @@ module Munin
|
||||
|
||||
def memory_usage
|
||||
result = { :master => {master_pid => nil}, :worker => {} }
|
||||
ps_output = `ps auxw | grep unicorn_rails`
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user