1

How does /proc/stat/ gets it data?

view story
linux-howto

http://stackoverflow.com – I'm working on a kernel module. My team and I (it's a class project) are trying to find useful kernel variables and pass them to userspace. The problem is, there's literally 1000 or so kernel variables and not enough documentation on kernel variables. As a result, so far, we have only found the jiffies variable, which isn't really terribly useful for us. So, I'm thinking that /proc/stat/ must be generated by a kernel module, which uses certain kernel variables and then does calculations. There's probably a few kernel variables involved, and those variables would be useful, I think. What I've (HowTos)