|
|
pppstat sends a PPP status request to pppd(ADMN) through a socket and then waits for pppd to return PPP status. pppd transmits and receives messages through a Unix Domain Socket, /usr/lib/ppp/PPP_ADDR. pppstat waits for the response for four seconds before it times out.
pppstat provides statistics regarding packets transferred and packet errors. It gives the number of times the following errors have occurred in received packets: bad Frame Check Sequence (FCS), bad address field, bad control field, and bad protocol field. It further shows the number of packets received for which the previous content was good, but which had a bad id field or which were loopback packets. pppstat also contains the number of connections established, closed, inbound requested, and outbound requested. The number of PPP authentication failures and PPP state table errors are also displayed.