Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 09-13-2004, 03:13 AM   #1
LQ Newbie
Registered: Sep 2004
Posts: 5

Rep: Reputation: 0
How to access the BIOS in Linux using C

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.

Old 09-13-2004, 03:40 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compaq Armada 1750 Bios Access doogie1988 Linux - Hardware 7 02-19-2009 08:59 PM
need Bios driver to exec custom on board bios code wmain Linux - Software 0 09-03-2004 08:32 AM
old BIOS (1992) won't detect my cdrom drive; BIOS says: neither IDE prots enabled carbono Linux - Hardware 5 05-18-2004 11:07 AM
Can't access bios! 1014linux Linux - Newbie 11 03-24-2004 03:57 AM
Can't access BIOS since load of Debian MileHiFlyer Linux - Hardware 6 10-22-2003 08:40 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration