There are various files in the proc file system (usually mounted at [tt]/proc[/tt]) which gives you direct access to the kernel's internal values. For example, CPU information is stored in [tt]/proc/cpuinfo[/tt] and memory information in [tt]/proc/meminfo[/tt].
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.