Search Results

Search: Posts Made By: steven12
28,724
Posted By steven12
Hi Corona, awk -F: '/^physical/ && !ID[$2]...
Hi Corona,

awk -F: '/^physical/ && !ID[$2] { P++; ID[$2]=1 }; /^physical/ { N++ }; END { print N, P }' /proc/cpuinfo

thanks for the above script. It shows the right information but how can...
28,724
Posted By steven12
Thanks corona, then how do we know if...
Thanks corona,

then how do we know if Hyperthreading is enabled or not and how doo we check that?

Thanks,
Steve.
28,724
Posted By steven12
Hi, Thanks for your reply. yeah, I...
Hi,

Thanks for your reply.

yeah, I know that different unix flavors requires different commands but I want to start with linux.

what I am trying to do is display number of cpu and cores...
28,724
Posted By steven12
writing a simple script to get total number of cpus/cores in server
Hi,

I am very new to scripting and I wanted to write a unix shell script which can give me,

1)number of cpu's in a box

2)number of cores per cpu

3)total number of cores in abox (ie...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 05:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy