diff --git a/plugins/unicorn/unicorn_memory_status b/plugins/unicorn/unicorn_memory_status index 824622e9..9c7352bd 100755 --- a/plugins/unicorn/unicorn_memory_status +++ b/plugins/unicorn/unicorn_memory_status @@ -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)