• Topic
  • Discussion
  • SupportWeb.DetectCPU(Last) -- Owiki? , 2016-08-19 14:59:27 Edit owiki 2016-08-19 14:59:27

    CPU Detection Help

    Introduction

    The OpenLink License Manager (oplmgr) detects the number of logical processors (historically called "CPUs" [short for "Central Processor Units"], from the time when each processor chip had only one processor core, and each core had only one thread) on which it and your OpenLink license(s) are deployed. (Virtual processor setups such as AIX micropartitions, Solaris containers, and Intel HyperThreading may cause the number of logical processors to be higher or lower than the number of physical processor cores.) You need to provide the precise number of logical processors in the host environment to obtain a functional license for that environmnt.

    Optimal method -- All OS

    All users can use our latest Web-based GUI Assistants to detect the logical processor count on the host operating system. (This detection will produce the same result as our license enforcement code.) Users who cannot or do not want to use the Web-based GUIs can generally use operating system commands and utilities to obtain the necessary information.

    Fallback methods -- OS-specific

    Windows users

    Use the System Information utility (Start menu --> Accessories --> System Tools --> System Information, or Start menu --> Run... --> msinfo32).

    Drill down to System Information --> System Summary to see the relevant information. It is usually best to select View --> Advanced.

    If in doubt, select Action --> Save As Text File..., and submit the resulting file for OpenLink review.

    Mac OS X, Linux, and other Unix-like OS users

    Execute the relevant command(s) listed below for your OS, and provide that output to your OpenLink contact(s).

    Platform Command(s) Sort in ascending order
    AIX 3 or earlier Commands vary. Contact support for assistance.
    AIX 5 or later lparstat -i
    FreeBSD sysctl hw.model
    HP-UX /usr/sbin/ioscan -fnC processor
    and
    /usr/sbin/ioscan -kf | grep processor
    Linux cat /proc/cpuinfo
    Mac OS X sysctl hw.logicalcpu
    and
    sysctl hw.physicalcpu
    SCO OpenServer 5 hw
    and
    uname -X
    SCO Unixware 7 psrinfo -v
    Solaris (SPARC) kstat > /tmp/kstat.output
    Solaris (x86, x86_64) uname -X
    Tru64 (Compaq or HP) psrinfo -v
    AIX 4 prtconf | grep Proc

    Referenced by...