Add rolling statistics that are collected across 10 second intervals.
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 29 Sep 2010 02:13:05 +0000 (12:13 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 29 Sep 2010 02:14:45 +0000 (12:14 +1000)
commit9f66a93f12185c5f13e1ff0b8a84c2086bf0267d
treefb0e8ca34a549d12bd29a054a000597f709fa4d4
parent41b6e09fb176b7a3a121ed05dd583c84f9ae4aa0
Add rolling statistics that are collected across 10 second intervals.

Add a new command "ctdb stats [num]" that prints the [num] most recent statistics intervals collected.

(This used to be ctdb commit e6e16fcd5a45ebd3739a8160c8fb5f44494edb9e)
ctdb/Makefile.in
ctdb/client/ctdb_client.c
ctdb/include/ctdb_client.h
ctdb/include/ctdb_private.h
ctdb/include/ctdb_protocol.h
ctdb/server/ctdb_control.c
ctdb/server/ctdb_daemon.c
ctdb/server/ctdb_statistics.c [new file with mode: 0644]
ctdb/tools/ctdb.c