Problem
How do I check how many CPUs my SCO operating system is licensed to use?
Solution
Take the following steps, depending on what SCO operating system you have installed:
SCO OpenServer5
---------------
Product information on OpenServer5 is available from:http://www.sco.com/products/openserver6/6_507_chart.pdfRun the following command to determine how many CPU's the kernel has recognized:
uname -XYou can obtain more information if you have the "hw" command installed:
/etc/hw -r cpuRun the following command to determine if the appropriate Multiprocessor software is installed and is correctly licensed:
/usr/bin/customquery swconfig | grep -i multiThis should return information on the SCO Symmetrical Multiprocessing version installed.
/etc/brand -LSCO symmetrical multiprocessing for OpenServer 5 needs to be licensed for the number of physical CPUs you have.
This command will tell you how many SMP licenses have been entered and the type of license used, denoted by the number.
For example, c2 means two CPUs are licensed.
If the SMP software has been installed, you can run this command:
/etc/cpuonoff -cThis will report the state of the processors found.
If a CPU is detected, yet it's state is classed as "inactive" then check the SMP Licensing is sufficient to cover the additional CPU's installed.
Installing SMP and it's license will grant you use of an additional
or second CPU. Subsquent CPU's must be licensed separately with
Additional CPU licenses.Please note that a display problem can cause a discrepency in how
the CPU speed is reported in "hwconfig" and "hw". For example:hwconfig:clock - type=TSC/2.999999949Ghzhw:CPU 1 performs like a 1129Mhz Intel Pentium III Model 7
This is reported on systems running SMP and is a cosmetic display issue with "hw".
Further troubleshooting:Number of licensed CPUs for the operating system (add up the 'c' numbers):
brand -L | grep "c[0-9]*:" | awk '{print $4}'Number of active CPUs (physically present, licensed, and running):
echo stat | crashFor SMP Licensing see:TA126403, "How do I enable Multi-Core, Dual Core or Hyper-Threading on OpenServer 5.0.7?"
SCO OpenServer6
---------------
Product information on OpenServer6 is available from:http://www.sco.com/products/openserver6/6_507_chart.pdfIn addition to introducing the Starter Edition, with OpenServer 6
SCO has revised the default configurations of the Enterprise
Edition to provide more value along with the major new features
contained in this latest release. The following table summarizes
the OpenServer 6 Edition configurations:Edition Starter Enterprise Users 2 10 CPUs 1 4 Memory 1GB 4GB
Run the following command to determine how many CPU's the kernel has recognized:
uname -XYou can obtain more information if you have the "hw" command installed:
/etc/hw -vTo see the state of the processors detected, use the following command:
/sbin/psrinfo -vThe more verbose command is:/sbin/psrinfo -vv/etc/cpuonoff -cThis will report the state of the processors found.
Please note that in January 2008 SCO announced that you no longer needed a license for additional CPUs on OpenServer 6.0.0 and UnixWare 7.1.4. To eliminate the need for additional CPU licenses on SCO OpenServer 6.0.0 please see:
http://www.sco.com/support/update/download/release.php?rid=319SCO UnixWare7
-------------
Product information on UnixWare7 is available from:http://www.sco.com/products/unixware714/SCO_UW714_Broch_final2004.qxd.pdfRun the following command to determine how many CPUs the kernel has recognized:
uname -XYou can obtain more information if you have the "hw" command installed:
/etc/hw -vRun the following command to determine if the appropriate Multiprocessor software is installed:
pkginfo | grep osmpThis should return the following:system osmp OS Multiprocessor Support (OSMP)To see the state of the processors detected, use the following command:
/sbin/psrinfo -vThe more verbose command is:/sbin/psrinfo -vvPlease note that in January 2008 SCO announced that you no longer
needed a license for additional CPUs on OpenServer 6.0.0 and
UnixWare 7.1.4. To eliminate the need for for additional CPU
license on UnixWare 7.1.4 please see:http://www.sco.com/support/update/download/release.php?rid=337All Releases:
------------
In addition, ensure that the latest Maintenance Pack is installed,
available from:http://www.sco.com/support/download.htmlAlso check your BIOS settings on the server. For example, a common
option for turning off CPU's is disabling the computer's APIC.Additional licenses can be added either with:
# scoadmin licenseor alternatively, using "brand -g -a" and then "sco_pmd -r" to add it manually.
NOTES: To see what licensing you already have without having to run
"scoadmin", "scoadmin license" or "scoadmin lic" then either run:# brand -Xor:# brand -Lor "uname -X" and "uname -a" will give you plenty of information.
NOTES: Troubleshooting
---------------
casm (/etc/rc2.d/S20cpacasm) reporting x number of Physical
Processors seen but only 1 available then this is being reported by
HP/Compaq's EFS tools for the Insight Management Agents and is
likely to be a hardware error. See also
TA110502: "UnixWare 7, How do I check that my system is running on more than one CPU?"
TA110743: "What is contained in SLS ptf7617b, the UnixWare 7.1.1 hw Utility Supplement?"
TA126167: "What SCO Operating Systems support the Multiple Core processor technology from AMD and Intel?"
TA125320: "How many SMP licenses do I need to purchase for Multi Core CPU based system?"
TA126556: "How many SMP licenses do I need to purchase for an Intel or Intel compatible Dual Core or Multiple Core CPU based system?"