Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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.