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.
./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]
./getCmdSession.sh -S "MY SESSION" -N "PRODUCTIONNODE01"
./getCmdSession.sh -S "MY SESSION"
Target environments: Linux, Unix
Implementation: load environment variables
This plugin has no official releases yet
A member of the Automic Community