Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use a table to print jmx metric listings #17

Open
clutchski opened this issue Feb 10, 2014 · 0 comments
Open

use a table to print jmx metric listings #17

clutchski opened this issue Feb 10, 2014 · 0 comments
Milestone

Comments

@clutchski
Copy link

instead of

       Matching: 1/100. Bean name: org.apache.cassandra.internal:type=MiscStage - Attribute name: TotalBlockedTasks  - Attribute type: int
       Matching: 2/100. Bean name: org.apache.cassandra.internal:type=MiscStage - Attribute name: CurrentlyBlockedTasks  - Attribute type: int
       Matching: 3/100. Bean name: org.apache.cassandra.internal:type=MiscStage - Attribute name: CoreThreads  - Attribute type: int
       Matching: 4/100. Bean name: org.apache.cassandra.internal:type=MiscStage - Attribute name: MaximumThreads  - Attribute type: int

a more readable version might be something like (obviously the wrong content) which doesn't repeat the column names on every row.

+-----------+------+------------+-----------------+
| City name | Area | Population | Annual Rainfall |
+-----------+------+------------+-----------------+
| Adelaide  | 1295 |  1158259   |      600.5      |
| Brisbane  | 5905 |  1857594   |      1146.4     |
| Darwin    | 112  |   120900   |      1714.7     |
| Hobart    | 1357 |   205556   |      619.5      |
| Melbourne | 1566 |  3806092   |      646.9      |
| Perth     | 5386 |  1554769   |      869.4      |
| Sydney    | 2058 |  4336374   |      1214.8     |
+-----------+------+------------+-----------------+

we could use:

https://code.google.com/p/prettytable/

or just a csv

@remh remh added this to the Later milestone Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants