On Tue, 18 Oct 2011, ik wrote:

Hello list,

I'm trying to figure out how to get hardware information about the machine i'm 
running at in Linux OS.
For example: hard-drive size, manufacture etc...
BIOS information, screen information (regardless of X, that is the hardware 
itself), cards that are assigned and the
whole information about such cards.
Disks of any kind etc... CPU Information (can use the /proc/cpuinfo)

Does anyone know or can point me on how to do it ?

use DBUS to query HAL. Normally you should get most of the info.

I wrote an article on how to do this in FPC. if you want, I can send it to you.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to