Re: Hardware Details

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




"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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux