Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    How many processors do we have?

    • Article Type: General
    • Product: Aleph
    • Product Version: 19.01

    Description:
    Is there a command we can use to show how many processors we have?

    Resolution:
    For Sun, use the command:

    uname -X
    (the "numCPU" value you see in response is the number of processors)

    or, as root:

    psrinfo

    For AIX, Digital, or Compaq use the command:

    lsdev -C | grep proc
    (there will be a line for each processor in the resulting display)

    or, as root:

    lcsfg -v | grep proc

    For Linux:

    more /proc/cpuinfo
    (there will be a section for each processor, beginning with "0", -- so if the last section is "processor : 3", you have 4 processors)

    With all of these if you have "dual-core" processors, you should multiply the number by 2; if you have "quad-core" processors, you should multiply the number by 4.

    Additional Information

    processor number, cpu, cpus


    • Article last edited: 10/8/2013