STRUCT GNET_STATS_RATE_EST64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct gnet_stats_rate_est64(9) β€” Kernel API Manual πŸ’…

okay bestie, so this is a page straight out of the Kernel API Manual and it's literally about a rate estimator?? like, the little struct that keeps track of how fast your bytes and packets are moving πŸƒβ€β™€οΈπŸ’¨ ngl it's short, it's sweet, it's giving tiny-but-iconic. let's get into it ✨


🌸 NAME 🌸

struct gnet_stats_rate_est64 β€” the rate estimator. that's it, that's the whole vibe πŸŽ€


✨ SYNOPSIS ✨

bestie, here's the whole entire struct, no cap, copy it exactly:

struct gnet_stats_rate_est64 {
    __u64 bps;
    __u64 pps;
 };

like… two fields. two. and honestly? she ate. πŸ’…


🫢 Members 🫢

  • bps β€” the current byte rate πŸ”₯ like how many bytes per second are flowing rn, that's the whole thing
  • pps β€” the current packet rate πŸ¦‹ how many packets per second, yes ma'am, tracked separately
fr fr these are current rates, okay? present tense. don't come for me with historical data, that's not what this struct is about πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

you want the whole friend group? here's the whole friend group, bestie:

  • Kernel file ./include/uapi/linux/gen_stats.h β€” the home base, the main character energy source πŸ“
  • struct gnet_stats_basic(9)
  • struct gnet_stats_rate_est(9)
  • struct gnet_stats_queue(9)
  • struct gnet_estimator(9)

go read those too, iykyk πŸ’œ


and that's the page!! 🌈 source/version is ./include/uapi/linux, dated October 2026, and the header name was struct gnet_...s_rate_est64(9) in case you were wondering β€” okay ily bye, go estimate some rates ✨🫢

πŸ“¦ where this page comes from