Hey Roger, I downloaded and saved the file in /var/lib/cassandra, but getting same error:
java -jar /tmp/jmxterm-1.0-alpha-4-uber.jar --url localhost:7199 Welcome to JMX terminal. Type "help" for available commands. $>run -b org.apache.cassandra.metrics:type=ClientRequest scope=CASWrite name=MutationSizeHistogram #InstanceNotFoundException: org.apache.cassandra.metrics:type=ClientRequest I tried using mx4 jar file: java -jar /var/lib/cassandra/mx4j-3.0.1.jar url localhost:7199 no main manifest attribute, in /var/lib/cassandra/mx4j-3.0.1.jar > On Jul 26, 2017, at 11:50 AM, Roger Warner <rwar...@pandora.com> wrote: > > You need to also have the mx4j jar in your Cassandra lib directory. Double > checking you did that – its not included with the distro. You have to > download it. > > http://mx4j.sourceforge.net/ <http://mx4j.sourceforge.net/> > > R > > From: Nitan Kainth <ni...@sleepiqlabs.com> > Reply-To: "user@cassandra.apache.org" <user@cassandra.apache.org> > Date: Wednesday, July 26, 2017 at 8:22 AM > To: "User cassandra.apache.org" <user@cassandra.apache.org> > Subject: Re: read/write request counts and write size of each write > > Thank you very much Kurt. > > I am not a java guy, need one small help. I initiated JMX connection but I am > getting some exception: > > java -jar ~/jmxterm-1.0-alpha-4-uber.jar --url localhost:7199 > Welcome to JMX terminal. Type "help" for available commands. > $>run -b org.apache.cassandra.metrics:type=ClientRequest scope=CASWrite > name=MutationSizeHistogram > #InstanceNotFoundException: org.apache.cassandra.metrics:type=ClientRequest > > > I verified, Cassandra is running on my machine. > > > > On Tue, Jul 25, 2017 at 9:36 PM, kurt greaves <k...@instaclustr.com > <mailto:k...@instaclustr.com>> wrote: > Looks like you can collect MutationSizeHistogram for each write as well from > the coordinator, in regards to write request size. See the Write request > section > underhttps://cassandra.apache.org/doc/latest/operating/metrics.html#client-request-metrics > > <https://urldefense.proofpoint.com/v2/url?u=https-3A__cassandra.apache.org_doc_latest_operating_metrics.html-23client-2Drequest-2Dmetrics&d=DwMFaQ&c=gFTBenQ7Vj71sUi1A4CkFnmPzqwDo07QsHw-JRepxyw&r=_V9IzBxaV864n6VoHCzfArKKHY9Xqk-DWw-wAB9JU7E&m=_TOyM3vR40V4Xvh1nWnClVq3MYuybHfhdtWfkIGvVlk&s=vgnwngzAkTiksz5qoRNA71R9UZTCiYLkjw4qXe5nK74&e=> > > >