Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi,
I am trying to make a utility that gathers system information. I need to access the information stored in the BIOS such as RAM size, Processor speed, etc. Please let me know how to access these using a C program.
You can read information about the processor by parsing the file /proc/cpuinfo; this is not stored in the BIOS as far as I know. Neither is RAM size, which you can get through /proc/meminfo.
There's probably also an API call for this somewhere.
The BIOS information itself can be accessed through /dev/nvram.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.