Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 1997 12:38:10 +0300
From:      Ari Suutari <ari.suutari@ps.carel.fi>
To:        "'Wayne Baety'" <mrfoine@enteract.com>
Cc:        "'Brian Somers'" <brian@awfulhak.org>, Mark Tinguely <tinguely@plains.NoDak.edu>, "freebsd-hackers@FreeBSD.ORG" <freebsd-hackers@FreeBSD.ORG>
Subject:   RE: /var/run/natd.pid request 
Message-ID:  <01BC772D.7D5DBC60@ari.suutari@ps.carel.fi>

next in thread | raw e-mail | index | archive | help
Hi,

On 12. kesakuuta 1997 11:41, Wayne Baety [SMTP:mrfoine@enteract.com] wrote:
> 
> 
> Well this is what i did a while back and needed the PID of natd....I think
> it requires procfs for the grepping of /proc thou.... I Just attached all
> of my cfg files for pppd..etc.  Not sure if this was the best
> solution....but it worked for me.  Also there is a script to return the
> pidof of a process by name....for the first match it prints just the PID
> but any other matches aren't parsed and status information is printed in
> the whole.....was a nice little script to get the PID of a named process
> quickly w/o using ps.....since at the time ps was crashing my -current.
> 
> 

	I browsed through your scripts:

	The reason why neither SIGHUP or -dynamic would work
	for you is that you use -alias_address option. Dynamic features work
	only if you give the name of interface (with -interface) option instead
	of using -alias_address.

		Ari S.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01BC772D.7D5DBC60>