Running Cloverleaf Utilities from a Perl Script

Clovertech Forums Read Only Archives Cloverleaf Tcl Library Running Cloverleaf Utilities from a Perl Script

  • Creator
    Topic
  • #54443
    Rodney Howell
    Participant

      I am writing a Perl script to automate some of the maintenance we do on a regular basis. I

      Sr. Integration Analyst
      Houston Methodist

    Viewing 1 reply thread
    • Author
      Replies
      • #81491
        Matthew Seacat
        Participant

          We are using perl to stop and start threads.  Here is what we are doing.

          $siteName = “your_site_name”;

          eval `/qvdx/cis5.8/integrator/sbin/hcisetenv -root perl /qvdx/cis5.8/integrator $siteName`;

          #print `showroot`;

          #print $ENV{HCIROOT};

          #print $ENV{HCISITE};

          #print `showroot`;

          #This will stop the thread

          `hcicmd -p p8 -c “your_thread_name pstop”`;

          #This will start the thread

          `hcicmd -p p8 -c “your_thread_name pstart”`;

        • #81492
          Rodney Howell
          Participant

            Thanks Matthew…your solution is working.

            Sr. Integration Analyst
            Houston Methodist

        Viewing 1 reply thread
        • The forum ‘Tcl Library’ is closed to new topics and replies.