[ https://issues.apache.org/jira/browse/CASSANDRA-19022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17937877#comment-17937877 ]
Stefan Miklosovic edited comment on CASSANDRA-19022 at 3/24/25 12:22 PM: ------------------------------------------------------------------------- we should overhaul this command completely. The way it prints the statistics is pretty ... "unique". It is actually broken, it just prints it weirdly misaligned. There is "table layout" already widely used, I think we should just break the output of this command and rework it completely. We might do other stuff with various formats etc. I have a WIP branch locally, will push later. was (Author: smiklosovic): we should overhaul this command completely. The way it prints the statistics is pretty ... "unique". There is "table layout" already widely used, I think we should just break the output of this command and rework it completely. We might do other stuff with various formats etc. I have a WIP branch locally, will push later. > Nodetool gcstats correctly displays Direct Memory usage and supports printing > in table format > --------------------------------------------------------------------------------------------- > > Key: CASSANDRA-19022 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19022 > Project: Apache Cassandra > Issue Type: Bug > Components: Tool/nodetool > Reporter: Brad Schoening > Assignee: Ling Mao > Priority: Normal > Fix For: 5.x > > Time Spent: 10m > Remaining Estimate: 0h > > If {{io.netty.maxDirectMemory}} is not specified, Netty defaults the limit to > the max heap size. Thus, direct memory in use can be significant. > However, trying this on two different platform and the result returned in > gcstats is always -1: > {noformat} > Interval (ms) Max GC Elapsed (ms)Total GC Elapsed (ms)Stdev GC Elapsed (ms) > GC Reclaimed (MB) Collections Direct Memory Bytes > 2792770717 274 665186 54 > 41276288089024 6120 -1{noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org