"Vinay Salotagi" <vinayss@xxxxxxxxxx>>
> How can i read the hardware details like > a.. ProcessorId: > a.. ProcessorVendor > a.. Amount of RAM > a.. Amount of physical memory etc > in my programme. Read from files
/proc/cpuinfo /proc/meminfo
Suresh
If you are working on userspace, you have sysinfo structure for some of them.
see,
sys/sysinfo.h
sysinfo() function
man sysinfo.
regards manish
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/