SWITCH Command

HSI Version: 

All

Purpose: 

Switch active HPSS server connection

Aliases: 

SETCON

Command Format: 

{swi[tch] | setc[on]} hpss_connection_handle

Options: 

hpss_connection_handle: the connection handle number can be obtained by issuing the "lscon" command from an hsi prompt. The connection handles would be "1" and "2" in the following example:

? lscon

List of Currently Active Connections

Current default connection handle: 1

       Han-    Remote          Remote         

Drive  dle    IP Address       Hostname   

------------------------------------------

->A:   1 192.67.21.154   hpss07g.sdsc.edu 

         HomeDir: /paci/sdsc/kericson

         pwd0: /paci/sdsc/kericson

  B:   2 131.215.145.148 hpss.cacr.caltech.edu

         HomeDir: /home/kericson        

         pwd0: /home/kericson


Keywords: 

 

Usage Notes: 

This can also be accomplished by typing drive:, for example B: 

Example: 

switch 2

Related Command(s): 

OPEN, CLOSE, LSCON