machinfo(1)machinfo(1)NAMEmachinfo - print machine information
SYNOPSISDESCRIPTION
prints useful information about the machine. The output and format can
change based on product updates, os version, hardware platform or sys‐
tem configuration. See the section of this manpage for more informa‐
tion on the recommended usage of
The output includes information about processors, firmware revisions,
and amount of memory on the system. 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 parti‐
tion.
Options
recognizes the following options:
This option will cause
to print out extra details, such as the sizes of each
individual level of processor cache, and which optional
features of the ISA (instruction set architecture) are
supported natively by the processors.
This option will cause
to print out extra details about the memory configura‐
tion, 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 calculated using Refer to the
pstat_getlocality(2) manpage for more information about
ILM.
Support
The command is delivered in and, as indicated in hier(5), commands are
unsupported.
The command output is not suitable for parsing by scripts since its
content and format is subject to change based on product updates, os
version, hardware platform, and/or system configuration. The 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
CPU Info The CPU section shows information about CPUs on the system
and how many of each type there are.
Example:
The first three lines of the CPU information describe the
physical characteristics of the processors: CPU model,
speed, cache size, cores/logical processors per socket,
bus/interconnect speed, and stepping (version).
The remaining CPU information describes how many proces‐
sors, cores, and logical processors are currently active
in the partition. If CPU hyperthreading is available, the
current LCPU attribute (enabled, disabled, or partially
enabled) will also be displayed. The number of logical
processors will be the same as the number of cores if the
LCPU attribute is disabled or the processors are not LCPU
capable. When the LCPU attribute is enabled, the number
of logical processors will be larger. The number of sock‐
ets indicates how many processors have at least one core
active in the partition; processors with no active cores
are not counted.
All of this CPU information can be obtained programmati‐
cally using pstat_getprocessor(2).
NOTE: When is used in a partition or system using a sup‐
ported combination of differing processors, will display
information about each specific type of processor sepa‐
rately. 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), reports
information for all active processors at once.
Memory This line displays the amount of memory configured on the
system in MB and GB. If the option is used, a second line
will display the amount of Interleaved Memory (ILM).
This information can be obtained using See pstat_getlocal‐
ity(2) for information on how to calculate ILM.
Firmware This section lists the versions of firmware components
that are installed on the system. The number and type of
firmware components is platform dependent. It may also
indicate if IPMI is supported.
This information can be obtained using and
Platform Info
This section contains the model, machine ID number and the
machine serial number. The fields are interpreted as fol‐
lows:
The hardware model string.
Unique identifier for each machine. Returned as an opaque
string of
printable ASCII characters. This string
has the same value of all partitions in a
physical machine.
Not available on all classes of machines; if unavailable,
will print a message that "indicates id is
not set for this machine". This string is
not a unique identifier for the machine,
since machines of different classes can
have the same serial number.
This information can be obtained using
OS Info This section contains general information about the ver‐
sion of the OS installed on the system. The fields are
interpreted as follows:
The node name (system name by which the system is usually
known in the UUCP network.
The current release level of the operating system (i.e.
B.11.31).
The license level of the operating system.
The system architecture this OS supports (i.e. ia64, PA).
The machine identification number.
The string of the kernel.
This information can be obtained using
Notes and Caveats
On some processor models with a split-cache design, may only detect the
amount of processor cache that is usable by the partition based on
which cores of the processor(s) are assigned to the partition.
From some kinds of virtualized guest environments, the processors may
appear to have one core per socket. This is because the underlying
association between processor cores and sockets is not visible within
the virtualized guest. CPU hyperthreading (as controlled by the LCPU
attribute) may not be available from a virtualized guest; in this case,
will not display the status of the LCPU attribute.
When cores are dynamically moved between partitions, for example by
using Dynamic Cores technology, the number of active sockets shown by
may vary based on how many different sockets the active cores are allo‐
cated from. Use the number of active cores instead of sockets to track
the CPU utilization of partitions in this case.
CPU hyperthreading (as controlled by the LCPU attribute) can be dis‐
abled at boot time. (See the command and its flag.) When CPU hyper‐
threading is disabled at boot, the LCPU attribute cannot be set by HP-
UX. will report the number of logical processors per socket to be the
same as the number of cores per socket, and will not display the LCPU
attribute setting.
To change the LCPU attribute, see the command and the lcpu_attr(5) tun‐
able manpage.
SEE ALSOgetconf(1), uname(1), psrset(1M), setboot(1M), pstat(2), pstat_getlo‐
cality(2), sysconf(2), lcpu_attr(5).
machinfo(1)