Skip to main content

FIND CORES OF YOUR PROCESSOR (LINUX)

Find number of Physical Sockets with :

cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l


Find number of total cores

cat /proc/cpuinfo | egrep "core id|physical id" | tr -d "\n" | sed s/physical/\\nphysical/g | grep -v ^$ | sort | uniq | wc -l


and verify with
cat /proc/cpuinfo
or

lscpu

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                16
On-line CPU(s) list:   0-15
Thread(s) per core:    2
Core(s) per socket:    4
CPU socket(s):         2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 44
Stepping:              2
CPU MHz:               1600.000
BogoMIPS:              4798.60
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              12288K
NUMA node0 CPU(s):     0,2,4,6,8,10,12,14
NUMA node1 CPU(s):     1,3,5,7,9,11,13,15


direct to Hardware level

dmidecode --type processor

dmidecode --type memory

Comments

Popular posts from this blog

NetApp CDOT summery of usefull commands

Courtesy : sysadmin Group Netapp Clustered Ontap CLI Pocket Guide On this page I will be constantly adding Netapp Clustered Data Ontap CLI commands as an easy reference Pocket Guide (Updated 27-June-2016) MISC set -privilege advanced (Enter into privilege mode) set -privilege diagnostic (Enter into diagnostic mode) set -privilege admin (Enter into admin mode) system timeout modify 30 (Sets system timeout to 30 minutes) system node run – node local sysconfig -a (Run sysconfig on the local node) The symbol ! means other than in clustered ontap i.e. storage aggregate show -state !online (show all aggregates that are not online) node run -node -command sysstat -c 10 -x 3 (Running the sysstat performance tool with cluster mode) system node image show (Show the running Data Ontap versions and which is the default boot) dashboard performance show (Shows a summary of cluster performance including interconnect traffic) node run * environment shelf (Shows informati...

അബുദാബിയില്‍ ഒരു വൈകുന്നേരം .....

കൂട്ടുകാരന്റെ കൂടെ കറങ്ങുന്നതിന്റെ ഭാഗമായി തികച്ചും അപ്രതീക്ഷമയിട്ടാണ് അവരെ കണ്ടു മുട്ടിയത്‌ , കുറച്ചു പെണ്‍കുട്ടികള്‍ .....നൂറ്റി അന്‍പതില്‍ അധികം രാജ്യ ക്കാര്‍ താമസിക്കുന്ന ഈ uae യില്‍ ഓരോ ദിവസവും ഓരോരുത്തര്‍ അവരുടെ രാജ്യത്തെ ഉത്സവങ്ങള്‍ കൊൻടാട്പെടുന്നു ... കൂടുതല്‍ അനോക്ഷിക്കുന്നതിനിടെ അവര്‍ ഇന്തോനേഷ്യ കാരാണെന്ന് മനസിലാക്കാന്‍ കഴിഞ്ഞു .. എന്തോ പൊതു പരിപാടികുള്ള പുറപ്പാട് അണെന്നു തോ ന്നു ന്നു എല്ലവരും ഒരുങി വരുന്നതേയുള്ളൂ.. ഒരാള്‍ മൊബ് ഫോണില്‍ ചിത്രങല്‍ എടുക്കുന്നു ..മെല്ലെ കൂട്ടുകാരനില്‍ നിന്നും ക്യാമറ വാങി ക്ലിക്കി നോക്കി..കുഴപ്പമില്ല സഹകരിക്കുന്നുണ്ട് ..സമയകുറവു മൂലം അധിക നേരം നില്കനോത്തില്ല.. അപ്പെഴേക്കും തിക്കും തിരക്കും തുടങ്ങി ...ഒള്ളതു നിങ്‌ല്ക്കു വേണ്ടി പോസ്റ്റുന്നു പാലപൂവും ചൂടി രാഗലോലയായ്‌ ഇന്തോനേഷ്യന്‍ പെണ്‍കുട്ടികള്‍ ഉല്‍ത്സവ വേളകള്‍ ഒരു പുഞ്ചിരിയുടെ പരിണിത ഫലം മയില്‍‌പീലി വർണ്ണ്ങ്ങൾ . ചിത്രങളില്‍ കമ്പ്യൂട്ടര്‍ കൈയ്യാൻ കളികൾ ഒന്നും തന്നെ നടത്തിയിട്ടില്ല. കോപ്പി അടിക്കാനുള്ള അവകാശം ബാര്‍~കോടകന് മാത്രം ....