HP-UX Reference (11i v2 07/12) - 5 Miscellaneous (vol 9)
s
sd(5) sd(5)
$HOME/.sw/defaults.hosts
the user-specific default list of hosts.
Hosts in this file are not marked for operation, but provide a default list from which to choose. For each
interactive command, target hosts containing roots and depots are specified in separate lists (
hosts, and
hosts_with_depots
, respectively). The list of hosts are enclosed in {} braces and separated by white
space (blank, tab and newline). For example:
swinstall.hosts={hostA hostB hostC hostD
hostE hostF}
swcopy.hosts_with_depots={hostS}
swremove.hosts={hostA hostB hostC hostD
hostE hostF}
swremove.hosts_with_depots={hostS}
Most SD commands support patch filtering with the
-x patch_filter=software_specification option.
In addition, the interactive user interface commands,
swinstall
and swcopy read a list of possible
patch filters. You can use the values from this list for selection criteria. The lists are stored in:
/var/adm/sw/defaults.patchfilters
the system-wide default list of patch filters.
$HOME/.sw/defaults.patchfilters
the user-specific default list of patch filters.
Filters in this file are not marked for selection use but provide a default list from which you can choose.
The list of patch filters is enclosed in braces {} and separated by white space (blank, tab, or newline). For
example:
swinstall.patch_filter_choices={
*.*,c=enhancement
*.*,c=critical
}
swremove.patch_filter_choices={
Product.Fileset,c=halts_system
}
Environment Variables
SD programs are affected by external environment variables, set environment variables for use by the con-
trol scripts, and set additional environment variables that affect scripts run by swinstall and
swremove.
External environment variables that affect the SD commands:
LANG Determines the language in which messages are displayed. If LANG is not specified or is
set to the empty string, a default value of C is used. See lang(5) for more information.
NOTE: The language in which the SD agent and daemon log messages are displayed is
set by the system configuration variable script,
/etc/rc.config.d/LANG
.For
example,
/etc/rc.config.d/LANG
, must be set to LANG=ja_JP.SJIS or
LANG=ja_JP.eucJP to make the agent and daemon log messages display in
Japanese.
This variable applies to all SD commands.
LC_ALL Determines the locale to be used to override any values for locale categories specified by
the settings of LANG or any environment variables beginning with LC_.
LC_CTYPE Determines the interpretation of sequences of bytes of text data as characters (for exam-
ple, single versus multibyte characters in values for vendor-defined attributes).
LC_MESSAGES
Determines the language in which messages should be written.
LC_TIME Determines the format of dates (create_date and mod_date) when displayed by swlist.
Used by all utilities when displaying dates and times in stdout, stderr, and log-
ging
.
TZ Determines the time zone for use when displaying dates and times.
Environment variables that affect scripts:
HP-UX 11i Version 2: December 2007 Update − 27 − Hewlett-Packard Company 397