Find the answer to your Linux question:
Results 1 to 2 of 2
Is there any other command to lists the number of Physical and Logical CPU's in HP-UX 11i v2 - B.11.23 system ? In my system machinfo command gives the below ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2012
    Posts
    2

    List the physical and Logical CPU's on HP-UX


    Is there any other command to lists the number of Physical and Logical CPU's in HP-UX 11i v2 - B.11.23 system ?

    In my system machinfo command gives the below output

    bash-4.0# machinfo
    CPU info:
    Number of CPUs = 4
    Clock speed = 1398 MHz
    Bus speed = 399 MT/s
    CPUID registers
    vendor information = "GenuineIntel"
    processor serial number = 0x0000000000000000
    processor version info = 0x0000000020000704
    architecture revision: 0
    processor family: 32 Intel(R) Itanium 2 9000 series
    processor model: 0 Intel(R) Itanium 2 9000 series
    processor revision: 7 Stepping C2
    largest CPUID reg: 4
    processor capabilities = 0x0000000000000005
    implements long branch: 1
    implements 16-byte atomic operations: 1
    Bus features
    implemented = 0xbdf0000020000000
    selected = 0x0000000000000000

    Is "Number of CPUs = 4" listing the physical or Logical CPU count ?

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,410
    I am not familiar with hp ux and the man page of machinfo doesnt say much about cpus.

    However I do know chef (a configuration management tool) and chef abstracts this kind of information gathering.
    So I looked into the ohai plugin for hp ux, and this in turn uses sigar to get cpu related information on this platform.
    Home - Sigar - Hyperic Support
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •