JMXQuery icon indicating copy to clipboard operation
JMXQuery copied to clipboard

new code to support loop querying data

Open colinpaicemq opened this issue 5 years ago • 0 comments

Ive got some code which allows JMXQuery to loop for example adding -count 20 -every 30 says loop 20 times, and sleep for 30 seconds between issuing the query.

It generates Date:2019/09/16 Time:15:21:22.573 Seconds from start:0 loop:0

com.bea:Name=colin,Type=CdiContainer/Policy (String) = Enabled com.bea:Name=colin,Type=CdiContainer/DynamicallyCreated (Boolean) = false com.bea:Name=colin,Type=CdiContainer/Parent (ObjectName) = com.bea:Name=colin,Type=Domain ... Date:2019/09/16 Time:15:21:52.573 Seconds from start:30 loop:1 ....

it adds the data to the json file, so now post processing can create tabular data which can be displayed in a spread sheet. I see this extentions being used as -count 999999 -every 1800 - so I get out a chart of stats every half an hour

colinpaicemq avatar Sep 16 '19 14:09 colinpaicemq