Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2001 18:33:08 -0800
From:      "Spike" <spike42@gte.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   problem using ps and grep
Message-ID:  <3BEACFE4.18810.789385@localhost>

next in thread | raw e-mail | index | archive | help
hi

im running freebsd on a web server and when i add a new domain to the server i need to restart 
httpd

i have been using the command "kill -1 pid"

to get the "pid" i use "ps aux | grep httpd"

for some reason the ps grep command does not work anymore

the first time i issue the command it returns 1 line that displays the pid for the command i just 
entered

if i do it again i get nothing

is there another way to get the pid for httpd?

or

is there another way to make httpd "re-read" its .conf file so i dont have to restart it?

thanks

bob
=======================
Web9000 Network
The Internets Elite Business Network
Business & Educational Resources
Free Webhosting for Members
http://www.web9000.com
cadmin@web9000.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BEACFE4.18810.789385>