You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Marcus Both <mb...@terra.com.br> on 2011/10/03 04:41:37 UTC

cfstats - check Read Count per minute

Hi, 
I am checking how many "Read Count" are made per minute as follows way:

$ ./nodetool -h 127.0.0.1 cfstats
Keyspace: KSTEST
	Read Count: 412303
(...)
sleep 60
$ ./nodetool -h 127.0.0.1 cfstats
Keyspace: KSTEST
	Read Count: 462555
(...)

$ echo "462555 - 412303"| bc
50252

And then I can see how many Read are made per minute, 50.252!
Is there another way to check this?

Tks.
-- 
Marcus Both 


Re: cfstats - check Read Count per minute

Posted by Chris Goffinet <cg...@chrisgoffinet.com>.
If he puts the mx4j jar (http://mx4j.sourceforge.net/) in his lib/ folder,
he can fetch stats out over HTTP. mx4j is a bridge for JMX->HTTP.


On Mon, Oct 3, 2011 at 2:53 AM, aaron morton <aa...@thelastpickle.com>wrote:

> Other than manually pull them from JMX, not really.
>
> Most monitoring templates will grab those stats per cf (and perhaps per
> ks).
>
> Cheers
>
> -----------------
> Aaron Morton
> Freelance Cassandra Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 3/10/2011, at 3:41 PM, Marcus Both wrote:
>
> > Hi,
> > I am checking how many "Read Count" are made per minute as follows way:
> >
> > $ ./nodetool -h 127.0.0.1 cfstats
> > Keyspace: KSTEST
> >       Read Count: 412303
> > (...)
> > sleep 60
> > $ ./nodetool -h 127.0.0.1 cfstats
> > Keyspace: KSTEST
> >       Read Count: 462555
> > (...)
> >
> > $ echo "462555 - 412303"| bc
> > 50252
> >
> > And then I can see how many Read are made per minute, 50.252!
> > Is there another way to check this?
> >
> > Tks.
> > --
> > Marcus Both
> >
>
>

Re: cfstats - check Read Count per minute

Posted by aaron morton <aa...@thelastpickle.com>.
Other than manually pull them from JMX, not really.

Most monitoring templates will grab those stats per cf (and perhaps per ks). 

Cheers

-----------------
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com

On 3/10/2011, at 3:41 PM, Marcus Both wrote:

> Hi, 
> I am checking how many "Read Count" are made per minute as follows way:
> 
> $ ./nodetool -h 127.0.0.1 cfstats
> Keyspace: KSTEST
> 	Read Count: 412303
> (...)
> sleep 60
> $ ./nodetool -h 127.0.0.1 cfstats
> Keyspace: KSTEST
> 	Read Count: 462555
> (...)
> 
> $ echo "462555 - 412303"| bc
> 50252
> 
> And then I can see how many Read are made per minute, 50.252!
> Is there another way to check this?
> 
> Tks.
> -- 
> Marcus Both 
>