On Fri, 20 Aug 1999, Steve Youngs wrote:
> * Jack Barnett <[EMAIL PROTECTED]> wrote:
> > "1stFlight !" wrote:
> > >
> > > Hello,
> > >
> > > I've been trying to find info on how to restart daemons, can anyone
> > > help me in this area? Restarting the whole system is starting to get
> > > old. TIA
>
> > Short answer-)
> >
> > `ps -ef | grep "daemon"`
> >
> > it will return a number, do a
> >
> > `kill -HUP "whatever number it returned"`
> >
> > HUP starts for hangup, it hangs up and restarts,
> > resynces the process.
>
> Even shorter answer :-)
>
> kill -HUP `pidof name_of_daemon`
>
This will not always work, things like mountd nfsd and portmap do not
accept -HUP.
> --
> Regards, Steve Youngs <[EMAIL PROTECTED]> ICQ: 34307457
> ------------------------------------------------------------
> | __ |
> | Isn't it good to know that / / __ ___ __ ____ __ |
> | There _IS_ an alternative! / /__ / // _ \/ // /\ \/ / |
> | /____//_//_//_/\_,_/ /_/\_\ |
> ------------------------------------------------------------
--
Regards Richard
[EMAIL PROTECTED]