The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [pgrep]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
65 views

pgrep search multiple words

I'm using pgrep to find running processes having some words > pgrep -f "otp" 2345 2343 More than one process is identified. There is another word in the command line that would help me zero in to ...
0
votes
1answer
2k views

How can I find a specific PHP process with pgrep (monit related)

I've got a number of php processes that I'm running in the background, with monit as the manager for them. My current config for monit looks like: check process myprocess1 matching "process1....
3
votes
2answers
2k views

puppet onlyif with pgrep does not work

I want to use an exec in puppet onlyif its process is NOT running exec { "execute me": onlyif => "pgrep -fc 'ruby execute.rb'", command => "execute me", } So on the above case, if ...
3
votes
2answers
518 views

pgrep wget: what is the details of process id?

when typing pgrep wget, it show process id 10144 but how to know what is the details of this process id
5
votes
2answers
3k views

Is this many Apache instances normal?

We run Apache version 2.2.8-1ubuntu0.15 on our VPS instance of Ubuntu 8.04.4 LTS \n \l, as I determined by asking this question. When I issue pgrep apache2, I get the following: 2691 24517 25330 ...