Where to find Load Average Code?

General support questions
Post Reply
rustyjosh
Posts: 1
Joined: 2015/10/09 20:14:44

Where to find Load Average Code?

Post by rustyjosh » 2015/10/09 20:18:07

Hi all,

After some searching, I have been unable to find the file(s) in the kernal that calculate the load average. I see where CALC_LOAD is defined in include/linux/sched.h, but I am looking for the rest of the code. I am running Centos 6.5 (2.6.32-504.8.1-el5.x86_64 ). If anyone can point me in the right direction, I'd be much appreciated.

Thank you in advance,
Josh

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Where to find Load Average Code?

Post by TrevorH » 2015/10/09 20:31:50

I don't know the answer to your question but a minor correction: your kernel is a 6.6 kernel. However the latest and only supported version is 6.7 so you are due a yum update to bring yourself up to level.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply