Cycle SMAT

  • Creator
    Topic
  • #48463
    Jared Parish
    Participant

    Would anyone be willing to share their SMAT cycle script?  The one I made no longer works, and I don’t have the time to write a new one.  I would really appreciated it.

    Thanks,

    - Jared Parish

Viewing 1 reply thread
  • Author
    Replies
    • #58701
      David Caragay
      Participant

      Try this..  It will cycle process log, smat files and compress the .old files.  Let me know how it works out.  

      setroot

      setsite [site_name_here]

      echo

      echo site is:$HCISITE

      echo

      hcicmd -p [process_name_here]  -c ‘. output_cycle’

      hcicmd -p [process_name_here]  -c ‘[smat_file_name_here] save_cycle in’

      hcicmd -p [process_name_here]  -c ‘[smat_file_name_here] save_cycle out’

      find $HCISITEDIR/exec/processes -name *.old.idx -exec compress -f {} ;

      find $HCISITEDIR/exec/processes -name *.old.msg -exec compress -f {} ;

    • #58702
      Dirk Engels
      Participant

      We use the scripts in the attached archiv to create backups of the SMAT files with a timestamp.

      There is a Windows and a UNIX version. You’ll have to execute them from cron or scheduled task.

      Regards,

      Dirk

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

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,293
Replies
34,435
Topic Tags
286
Empty Topic Tags
10