Re: RFC about socket/cores numbers and HT info

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

 



On Thu Jan 28 13:18:20 UTC 2010 John Aldrich wrote:
> Here's the output of the command run using sudo:
Ok, so if you change inside the script

NSOCKETS=$(dmidecode | grep -c "Central Processor")

with
NSOCKETS=$(sudo /usr/sbin/dmidecode | grep -c "Central Processor")

and put in sudoers the permission for /usr/sbin/dmidecode command, the
script should give correct results for your system:
Cpu Model: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
Number of Sockets: 1
Number of Cores per Socket: 2
Number of CPUs seen by OS: 2
Hyper-Threading: NO

Probably need to add that if NSOCKETS is zero, this is strange too...

Gianluca
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux