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.

link|improve this question
feedback

2 Answers

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.

link|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
feedback

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

pslist -t apache
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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