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.


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.

| 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
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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