get_avenrun(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ get_avenrun πŸŽ€

okay bestie, this is the Kernel API Manual page for get_avenrun, and we are gonna get you comfy with it πŸ’… no cap.


✨ NAME ✨

get_avenrun β€” get the load average array 🫢

🌸 SYNOPSIS 🌸

void get_avenrun (unsigned long *loads , unsigned long offset , int
shift );

πŸ’– ARGUMENTS πŸ’–

  • loads β€” pointer to destination load array ✨ like, that's where the load values are headed.
  • offset β€” offset to add πŸ’« yes, literally an offset that gets added.
  • shift β€” shift count to shift the result left 🌈 keep it cute, it's the left-shift amount.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the vibe here is: these values are estimates at best, so no need for locking. fr fr, that's the whole note β€” they're estimates, and locking is not needed πŸ’€βœ¨

πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole vibe check, bestie πŸ’œ source/version: ./kernel/sched Β· date: October 2026 Β· page: get_avenrun(9) πŸ«ΆπŸ’…

πŸ“¦ where this page comes from