Install hwinfo in ubuntu(tested on Ubuntu 12.04.4 LTS).
sudo apt-get install hwinfo
Following are some of the device type supported by hwinfo.
cdrom cpu disk ide memory netcard partition printer scanner scsi gfxcard sound usb wlan bluetooth monitor
Example to know about CPU(detailed).
hwinfo – -cpu
Output will be something like following
01: None 00.0: 10103 CPU
[Created at cpu.304]
Unique ID: rdCR.j8NaKXDZtZ6
Hardware Class: cpu
Arch: X86-64
Vendor: “GenuineIntel”
Model: 6.42.7 “Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz”
Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,aperfmperf,eagerfpu,pni,pclmulqdq,dtes64,mo
Clock: 1600 MHz
BogoMips: 6784.36
Cache: 8192 kb
Units/Processor: 16
Config Status: cfg=new, avail=yes, need=no, active=unknown
02: None 01.0: 10103 CPU
[Created at cpu.304]
Unique ID: wkFv.j8NaKXDZtZ6
Hardware Class: cpu
Arch: X86-64
Vendor: “GenuineIntel”
Model: 6.42.7 “Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz”
Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,aperfmperf,eagerfpu,pni,pclmulqdq,dtes64,mo
Clock: 1600 MHz
BogoMips: 6784.36
Cache: 8192 kb
Units/Processor: 16
Config Status: cfg=new, avail=yes, need=no, active=unknown
Example to know about CPU(short).
hwinfo – -cpu – -short
Output will be something like following
cpu:
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 1600 MHz
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 1600 MHz
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 1600 MHz
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 1600 MHz
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 3400 MHz
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 1600 MHz
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 1600 MHz
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 1600 MHz