From owner-freebsd-questions Thu Nov 8 18:35:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp006pub.verizon.net (smtp006pub.verizon.net [206.46.170.185]) by hub.freebsd.org (Postfix) with ESMTP id CE61F37B417 for ; Thu, 8 Nov 2001 18:35:31 -0800 (PST) Received: from spike (calnet3-19.gtecablemodem.com [207.175.226.19]) by smtp006pub.verizon.net with ESMTP for ; id fA92ZU800048 Thu, 8 Nov 2001 20:35:30 -0600 (CST) From: "Spike" To: freebsd-questions@FreeBSD.ORG Date: Thu, 8 Nov 2001 18:33:08 -0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: problem using ps and grep Reply-To: spike42@gte.net Message-ID: <3BEACFE4.18810.789385@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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