This discussion is archived
3 Replies Latest reply: Sep 2, 2013 5:46 AM by AmitShil RSS

How to know per cpu core available

999875 Newbie
Currently Being Moderated

Hi,

Can somebody help me tell how to know that server has how many per cpu core available?

 

Here are the details and from gooogle search I got commands to get this but not sure. I do not have root login.

bash-3.2$ uname -a

Linux <HOST> 2.6.32-300.41.1.el5uek #1 SMP Tue Nov 27 12:39:09 PST 2012 x86_64 x86_64 x86_64 GNU/Linux

 

bash-3.2$ cat /proc/cpuinfo

processor       : 0

vendor_id       : GenuineIntel

cpu family      : 6

model           : 45

model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz

stepping        : 7

cpu MHz         : 2194.710

cache size      : 20480 KB

fpu             : yes

fpu_exception   : yes

cpuid level     : 13

wp              : yes

flags           : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2                   ss ht syscall nx lm constant_tsc rep_good pni pclmulqdq ssse3 cx16 sse4_1 sse4_2                                                                                                  x2apic popcnt aes avx hypervisor lahf_lm

bogomips        : 4389.42

clflush size    : 64

cache_alignment : 64

address sizes   : 46 bits physical, 48 bits virtual

power management:

 

 

processor       : 1

vendor_id       : GenuineIntel

cpu family      : 6

model           : 45

model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz

stepping        : 7

cpu MHz         : 2194.710

cache size      : 20480 KB

fpu             : yes

fpu_exception   : yes

cpuid level     : 13

wp              : yes

flags           : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2                                               ss ht syscall nx lm constant_tsc rep_good pni pclmulqdq ssse3 cx16 sse4_1 sse4_2                                                                                                  x2apic popcnt aes avx hypervisor lahf_lm

bogomips        : 4389.42

clflush size    : 64

cache_alignment : 64

address sizes   : 46 bits physical, 48 bits virtual

power management:

  • 1. Re: How to know per cpu core available
    rukbat Guru Moderator
    Currently Being Moderated

    999875 wrote:

     

    Hi,

    Can somebody help me tell how to know that server has how many per cpu core available?

    Your post tells us that you have two Xeon E5-2660 processors and that they were manufactured by Intel.

    Perhaps you can learn everything you want by going to Intel's web site and finding all the technical information from them.

     

    An alternative method to get information would be to use a Google search for something such as "intel xeon e5-2680 cores" or you could go to some online retailer that sells such hardware and see how they describe them.

     

    As for "How many are available" ? 

    ALL the cores will be available, to the full extent of whatever the OS or your applications are designed to use CPU cores, unless you have done something to disable processor cores.

  • 2. Re: How to know per cpu core available
    Dude! Guru
    Currently Being Moderated

    You can use the nproc command to list the number of processing units (CPU, cores) available to the current process, which may be less than the number of online processors. Using nproc --all will show all installed processors. Root privileges are not required.

  • 3. Re: How to know per cpu core available
    AmitShil Newbie
    Currently Being Moderated

    [root@Gateway ~]# lscpu

    Architecture:          i686

    CPU(s):                1

    Thread(s) per core:    1

    Core(s) per socket:    1

    CPU socket(s):         1

    Vendor ID:             GenuineIntel

    CPU family:            6

    Model:                 37

    Stepping:              5

    CPU MHz:               0.000

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points