CPU Information

Tim Mooney Tim.Mooney at ndsu.edu
Thu Nov 19 18:58:04 UTC 2009


In regard to: CPU Information, Hearn, Stan J. said (at 2:00pm on Nov 19, 2009):

> I've been using a custom script which runs against /proc/cpuinfo in
> order to gather socket and core information.  But the format of cpuinfo
> seems to change between distros and now with Nehalem hardware threads
> it's changed again.

I would use dmidecode and look for the relevant DMI type.  There's a
wealth of information there.

Tim
-- 
Tim Mooney                                             Tim.Mooney at ndsu.edu
Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
Room 242-J6, IACC Building                             701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164




More information about the redhat-sysadmin-list mailing list