]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] stats: add "show table [<name>]" to dump a stick-table
authorWilly Tarreau <w@1wt.eu>
Mon, 12 Jul 2010 15:55:33 +0000 (17:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 10 Aug 2010 16:04:14 +0000 (18:04 +0200)
commit69f58c80580f0f9676c8a6110906295185f7076c
tree491488923fcb35c43cd20a523e5163005d10d740
parentda7ff64aa917dec26ee0f2932a18d2cd4b4fd54b
[MEDIUM] stats: add "show table [<name>]" to dump a stick-table

It is now possible to dump a table's contents with keys, expire,
use count, and various data using the command above on the stats
socket.

"show table" only shows main table stats, while "show table <name>"
dumps table contents, only if the socket level is admin.
include/proto/dumpstats.h
include/types/session.h
src/dumpstats.c