Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'No need to use ps at all!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
No need to use ps at all!
Authored by: pmerrison on Jun 02, '02 05:30:20AM

The pid of the pppd process is automatically stored in a file by the pppd. If you type less /var/run/pppd0.pid you can see it (obviously this will only work if pppd is currently running). If for some reason you have more than one pppd running, their ids are stored in pppd1.pid, pppd2.pid etc..



[ Reply to This | # ]