Search .idx file for timestamps; return matching message(s).

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Search .idx file for timestamps; return matching message(s).

  • Creator
    Topic
  • #49502

    Jim Lohe wrote:

    Does anyone have a tcl or perl script that will show a message from the tin or tout, along with the timestamp that cloverleaf processed the message?

    In other words, I need to match up a message in the tin.msg file with the timestamp in the tin.idx file, and display them together.    

    I realize the web tools and smat does that, but I need to output the data to a file which I can manipulate.   If someone has something like that written it might save me a lot of time.

    This sort of script would be massively useful, especially to the on-call person. Does anyone have a script that does this or something similar?

    -- Max Drown (Infor)

Viewing 3 reply threads
  • Author
    Replies
    • #62246
      James Cobane
      Participant

      Max,

      Attached is a script that you can modify to do whatever you need.  The script was originally designed to extract messages directly from the SMAT file and write them to a newline-terminated file.  It reads the .idx file to pull the transactions out of the .msg, so you should be able to easily modify it to accomplish what you want.

      Hope this helps.

      Jim Cobane

      Henry Ford Health

    • #62247

      What does “HciStartup” do? Can you provide the “HciStartup” proc here, too?

      -- Max Drown (Infor)

    • #62248
      James Cobane
      Participant

      Max,

      The HciStartup should already exist; it is a proc that initializes a bunch of the environment variables and such.

      Jim Cobane

      Henry Ford Health

    • #62249

      In 5.6+., the HciStartup proc is located here: $HCIROOT/tcl/lib/cloverleaf/hciStart.tlib

      -- Max Drown (Infor)

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

Forum Statistics

Registered Users
5,115
Forums
28
Topics
9,290
Replies
34,422
Topic Tags
286
Empty Topic Tags
10