summaryrefslogtreecommitdiff
path: root/ctdb/tools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-04-20 21:02:53 +1000
committerAndrew Tridgell <tridge@samba.org>2007-04-20 21:02:53 +1000
commite9d43f5e43562ee1c5cb6b2776f35d9e0b9c02fc (patch)
treecfe53b348dd0a0845dc91f3841f3c9b9327de659 /ctdb/tools
parent2e5aae04de7ba8d8b4dd67e1743d396f3d09b68c (diff)
downloadsamba-e9d43f5e43562ee1c5cb6b2776f35d9e0b9c02fc.tar.gz
- expanded status to include count of each call type
- added lockwait latency (This used to be ctdb commit 0b5d196147e644cf8b172cb4b593fd46b1caa386)
Diffstat (limited to 'ctdb/tools')
-rw-r--r--ctdb/tools/ctdb_status.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/ctdb/tools/ctdb_status.c b/ctdb/tools/ctdb_status.c
index 266fb0a212f..af4c62488d8 100644
--- a/ctdb/tools/ctdb_status.c
+++ b/ctdb/tools/ctdb_status.c
@@ -33,8 +33,24 @@ static void show_status(struct ctdb_status *s)
{
printf(" client_packets_sent %u\n", s->client_packets_sent);
printf(" client_packets_recv %u\n", s->client_packets_recv);
+ printf(" req_call %u\n", s->client.req_call);
+ printf(" req_message %u\n", s->client.req_message);
+ printf(" req_finished %u\n", s->client.req_finished);
+ printf(" req_register %u\n", s->client.req_register);
+ printf(" req_connect_wait %u\n", s->client.req_connect_wait);
+ printf(" req_shutdown %u\n", s->client.req_shutdown);
+ printf(" req_status %u\n", s->client.req_status);
printf(" node_packets_sent %u\n", s->node_packets_sent);
printf(" node_packets_recv %u\n", s->node_packets_recv);
+ printf(" req_call %u\n", s->client.req_call);
+ printf(" reply_call %u\n", s->count.reply_call);
+ printf(" reply_redirect %u\n", s->count.reply_redirect);
+ printf(" req_dmaster %u\n", s->count.req_dmaster);
+ printf(" reply_dmaster %u\n", s->count.reply_dmaster);
+ printf(" reply_error %u\n", s->count.reply_error);
+ printf(" reply_redirect %u\n", s->count.reply_redirect);
+ printf(" req_message %u\n", s->count.req_message);
+ printf(" req_finished %u\n", s->count.req_finished);
printf(" total_calls %u\n", s->total_calls);
printf(" pending_calls %u\n", s->pending_calls);
printf(" lockwait_calls %u\n", s->lockwait_calls);