|
From: Volker F. <vol...@gm...> - 2013-10-15 11:10:45
|
On 10/15/2013 12:38 PM, Horacio Sanson wrote: > I am trying to create a proc.num item to check if my sidekiq processes > [1] are running on my worker servers but I am unable to get it to work. > > I tried several combinations of proc.num[sidekiq,,,] to no avail. The > issue I believe is that the ps output of sidekiq does not show the > command used to invoke the process. In my servers (Ubuntu 12.04 LTS) the > output of ps shows this: > > ######################################################### > $ ps -ef | grep sidekiq > sidekiquser 43373 0.1 6.2 767768 106776 ? Sl Oct11 8:45 sidekiq 2.11.2 > myapp [0 of 16 busy] > ######################################################### > > What should I put on the proc.num to get this process count? Take a look at /proc/xxx/cmdline and consult the documentation on how to use that. Volker > regards, > Horacio |