HSI Commands By Function

HPSS File and Directory Commands

\
Command Function
cd Change current directory
cdls Change current directory and list contents
chacct Change account code or name for a file
chgrp Change group ownership of a file or directory
chmod Change permissions of file or directory
chown Change ownership of a file or directory
cp Copy a file within HPSS
get, cgetL, mget Copy one or more HPSS-resident files to local files
erase Alias for "rm"
find search for and list namespace objects matching selection criteria
give Give file(s) to another user
ln Create symbolic or hard link from one HPSS object to another
ls List namespace object(s)
mdelete delete files with optional interactive override. See "rm"
mget retrieve HPSS files with optional interactive override. See "get"
mkdir Create an HPSS directory
mput copy local file(s) to HPSS with optional interactive override. See "put"
mv Rename an HPSS file
put, cput, mput Copy one or more local files to HPSS
pwd Print current directory
rm Remove one or more files from HPSS
rename rename an HPSS node
rd Alias for "rmdir"
rmdir Delete an HPSS directory
touch create empty HPSS file or update HPSS file timestamp

Local File and Directory Commands

Command Function
!command Issue shell command
in Read commands from a local file
lcd Change local directory
lcdls Change local directory and list contents
lls List local directory
lmd Alias for "lmkdir"
lmkdir Make a local directory
log Write all HSI commands and responses to a local log file
lpwd Print current local directory
out Write HSI output to a local file

Access Control List (ACL) Commands

Command Function
chacl create, update or delete Access Control List entries
lsacl list Access Control List entries

Accounting/Metadata Commands

Command Function
annotate add commentary to HPSS metadata for a file/directory
chacct change account ID of a file or directory
chcos change Class of Service for an HPSS file
crename conditionally rename an existing HPSS file
du summarize space usage
dump display nameserver and bitfiles server metadata for a namespace object
expdel delete file expiration time for file
expfind find files whose expiration time matches specified criteria
expls display expiration time for files
expset set expiration time for HPSS files
groups display HPSS group membership
hashcreate create checksum hashing info for an existing HPSS file
hashdelete remove checksum hash info from HPSS metadata
hashlist display checksum hashing info for an HPSS file
hashls alias for "hashlist"
hashverify verify checksum hashing info for an HPSS file
id display current login or su/sudo identity
lscos display contents of server-side Class of Service file
lsfset Alias for "lsfilesets"
lsfilesets List filesets that have been created by the HPSS administrator
lshash alias for "hashlist"
lsjunctions List junctions and their related filesets that have been created by the HPSS administrator
newacct Change active account ID or account name
newgrp Change active group ID or group name
su Assume another user's HPSS identity
sudo Issue HSI command(s) using another user's HPSS identity
umask Set file creation mask
whoami display current login or su/sudo identity

File and Directory Administration Commands

Command Function
migrate copy HPSS files from lower to higher levels of a hierarchy
plock make files non-purgeable from disk cache for HPSS-admin specified time
punlock make files purgeable from disk cache
purge delete data from level 0 of a hierarchy
stage copy files to level 0 of a hierarchy

Multi-HPSS Commands

Command Function
close close a server connection
connect alias for open command
lsconnections display a list of active server connections
lssites display a list of sites parsed from the hsirc file(s)
open open a new server connection
setconnection alias for switchcommand
setdrive change logical drive letter associated with a connection
switch switch active server connection. Note that this implicitly happens
if the logical drive letter is specified in a standalone command,
such as "B:"

HSI Settings Commands and Keywords

Command Function
set key=value set value for internal HSI variable
Note: any command of the form key=value is treated as a set
command
adopt replace current set of keywords with those from a named keyset
free delete a saved keyset
keep save current set of keyword values
show display saved keyset(s)


Keyword Value
backup on | off to enable/disable renaming existing files on get/put commands
columns numeric value to specifiy number of columns per line. Default=auto-adjust
copies set number of copies (normally either 1 or 2) to use when selecting a Class of Service
cosid set Class of Service ID to request for PUT and CP commands
coslist set Class of Service "named cos list" to use when selecting a Class of Service
dcreatemode octal value specifying permissions to set (combined with umask) when creating a directory
dirn set working directory 0 - 9 to pathname
familyid set numeric file family ID to request when creating new files
fcreatemode octal mode to use, combined with umask, when creating new files
iobufsize buffer size to use when transferring files
lines number of lines per page to use for the terminal
promptlen max characters to use for interactive prompt
promptdirlen max characters to use for directory components of path for prompt
PS1 prompt string to use for interactive input prompt
PS2 prompt string to use for continuation line input prompt
pwidth parallel stripe width to use when transferring files

Miscellaneous HSI Commands

Command Function
bell Topggle for sending the BEL (\007) character to prompt for input
echo Terminate HSI
firewall Enable/disable use of store-and-forward I/O through a firewall
glob on/off toggle for enabling/disabling pattern matching for filenamest
help display help information for HSI commands
history display command line history
idletime set idle timeout value
progress toggle for enabling/disabling file transfer progress display
quit, exit,
endL
Terminate HSI
prompt Toggles HSI prompting for cget, mget, mput, and mdelete
runique [future]toggle for creating local files with unique names on for GET command
sunique [future]ttoggle for creating remote files with unique names on for PUT command
verbose toggle for enabling/disabling verbose output mode
version display HSI version and build information