On 01/27/2016 06:12 AM, Jiri B wrote:
Hi,

I can't run multiple instances of httpd via rc.d as I can't distinguish
between httpd instances. ps aux never show flags passed to httpd.

Could httpd be extended to show flags like sshd does it?

root     15681  0.0  0.1  1196  2308 ??  Ssp   12:08PM    0:00.05 httpd: parent 
(httpd)

vs

root     17247  0.0  0.1   920  1376 ??  Ss    12:09PM    0:00.03 
/usr/sbin/sshd -f /etc/ssh/test_sshd_config

Or is there any other way to distinguish between two httpd instances?

j.


You could always run fstat(1) on the pid to see which ports it has open.

        - Aner

Reply via email to