Re: Inetd

2000-10-12 Thread Bob Miller

Bob Crandell wrote:

> This line is at the top of /etc/inetd.conf:
> "To re-configure the running INETD process, edit this file, then
> send the INETD process a SIGHUP signal."
> 
> How do you send the inetd process a SIGHUP signal from the
> command line?  Man inetd doesn't mention it.
> Is it done differently from different distributions?

Others have discussed "ps ax ; kill -HUP 234" (and discussed it to
death, and made bad puns).

The easier, all at once way is to use killall.

# killall -HUP inetd

killall finds the process named inetd and sends it a SIGHUP.

-- 
K
[EMAIL PROTECTED], http://www.jogger-egg.com/




Re: Inetd

2000-10-12 Thread Seth Cohn

> At 11:28 AM 10/12/00 -0700, Seth Cohn <[EMAIL PROTECTED]> wrote:
> >Nope, sighup means 'reset yourself, reload, rerun'
> >you don't need to rerun inetd.

Ralph Zeller wrote:
> 
> Like at the Country Faire...

Yeah like the Country Faire, Kip Kinkel, and Summer TV. (oh that was
bad...)




Re: Inetd

2000-10-12 Thread Bob Crandell

I've learned that if I don't move my mouse, I don't have to
reboot as often.

>>> [EMAIL PROTECTED] 10/12/2000 2:52:25 PM >>>
Like at the Country Faire...

At 11:28 AM 10/12/00 -0700, Seth Cohn <[EMAIL PROTECTED]>
wrote:
>Nope, sighup means 'reset yourself, reload, rerun'
>you don't need to rerun inetd.
>
-clip

>sending a SIGHUP is one advantage to unix.  The Windows
equivalent is
>'You need to reboot'
>
>Seth
>




Re: Inetd

2000-10-12 Thread Ralph Zeller

Like at the Country Faire...

At 11:28 AM 10/12/00 -0700, Seth Cohn <[EMAIL PROTECTED]> wrote:
>Nope, sighup means 'reset yourself, reload, rerun'
>you don't need to rerun inetd.
>
-clip

>sending a SIGHUP is one advantage to unix.  The Windows equivalent is
>'You need to reboot'
>
>Seth
>




Re: Inetd

2000-10-12 Thread Seth Cohn

Bob Crandell wrote:
> 
> Does "kill -HUP pid#" equal SIGHUP?

by pid#, rob meant the process ID#  so yes... kill -HUP 234 would send a
kill -HUP to process 234

-HUP means send the SIGHUP (SIGnal HangUP), instead of a 'kill signal'

try man kill for a list of other signals you can send...

> I just type "inetd" to restart it?

Nope, sighup means 'reset yourself, reload, rerun'
you don't need to rerun inetd.

> | This line is at the top of /etc/inetd.conf:
> | "To re-configure the running INETD process, edit this file,
> then
> | send the INETD process a SIGHUP signal."
> |
> | How do you send the inetd process a SIGHUP signal from the
> | command line?  Man inetd doesn't mention it.
> | Is it done differently from different distributions?

actually, it's done the same in almost all distros, Linux or not...
sending a SIGHUP is one advantage to unix.  The Windows equivalent is
'You need to reboot'

Seth




Re: Inetd

2000-10-12 Thread Rob Hudson

I believe it is the same.  the -HUP tells the daemon to re-read it's
config files and start anew.

Bob Crandell said these things on 20001012.1209:
| Does "kill -HUP pid#" equal SIGHUP?
| I just type "inetd" to restart it?
| 
| Thanks
| 
| >>> [EMAIL PROTECTED] 10/12/2000 11:39:04 AM >>>
| Do a 'ps ax' and find the line that has 'inetd' in it.  Find the
| pid
| (process ID) number, then type 'kill -HUP pid#'.
| 
| -Rob
| 
| Bob Crandell said these things on 20001012.1140:
| | This line is at the top of /etc/inetd.conf:
| | "To re-configure the running INETD process, edit this file,
| then
| | send the INETD process a SIGHUP signal."
| | 
| | How do you send the inetd process a SIGHUP signal from the
| | command line?  Man inetd doesn't mention it.
| | Is it done differently from different distributions?
| | 
| | Thanks to any and all alike.




Re: Inetd

2000-10-12 Thread Bob Crandell

Does "kill -HUP pid#" equal SIGHUP?
I just type "inetd" to restart it?

Thanks

>>> [EMAIL PROTECTED] 10/12/2000 11:39:04 AM >>>
Do a 'ps ax' and find the line that has 'inetd' in it.  Find the
pid
(process ID) number, then type 'kill -HUP pid#'.

-Rob

Bob Crandell said these things on 20001012.1140:
| This line is at the top of /etc/inetd.conf:
| "To re-configure the running INETD process, edit this file,
then
| send the INETD process a SIGHUP signal."
| 
| How do you send the inetd process a SIGHUP signal from the
| command line?  Man inetd doesn't mention it.
| Is it done differently from different distributions?
| 
| Thanks to any and all alike.




Re: Inetd

2000-10-12 Thread Rob Hudson

Do a 'ps ax' and find the line that has 'inetd' in it.  Find the pid
(process ID) number, then type 'kill -HUP pid#'.

-Rob

Bob Crandell said these things on 20001012.1140:
| This line is at the top of /etc/inetd.conf:
| "To re-configure the running INETD process, edit this file, then
| send the INETD process a SIGHUP signal."
| 
| How do you send the inetd process a SIGHUP signal from the
| command line?  Man inetd doesn't mention it.
| Is it done differently from different distributions?
| 
| Thanks to any and all alike.




Inetd

2000-10-12 Thread Bob Crandell

This line is at the top of /etc/inetd.conf:
"To re-configure the running INETD process, edit this file, then
send the INETD process a SIGHUP signal."

How do you send the inetd process a SIGHUP signal from the
command line?  Man inetd doesn't mention it.
Is it done differently from different distributions?

Thanks to any and all alike.