Dave,
in a shell script, the environment variable "$?" has the value of
the exit status of the last foreground command executed.
So if you find the script which runs pppd, then "echo $?" just after
it will show the pppd exit status.
Brian

At 10:58 AM 16/02/2000 +1100, Davo wrote:
>G'day folks,
>       just wondering if anyone can tell me how to find the exit status of a
>pppd process that has finished on our server. As many users log in to us, of
>course there are many pppd processes hanging around. Basically I would
like to
>know why the connection was dropped and it appears as though the exit status
>will reveal all.
>
>Any clues?
>
>Dave.
>
>--
>David Ryan - [EMAIL PROTECTED]    http://www.snowy.net.au
>Smart Radio Systems Phone: 02 64525555   Fax: 02 64524317
>Cooma, NSW 2630, Australia
>Secretary Cooma Bushfire Brigade
>--
>SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
>To unsubscribe send email to [EMAIL PROTECTED] with
>unsubscribe in the text
>
----------------------------------------------
Brian Martin, [EMAIL PROTECTED]
Future Software Pty Ltd, Sydney, Australia.


--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to