Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have several apache instances and need a way of accurately associating each process with a given configuration for performance monitoring, setting processor affinity, etc.

These actions against the child process will be done with scripts, so I'm looking for a command-line tool or way of configuring apache to dump the child PID to a file.

share|improve this question

I'd suggest Process Explorer. Microsoft acquired sysinternals that originally created it along with other great products a lot of us System/Network Admins love, pstools.

share|improve this answer
I'm looking for a way of getting the PID to be used by management scripts. – Manfre Apr 8 '11 at 12:43

Try with PsList or another "dos" tools, always from sysinternals.

pslist -t apache
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.