i am new to linux.
and i recently studied some system analysis tools, such as top and "SYSSTAT" tool set.
i found the main things these things do are open and read files in /proc folder, and grab some numerical data and manipulate them.
so here comes a question, how those files in /proc folder are generated?
for example, let's say "cpuinfo", how these file actually generated??
and in kernel code, which source file actually does the job?