Click to See Complete Forum and Search --> : restart string without rebooting! What's the command?


npereira
08-20-2001, 10:17 AM
I re-installed apache and i was wondering what the command is to kill the ID process and re-initiate the strings??

Is there a way to find out what apache's process ID was so i can kill it without rebooting???

mangeli
08-20-2001, 10:23 AM
For apache its:
Stopping:
/usr/local/apache/bin/apachectl stop

Starting:
/usr/local/apache/bin/apachectl start

Just replace the /usr/local/apache/bin part with the location of you apache/bin folder.

npereira
08-20-2001, 10:31 AM
no!

That is not what i mean....

I have deleted the folder "/usr/local/apache"

Now i am re-installing it. somewhere it said to "kill Process ID"

What is the command for this and how do i find out the Process ID list of all programs initiated at boot up???

Sorry if this was'nt explained properly!

Fimbulvetr
08-20-2001, 10:43 AM
is it apachectl graceful ?

Rob 'Feztaa' Park
08-20-2001, 02:43 PM
You want to type either "ps aux" into the console, or "top". both will tell you the PIDs of running processes.

mangeli
08-20-2001, 04:38 PM
Killall httpd

will kill all the instances of httpd that you have running. (Though you should have stoped them before you deleted the folder.)