Unix administration - mapping an httpd PID with a domain name

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > December 2005 > mapping an httpd PID with a domain name





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author mapping an httpd PID with a domain name
jean-francois

2005-12-24, 5:56 pm

Is is possible to map the PIDs that the "ps" command give me (when it
concern httpd process for an apache server) with a specific domain?
There is a few domains on the same server and I would need to know for
every process if it has been launched for domain 'X' or domain 'Y'...

jpd

2005-12-24, 8:48 pm

Begin <1135468419.328469.127880@g44g2000cwa.googlegroups.com>
On 2005-12-24, jean-francois <jfbeaulieu2003@yahoo.com> wrote:
> Is is possible to map the PIDs that the "ps" command give me (when it
> concern httpd process for an apache server) with a specific domain?
> There is a few domains on the same server and I would need to know for
> every process if it has been launched for domain 'X' or domain 'Y'...


Please don't multipost. I just gave you an answer in comp.unix.questions.


--
j p d (at) d s b (dot) t u d e l f t (dot) n l .
This message was originally posted on Usenet in plain text.
Any other representation, additions, or changes do not have my
consent and may be a violation of international copyright law.
Michael Heiming

2005-12-25, 7:47 am

In comp.unix.admin jpd <read_the_sig@do.not.spam.it.invalid>:
> Begin <1135468419.328469.127880@g44g2000cwa.googlegroups.com>
> On 2005-12-24, jean-francois <jfbeaulieu2003@yahoo.com> wrote:
[vbcol=seagreen]
> Please don't multipost. I just gave you an answer in comp.unix.questions.


Is there any ng this wasn't mulitposted? Just answered in
comp.os.linux.misc and probably saw it in a few other ngs?

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | PERL -pe 'y/a-z/n-za-m/'
#bofh excuse 375: Root name servers corrupted.
Dave Hinz

2005-12-26, 3:14 am

On 24 Dec 2005 15:53:39 -0800, jean-francois <jfbeaulieu2003@yahoo.com> wrote:
> Is is possible to map the PIDs that the "ps" command give me (when it
> concern httpd process for an apache server) with a specific domain?
> There is a few domains on the same server and I would need to know for
> every process if it has been launched for domain 'X' or domain 'Y'...


Doesn't it show which httpd.conf it's using? Set each up as a different
..conf file, map as many IPs to the interface as you want, and each of
'em listen on their "own" IP.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com