machinfo.1 (2011 03)

m
machinfo(1) machinfo(1)
NAME
machinfo - print machine information
SYNOPSIS
machinfo [-v][-m]
DESCRIPTION
machinfo prints useful information about the machine. It’s output and format can change based on pro-
duct updates, os version, hardware platform or system configuration. See the Support section of this
manpage for more information on the recommended usage of
machinfo.
The output includes information about processors, firmware revisions, and amount of memory on the sys-
tem. This output consists of the HP-UX operating system’s view of the system configuration, as opposed to
the entire physical hardware platform. The information about processors and memory reflects the
configuration of the physical or virtual partition.
Options
machinfo recognizes the following option:
-v This option will cause machinfo
to print out extra details, such as the sizes of each indivi-
dual level of processor cache, and which optional features of the ISA are supported natively by
the processors.
-m This option will cause machinfo to print out extra details about the memory configuration,
specifically the amount of Interleaved Memory (ILM) that is configured on the system. The
data printed will be the percentage of total memory that is configured as ILM. This data is cal-
culated using pstat_getlocality()
. Refer to the pstat_getlocality(2) manpage for more
information about ILM.
Support
The
machinfo command is delivered in /usr/contrib/bin
and, as indicated in hier (5),
/usr/contrib commands are unsupported.
The
machinfo command output is not suitable for parsing by scripts since it’s content and format is sub-
ject to change based on product updates, os version, hardware platform, and/or system configuration. The
Display Description section of this manpage describes how to obtain each set of information using other
supported interfaces or means.
Display Description
Five general sections of information are displayed by
machinfo:
CPU Info The CPU section shows information about CPUs on the system and how many of each type
there are.
Example:
4 Intel(R) Itanium(R) Processor 9330s (1.46
4.79 GT/s QPI, CPU version E0
16 logical processors (4 per socket)
The first line indicates 4 sockets populated with Intel Itanium Processors of type 9330.
Their speed is 1.46 GHz with 20MB processor cache.
The second line describes first the BUS speed and type connecting the CPUs. It also shows
the CPU version stepping, in this case E0.
The third line indicates the number of logical processors on the system. A logical processor
is defined as a single processing unit capable of running its own thread of execution. Some
CPUs have multiple cores per socket or multi threading capability. Note that the "logical
processors" line will only be printed if there are multiple logical processors per socket. (i.e.
if logical processors equals number of sockets, this line will not print)
All of this CPU information can be obtained using
pstat_getprocessor().
NOTE: When
machinfo is used in a partition or system using a supported combination of
differing processors, machinfo will display information about each specific type of proces-
sor separately. This applies when processors with different cache sizes or steppings are
combined, as allowed by firmware and HP-UX. Beginning in HP-UX 11i v3 (B.11.31),
machinfo reports information for all processors at once.
HP-UX 11i Version 3: March 2011 1 Hewlett-Packard Company 1

Summary of content (2 pages)