mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
use "unicorn" instead of "unicorn_rails" in process greping
This commit is contained in:
parent
2e556e9d07
commit
f6b9d755d3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue