From fb3c5efa503214b08cae72f89e73ed4eb1bf957c Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 18 Apr 2017 15:44:17 +0000 Subject: Add a format for number of bytes writtent to client, useful for debugging. --- format.c | 1 + 1 file changed, 1 insertion(+) (limited to 'format.c') diff --git a/format.c b/format.c index 5844a6ab..633be101 100644 --- a/format.c +++ b/format.c @@ -1154,6 +1154,7 @@ format_defaults_client(struct format_tree *ft, struct client *c) format_add_tv(ft, "client_created", &c->creation_time); format_add_tv(ft, "client_activity", &c->activity_time); + format_add(ft, "client_written", "%zu", tty->written); name = server_client_get_key_table(c); if (strcmp(c->keytable->name, name) == 0) -- cgit