instl_adm.4 (2012 03)
i
instl_adm(4) instl_adm(4)
more descriptive than hardware_model
.
is_hppa
is_ia64
Boolean values that indicate if a system is PA-RISC or Itanium-based architecture, respec-
tively.
is_ht_capable
Boolean value that indicates if a system supports HyperThreading. Available 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 sys-
tem 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 previously. 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 exam-
ple, "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 fol-
lowing: "DSK" (if a CD/DVD), "MT" (if DDS or mag-tape), or "NET" (if using a network
server).
release
A string corresponding to the HP-UX release for which the configuration file contains the sys-
tem defaults (for example, "B.11.11", "B.11.23", etc.).
is_net_info_temporary
A boolean value that reflects the choice made by you in the network information screen or as
set using the keyword of the same name in the configuration file.
(sw_sel string )
A boolean value that reflects whether the software selection tag given as string has been
selected for loading.
Note: It is not advisable to initialize variables within a
sw_sel conditional statement
because the variables are not be re-initialized if a you make a change to the sw_sel in the
UI.
HP-UX 11i Version 3: March 2012 − 11 − Hewlett-Packard Company 11