Linux Version number and hardwares list - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Linux Version number and hardwares list

Hi,

I am looking for a C/C++ code to get the Linux Version number and the hardwares list in the system like drive size, RAM size etc.

Also, Is is possible to get the OS version and hardwares list using same code on any linux flavour?? For e.g. Fedora, ubuntu, Debian etc?

Can anyone suggest some code for this.

Any help is greatly appreciated.

Thanks
Arun
Sign In or Register to comment.