PPPSTATS(8)
π PPPSTATS π
okay bestie, gather round, because we're talking about pppstats, a whole member of the System Manager's Manual squad (section 8, the big-kid section, we love her). She prints PPP statistics. That's the whole vibe. Let's get into it. π
β¨ SYNOPSIS β¨
pppstats [ -a ] [ -d ] [ -v ] [ -r ] [ -z ] [ -c <count> ] [ -w <secs> ]
[ interface ]
that's it, that's the whole incantation, no cap β¨
πΈ DESCRIPTION πΈ
so like, the pppstats utility reports PPP-related statistics at regular intervals for the PPP interface you point at. Didn't name an interface? No stress, she defaults to ppp0. periodt. π
The display splits horizontally into an input section and an output section, and those sections hold columns of statistics describing the properties and volume of packets received and transmitted by the interface. it's giving spreadsheet but make it serve π¦
The options are as follows:
π OPTIONS π
-aβ Display absolute values rather than deltas. With this option, all reports show statistics for the time since the link was initiated. Without it, the second and subsequent reports show statistics for the time since the last report. (delta girlies vs absolute girlies, both valid π)-dβ Show data rate (kB/s) instead of bytes. slay, units.-ccount β Repeat the display count times. If this option is not specified, the default repeat count is1if the-woption is not specified, otherwise infinity. π₯ (infinity is not a drill)-rβ Display additional statistics summarizing the compression ratio achieved by the packet compression algorithm in use.-vβ Display additional statistics relating to the performance of the Van Jacobson TCP header compression algorithm. iconic algorithm, honestly.-wwait β Pause wait seconds between each display. If this option is not specified, the default interval is5seconds.-zβ Instead of the standard display, show statistics indicating the performance of the packet compression algorithm in use.
π THE INPUT SIDE FIELDS π
The following fields are printed on the input side when the -z option is not used:
INβ The total number of bytes received by this interface.PACKβ The total number of packets received by this interface.VJCOMPβ The number of header-compressed TCP packets received by this interface.VJUNCβ The number of header-uncompressed TCP packets received by this interface. Not reported when the-roption is specified.VJERRβ The number of corrupted or bogus header-compressed TCP packets received by this interface. Not reported when the-roption is specified.VJTOSSβ The number of VJ header-compressed TCP packets dropped on reception by this interface because of preceding errors. Only reported when the-voption is specified.NON-VJβ The total number of non-TCP packets received by this interface. Only reported when the-voption is specified.RATIOβ The compression ratio achieved for received packets by the packet compression scheme in use, defined as the uncompressed size divided by the compressed size. Only reported when the-roption is specified.UBYTEβ The total number of bytes received, after decompression of compressed packets. Only reported when the-roption is specified.
π THE OUTPUT SIDE FIELDS π
The following fields are printed on the output side:
OUTβ The total number of bytes transmitted from this interface.PACKβ The total number of packets transmitted from this interface.VJCOMPβ The number of TCP packets transmitted from this interface with VJ-compressed TCP headers.VJUNCβ The number of TCP packets transmitted from this interface with VJ-uncompressed TCP headers. Not reported when the-roption is specified.NON-VJβ The total number of non-TCP packets transmitted from this interface. Not reported when the-roption is specified.VJSRCHβ The number of searches for the cached header entry for a VJ header compressed TCP packet. Only reported when the-voption is specified.VJMISSβ The number of failed searches for the cached header entry for a VJ header compressed TCP packet. Only reported when the-voption is specified.RATIOβ The compression ratio achieved for transmitted packets by the packet compression scheme in use, defined as the size before compression divided by the compressed size. Only reported when the-roption is specified.UBYTEβ The total number of bytes to be transmitted, before packet compression is applied. Only reported when the-roption is specified.
π§ THE -z ERA π§
When the -z option is specified, pppstats instead displays the following fields, relating to the packet compression algorithm currently in use.
if packet compression is not in use, these fields will all display zeroes. just zeroes. nothing to see. π
πΈ the -z input side πΈ
COMPRESSED BYTEβ The number of bytes of compressed packets received.COMPRESSED PACKβ The number of compressed packets received.INCOMPRESSIBLE BYTEβ The number of bytes of incompressible packets (that is, those which were transmitted in uncompressed form) received.INCOMPRESSIBLE PACKβ The number of incompressible packets received.COMP RATIOβ The recent compression ratio for incoming packets, defined as the uncompressed size divided by the compressed size (including both compressible and incompressible packets).
π the -z output side π
COMPRESSED BYTEβ The number of bytes of compressed packets transmitted.COMPRESSED PACKβ The number of compressed packets transmitted.INCOMPRESSIBLE BYTEβ The number of bytes of incompressible packets transmitted (that is, those which were transmitted in uncompressed form).INCOMPRESSIBLE PACKβ The number of incompressible packets transmitted.COMP RATIOβ The recent compression ratio for outgoing packets.
π SEE ALSO π
and that's the whole page, bestie π«Ά this one's from the System Manager's Manual, and it was dated 26 June 1995 β like, vintage vintage β and yeah, the footer just says PPPSTATS(8) again because she loves a little signature moment. mwah π
π
π¦ where this page comes from
- alpine 3.22: ppp-doc 2.5.2-r0 Β· BSD-3-Clause AND BSD-4-Clause AND BSD-4-Clause-Shortened AND GPL-2.0-or-later AND HPND AND LGPL-2.0-or-later AND Public-Domain AND RSA-MD
- alpine 3.23: ppp-doc 2.5.2-r1 Β· BSD-3-Clause AND BSD-4-Clause AND BSD-4-Clause-Shortened AND GPL-2.0-or-later AND HPND AND LGPL-2.0-or-later AND Public-Domain AND RSA-MD
- alpine 3.24: ppp-doc 2.5.3-r0 Β· BSD-3-Clause AND BSD-4-Clause AND BSD-4-Clause-Shortened AND GPL-2.0-or-later AND HPND AND LGPL-2.0-or-later AND Public-Domain AND RSA-MD
- arch rolling: ppp 2.5.4-1
- arch rolling: ppp 2.5.4-2 Β· GPL-2.0-or-later AND BSD-3-Clause
- arch rolling: ppp 2.5.5-1 Β· GPL-2.0-or-later AND BSD-3-Clause
- debian trixie: ppp 2.5.2-1+1
- nixos 26.05: ppp 2.5.2
- nixpkgs unstable: ppp 2.5.2
- opensuse-leap 16.0: ppp 2.5.2-160000.2.2 Β· BSD-3-Clause AND LGPL-2.1-or-later AND GPL-2.0-or-later
- opensuse-leap 16.0: ppp 2.5.2-160000.2.2 Β· BSD-3-Clause AND LGPL-2.1-or-later AND GPL-2.0-or-later
- opensuse-leap 16.0: ppp 2.5.2-160000.2.2 Β· BSD-3-Clause AND LGPL-2.1-or-later AND GPL-2.0-or-later
- opensuse-leap 16.0: ppp 2.5.2-160000.2.2 Β· BSD-3-Clause AND LGPL-2.1-or-later AND GPL-2.0-or-later
- ubuntu questing: ppp 2.5.2-1+1.1
- ubuntu resolute: ppp 2.5.2-1+1.2
- ubuntu stonking: ppp 2.5.2-1+2build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms