Is there a way to see the active thread count

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Is there a way to see the active thread count

  • Creator
    Topic
  • #55699
    Jim Kosloskey
    Participant

      For those shops that have a thread limit, is there a way to find out what Cloverleaf thinks is the current active thread count?

      It would be useful to know at any point in time how many threads one has available to them rather than trying to count up the threads.

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

    Viewing 4 reply threads
    • Author
      Replies
      • #86202
        Paul Bishop
        Participant

          We don’t have a specific way of counting threads, but I supposed you could loop through each site and count the number of lines in the NetConfig that began with “protocol”.  Something like

          Code:

          grep -c ^protocol NetConfig

          in an AIX environment.  Or there might be something in the nfLoad modules that could be used to count the threads.

          Paul Bishop
          Carle Foundation Hospital
          Urbana, IL

        • #86203
          Keith McLeod
          Participant

            Hcilicstatus provides a count.

          • #86204
            Keith McLeod
            Participant

              Here is the pertinent output from hcilicstatus. It goes across all sites, I believe…for the given root.

              Command Issued: hcilicstatus

              Currently there are 238 threads running under HCIROOT(/hci/cloverleaf/cis6.1/integrator).

              Package Name: Infor Cloverleaf(R) Integration Services

            • #86205
              Keith McLeod
              Participant

                It appears that the count from hcilicstatus is the running threads, meaning actually turned on.  I have 2 sites where I have 250 threads in one and 2 in the other.  Three are turned off in the larger site, so total created threads is 252 less the 3 turned off leaves me with 249 running threads.

                Other commands that may help.

                In tcl

                set thread_count [netconfig get connection count]

                This is site dependent.  You would need to roll through your sites to get the total count.

                Look up netconfig commands for additional access.

              • #86206
                Jim Kosloskey
                Participant

                  Thank you Keith!

                  email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

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