You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by David Hawthorne <dh...@gmx.3crowd.com> on 2011/09/01 00:56:54 UTC
Re: nodetool tpstats feature request
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 <dh...@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