This section describes the environment variables that are used by HSI. In addition to these environment variables, the .hsirc file can be customized to set HSI variables such as the prompt string, default site to connect to, whether or not backups should automatically be created when storing or retrieving files that already exist, etc. System.
|
ENVIRONMENT
Example: setenv ENVIRONMENT BATCH (csh), or
Note that both words must be uppercase. HSI_LOGFILE The logfile contains timestamped commands, responses, and error messages pertaining to the current session. In particular, it is important for recording activity for multi-HPSS sessions, as it is easy to lose track of which files were stored on which system(s). The default logfile name, which is created in the user's home directory, is of the form: hsilog.xxxx If the file does not exist when HSI first starts up, it is created.
If the file does exist, then messages are appended to the existing
file. (Note: Users should periodically truncate this file, to avoid
quota failures, or avoid filling up filesystems). Although there
is currently no locking of the file to prevent multiple processes
from trying to write to the file at the same time , steps are taken
to minimize the possiblity of multiple HSI sessions corrupting each
other's messages. In addition, each message contains the current process
ID in square brackets, e.g.: so that messages interleaved by multiple concurrent sessions can be easily separated by using a utility such as grep or awk. The HSI_LOGFILE environment variable can be set to the reserved word "none" to disable the auto creation of a logfile. The log command can be used at any time during the session to create a logfile if so desired. The pathname used for the logfile can contain metacharacters
of the form:
Examples:
HPSS_SERVER_HOST hostname[,service][/port]
where:
,service is the NDAPI service name, as specified in /etc/services, and
Note that this environment variable can be overridden by the "-h" and "-p" command line option(s), as well as by settings in the global hsirc file, and/or settings in the .hsirc file in the user's home directory. HPSS_PATH_ETC This path is usually set by the HPSS system administrator, in a wrapper script that launches HSI, and normally should not be changed. KRB_KINIT |