cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Hawthorne <dha...@gmx.3crowd.com>
Subject Re: nodetool tpstats feature request
Date Wed, 31 Aug 2011 22:56:54 GMT
watch doesn't calculate diffs

On Aug 31, 2011, at 2:29 PM, Peter Sanford wrote:

> I use `watch` to do this:
> 
> watch -n 5 nodetool -h localhost tpstats
> 
> -psanford
> 
> On Wed, Aug 31, 2011 at 1:59 PM, David Hawthorne <dhawth@gmx.3crowd.com> wrote:
>> It would be very useful to be able to get refreshing statistics from tpstats, a la
top.
>> 
>> nodetool -h localhost tpstats [n]
>> 
>> refresh every second, show me the Active and Pending and Blocked columns as they
currently exist, but under Completed show me a per-second rate based on the delta from the
previous counter and the number of seconds (n) specified on the command line.
>> 
>> nodetool -h localhost tpstats 1 to update every second
>> nodetool -h localhost tpstats 5 to update every 5 seconds, etc


Mime
View raw message