Retrieve Command Corresponding to Session Creation

Script takes a Session Name as a parameter and simply outputs the exact command line

Description:

This script takes a Session Name as a parameter and simply outputs the exact command line (uxadd SES) that would create the same session. This can be used for Session duplications / alterations etc.

Usage:

./getCmdSession.sh -S [SESSION_NAME] -N [REMOTE_NODENAME]

-S : Session Name for which to retrieve the Command
-N : Remote Node Name on which the Session Exists [Local Node if not specified]

ex:
./getCmdSession.sh -S "MY SESSION" -N "PRODUCTIONNODE01"
./getCmdSession.sh -S "MY SESSION"


 


Target environments: Linux, Unix



Prerequisites: DU6



Implementation: load environment variables
execute


Operating Systems


Versions

This plugin has no official releases yet

Created by....

A member of the Automic Community


Login to View or Leave Comments