Get Parent and List of Sons from Uproc Name

Return the list of Children and the Name of the Father (if any) in a simple format.

Description:

Given the name of an existing Session as the first Parameter, and the name of a Uproc within the Session as a second parameter, this tool will return the list of Children and the Name of the Father (if any) in a simple format.

How to use it:

Two Parameters need to be passed to the script:

1- Session Name (Must Exist)
2- Uproc Name (Must Exist and belong to Session)

ex:
./getInfoUprocInSession.sh "MY SESSION" "MY UPROC"

Meaning of Output:

A --> B: A is father of B
B <-- C: B is son of C
D <-- : D has no father (and therefore is the Header)
E --> : E has no son

 

Target environments: Linux, Unix

Prerequisites: DU6 (could be adapted to DU5), local machine (could be adapted to work on remote machines as well)

Implementation:

  • Load the environment variables
  • Run the script

Operating Systems


Versions

This plugin has no official releases yet

Created by....

A member of the Automic Community


Login to View or Leave Comments