Skip to content

new code to support loop querying data #17

Description

@colinpaicemq

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions