Ignite-UX Reference (March 2010, B3921-90005)

instl_adm(4) instl_adm(4)
uname -m command is used instead.
model Evaluates to a string containing the equivalent of the model command, which is typi-
cally more descriptive than hardware_model.
is_hppa
is_ia64
Boolean values that indicate if a system is PA-RISC or Itanium®-based architecture,
respectively.
is_ht_capable
Boolean value that indicates if a system supports HyperThreading. Av ailable on HP-UX
B.11.31 or later.
num_cpus
Evaluates to the number of active processors discovered on the system.
num_lans
Evaluates to the number of LAN hardware devices discovered on the system.
lla[[hw_path/interface]]
Evaluates to a string containing the MAC address (or station address) of the client. The
string will be in the form of a hex number (without a leading 0x). Evaluates to
"unknown" if the system does not have a LAN interface.
The hw_path/interface specifier may be omitted; however, the square-brackets must still
be used. It may be the full hardware path to the LAN device, or may be a LAN interface
name. When the specifier is omitted, the value of the variable
_hp_default_cur_lan_dev is used. See the special variables described previ-
ously. For example:
lla[] == "080009123456" | lla[2/0/2] == "080009654321" |
lla["lan0"] == "080009654321" {
statements
}
ip_addr[[hw_path/interface]]
Evaluates to a string containing the IP address of the system as set by the user, by DHCP,
or by the configuration file. This is the value used during the installation, and is not the
"final" value. If not set in the configuration file, this value is not set on initial boot, but is
set by you during an interactive installation.
The hw_path/interface specifier follows the same rules as the lla keyword above.
lan[[hw_path/interface]].driver
Evaluates to the device driver string name used to support the specified LAN device (for
example, "lan1", "btlan3", etc). The hw_path/interface specifier follows the same rules as
the lla keyword previously described.
system_name
Evaluates to a string containing the host name of the system as set by the user, by DHCP,
or by the configuration file. This is the value used during the installation, and is not the
"final" value. If not set in the configuration file, this value is not set on initial boot, but is
set by you during an interactive installation.
source_type
Evaluates to a string indicating the type of media being installed. This may be one of the
following: "DSK" (if a CD/DVD), "MT" (if DDS or mag-tape), or "NET" (if using a
network server).
12