{"id":3682,"date":"2014-11-03T00:35:16","date_gmt":"2014-11-02T16:35:16","guid":{"rendered":"http:\/\/rmohan.com\/?p=3682"},"modified":"2014-11-03T00:35:16","modified_gmt":"2014-11-02T16:35:16","slug":"how-to-check-jms-queue-depth-using-jacl","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=3682","title":{"rendered":"how to check JMS queue depth using jacl"},"content":{"rendered":"<p>Case 1: check depth of 1 particular queue<\/p>\n<p>set qpoint &#8220;WebSphere:*,type=SIBQueuePoint,name=MyQueuePointName&#8221;<br \/>\nset queues [$AdminControl queryNames $qpoint]<br \/>\nforeach q $queues {<br \/>\nset identifier [$AdminControl getAttribute $q identifier]<br \/>\nset size [$AdminControl getAttribute $q depth]<br \/>\nputs &#8220;$identifier size: $size messages&#8221;<br \/>\nputs [$AdminControl getAttributes $q]<br \/>\n}<\/p>\n<p>Case 2: check all the queue points<\/p>\n<p>set qpoint  &#8220;WebSphere:*,type=SIBQueuePoint&#8221;<br \/>\nset queues [$AdminControl queryNames  $qpoint]<br \/>\nforeach q $queues {<br \/>\nset identifier [$AdminControl  getAttribute $q identifier]<br \/>\nset size [$AdminControl getAttribute $q  depth]<br \/>\nputs &#8220;$identifier size: $size messages&#8221;<br \/>\nputs  [$AdminControl getAttributes $q]<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Case 1: check depth of 1 particular queue<\/p>\n<p>set qpoint &#8220;WebSphere:*,type=SIBQueuePoint,name=MyQueuePointName&#8221; set queues [$AdminControl queryNames $qpoint] foreach q $queues { set identifier [$AdminControl getAttribute $q identifier] set size [$AdminControl getAttribute $q depth] puts &#8220;$identifier size: $size messages&#8221; puts [$AdminControl getAttributes $q] }<\/p>\n<p>Case 2: check all the queue points<\/p>\n<p>set qpoint &#8220;WebSphere:*,type=SIBQueuePoint&#8221; set queues [$AdminControl [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3682"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3682"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3682\/revisions"}],"predecessor-version":[{"id":3683,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3682\/revisions\/3683"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}