Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Am I doing something wrong? (lscpu: failed to determine number of CPUs...)
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Am I doing something wrong? (lscpu: failed to determine number of CPUs...)

StacyStacy Member
edited January 2015 in Help

Hi I just installed Centos 7 64bit on my crissic vps

I just installed the OS, changed root pass and did lscpu

lscpu: failed to determine number of CPUs: /sys/devices/system/cpu/possible: No such file or directory

Is there a new command for it or something? First time using Centos 7.

Comments

  • pbgbenpbgben Member, Host Rep

    Did you run as root?

  • @pbgben said:
    Did you run as root?

    Yes I ran it as root.

  • 0xdragon0xdragon Member
    edited January 2015

    OpenVZ?

  • StacyStacy Member
    edited January 2015

    @0xdragon said:
    OpenVZ?

    Yes

    I even tried doing yum update -y but lscpu is still broken.

  • Stacy said: I even tried doing yum update -y but lscpu is still broken.

    why not try

    cat /proc/cpuinfo

  • @century1stop said:
    cat /proc/cpuinfo

    cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 44
    model name : Intel(R) Xeon(R) CPU X5660 @ 2.80GHz
    stepping : 2
    cpu MHz : 755.597
    cache size : 12288 KB
    physical id : 0
    siblings : 12
    core id : 0
    cpu cores : 6
    apicid : 0
    initial apicid : 0
    fpu : yes
    fpu_exception : yes
    cpuid level : 11
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
    bogomips : 5599.99
    clflush size : 64
    cache_alignment : 64
    address sizes : 40 bits physical, 48 bits virtual
    power management:

    processor : 1
    vendor_id : GenuineIntel
    cpu family : 6
    model : 44
    model name : Intel(R) Xeon(R) CPU X5660 @ 2.80GHz
    stepping : 2
    cpu MHz : 755.597
    cache size : 12288 KB
    physical id : 0
    siblings : 12
    core id : 1
    cpu cores : 6
    apicid : 2
    initial apicid : 2
    fpu : yes
    fpu_exception : yes
    cpuid level : 11
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
    bogomips : 5599.99
    clflush size : 64
    cache_alignment : 64
    address sizes : 40 bits physical, 48 bits virtual
    power management:

    processor : 2
    vendor_id : GenuineIntel
    cpu family : 6
    model : 44
    model name : Intel(R) Xeon(R) CPU X5660 @ 2.80GHz
    stepping : 2
    cpu MHz : 755.597
    cache size : 12288 KB
    physical id : 0
    siblings : 12
    core id : 2
    cpu cores : 6
    apicid : 4
    initial apicid : 4
    fpu : yes
    fpu_exception : yes
    cpuid level : 11
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
    bogomips : 5599.99
    clflush size : 64
    cache_alignment : 64
    address sizes : 40 bits physical, 48 bits virtual
    power management:

  • @Stacy said:

    Seems you have access to 3 cores but limited to 0.8GHz per core.

  • @WSCallum said:
    Seems you have access to 3 cores but limited to 0.8GHz per core.

    Not really if frequency scaling is enabled. A value around 800mhz sounds like frequency scaling

  • It's possible yes.

  • StartledPhoenix said: Not really if frequency scaling is enabled. A value around 800mhz sounds like frequency scaling

    It does look more like frequency scaling than physically static limits, agreed.

  • williewillie Member

    closing necro.

This discussion has been closed.