[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: stopping and starting daemons...



Hi P,
try "ps aux" to see all the processes running, however deamons are better 
restarted using the approriate scripts in /etc/rc.d/.... They also take 
care of proper configurations, locks etc.....
The appropriate command would be 
    /etc/rc.d/init.d/httpd [stop|start|status|restart]
to stop, start, see the status or restart the httpd respectively.
Good luck,
                          Klaus

On Tue, 28 Apr 1998, Paul Brady wrote:
> 
> I am pretty familiar with UNIX but cannot figure out how to kill and
> restart the httpd daemon....or any other daemon for that matter....
> 
> I tried specifying the following:
> 
> ps -a
> 
> ps -ef
> 
> (both to see what is available)
> 
> And then I planned to use kill -9 pid
> 
> But when I invoke ps -a or ps -ef, none of the running daemons show
> up....I'm confused...I could swear this is the way it used to work...
> 
> How do I determine which daemons are running and how to stop and then
> restart them (if I want to restart em)???

           -------------------------------------------------------
          | Dr. Klaus Strahl             strahl lps umontreal ca  |
        /)| Universite de Montreal         1-(514) 343 6111-4202  |(\
       / )| member of the ATLAS collaboration  (DAQ, Simulation)  |( \
    __(  (|______________________PPL-ASEL/IR______________________|)  )__
   ((( \  \   / )                                           ( \   /  / )))
   (\\\ \  \_/  /                                           \  \_/  / ///)
    \          /                                             \          /
     \       _/                                               \_       /
     /      /                                                   \      \
    /      /                                  K.Strahl(1995-1998)\      \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]