Search code examples
javahardwarecpu

Retrieving CPU information in java


I need to write a small client application which gives CPU information such as CPU_TYPE, Processor_Speed, Serial number, UUID, operating system, physical memory and etc...

Does any one knows very straight approach for getting these information.

Thanks in advance Viswanathan G


Solution

  • For CPU try org.hyperic.sigar.cmd.CpuInfo. For OS try System.getProperties().