Global Variable for Process Name

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Global Variable for Process Name

  • Creator
    Topic
  • #50524
    John Zalesak
    Participant

      Is there a global variable that stores the process name???

      I tried HciProcess and it does not work.

      Thanks

    Viewing 4 reply threads
    • Author
      Replies
      • #66467
        garry r fisher
        Participant

          Hi John,

          I’m not aware of global for process name.

          A few ways you can get the process name:

          1. read in netconfig

          2. Use msi

          3. get Tcl pwd

          Looking at that list a global could be useful.

          Garry

        • #66468
          John Zalesak
          Participant

            Thanks for getting back with me.

            I apologized but I guess I need a little more input to understand what you are saying.

            1) In the netconfig, there are all the process names, how do you know which one called you?

            2) I looked at the msiGetStatSample and I do not see the process name anywhere.  Am I  missing it???

            3) Get Tcl Pwd – No experience with this one but I would be afraid the current directory is not the current site???

          • #66469
            Rob Abbott
            Keymaster

              There is no global for process name.

              Rob Abbott
              Cloverleaf Emeritus

            • #66470
              Michael Hertel
              Participant

                You can also look at $HciProcessesDir

              • #66471
                John Zalesak
                Participant

                  Thanks for the reply.

                  $HciProccessesDir is close but no cigar

                  It gives you $HciSiteDir/exec/processes but not the process name.

              Viewing 4 reply threads
              • The forum ‘Cloverleaf’ is closed to new topics and replies.