PPPSTATS(8)

πŸ“¦
version 2.5.5 Β· 2 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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.
  • -c count β€” Repeat the display count times. If this option is not specified, the default repeat count is 1 if the -w option 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.
  • -w wait β€” Pause wait seconds between each display. If this option is not specified, the default interval is 5 seconds.
  • -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 -r option is specified.
  • VJERR β€” The number of corrupted or bogus header-compressed TCP packets received by this interface. Not reported when the -r option 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 -v option is specified.
  • NON-VJ β€” The total number of non-TCP packets received by this interface. Only reported when the -v option 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 -r option is specified.
  • UBYTE β€” The total number of bytes received, after decompression of compressed packets. Only reported when the -r option 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 -r option is specified.
  • NON-VJ β€” The total number of non-TCP packets transmitted from this interface. Not reported when the -r option is specified.
  • VJSRCH β€” The number of searches for the cached header entry for a VJ header compressed TCP packet. Only reported when the -v option is specified.
  • VJMISS β€” The number of failed searches for the cached header entry for a VJ header compressed TCP packet. Only reported when the -v option 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 -r option is specified.
  • UBYTE β€” The total number of bytes to be transmitted, before packet compression is applied. Only reported when the -r option 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