According to Nuno Carvalho: While burning my CPU.
> 
> Selva Nair wrote:
> 
> > You need to edit  /etc/inetd.conf to comment out  unwanted
> > services. Then force inetd to re read the config file by sending
> > SIGHUP to it i.e. `kill -HUP  pid-of-inetd`
> > You can get pid of inetd using ps or simply cat it from /etc/inetd.pid
> > (some systems have it in /var/run/inetd.pid, though).
> 
>   killall -HUP inetd
> 
>  also works.

yep, but a killall to inetd might actualy kill some child process, not all
programs can handel kill -HUP.
A beter way indeed a linux way is;

kill -HUP `pidof inetd`
Note the insission marks before and after "pidof".

> 
>  Best regards,
>    Nuno Carvalho
> 
> ������������������������������
>    Nuno Emanuel F. Carvalho
>  Dep. Informatics Engineering
>     University of Coimbra
> 
>   PGP key available at finger
> ������������������������������
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to