Queued Trans from the Command Line

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Queued Trans from the Command Line

  • Creator
    Topic
  • #48675
    Jeff Thomas
    Participant

    Is there a way to viewed the number of transactioned queued to a thread via the command line?

    Thanks

Viewing 5 reply threads
  • Author
    Replies
    • #59363
      Rich Durkee
      Participant

      There may be easier ways but here’s one that may get you started. I assume you are referring to “Queue Depth”.

      1. At the OS command line, invoke TCL.

      2. then msiAttach

      3. then msiGetStatSample threadname     –   where thread name is the SENDING thread

      4. this will display the thread stats for all threads in the process that contain threadname. Within the statistics is a list of threads showing certain stats for each. One of the stats is “POSTXLTQD”. This will probably show what you are looking for.

      5. If you do this regularly, you will probably want to develop a TCL proc. Here’s a sample – execute it from the AIX command line.

      #!/qvdx/qdx5.3/integrator/bin/tcl

      msiAttachset

      thrdname cern_pyx2_adt_ord

        set threadkeys [msiGetStatSample $thrdname]

        keylget threadkeys INTERTHREAD ikey

             foreach tdata $ikey {

             keylget tdata NAME tname

              keylget tdata POSTXLTQD queued

             if {![string equal $queued “0”]} {

             echo $tname ”  ” $queued

             } }

      Rich Durkee

      Genesys Regional Medical Center

      Gran Blanc, MI

    • #59364
      Calvin Palmer
      Participant

      Simply type hcimsiutil -dd [threadname] without the brackets. This will return statistical information about the thread in question including queue info.

    • #59365
      Bakha Nurzhanov
      Participant

      How about as simple as:

      hcidbdump -r -d thread_name -O i

      ?

    • #59366
      Jeff Thomas
      Participant

      I wanted to thank everyone for there responses.  We have had some GUI lockup problems on 3.8.1, and I was interested in ways to operate without the GUID.  Thanks!

      Jeff

    • #59367
      Rich Durkee
      Participant

      In Calvin’s reply he stated to use this command:

      hcicmd -dd threadname

      He meant to say:

      hcimsiutil -dd threadname

      Rich Durkee

    • #59368
      Calvin Palmer
      Participant

      Oops! Thanks for the correction! 🙂

      Rich Durkee wrote:

      In Calvin’s reply he stated to use this command:

      hcicmd -dd threadname

      He meant to say:

      hcimsiutil -dd threadname

      Rich Durkee

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

Forum Statistics

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