STRUCT GNET_STATS_RATE_EST64(9)
π 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 thingppsβ 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms