Addition of hash table statisics commands
This commit is contained in:
@ -49,6 +49,7 @@
|
||||
#include <spinlock.h>
|
||||
#include <dcb.h>
|
||||
#include <poll.h>
|
||||
#include <users.h>
|
||||
#include <debugcli.h>
|
||||
|
||||
#define MAXARGS 5
|
||||
@ -77,6 +78,7 @@ struct subcommand showoptions[] = {
|
||||
{ "dcbs", 0, dprintAllDCBs, "Show all descriptor control blocks (network connections)" },
|
||||
{ "dcb", 1, dprintDCB, "Show a single descriptor control block e.g. show dcb 0x493340" },
|
||||
{ "epoll", 0, dprintPollStats, "Show the poll statistics" },
|
||||
{ "users", 1, dcb_usersPrint, "Show statistics for a suers table" },
|
||||
{ NULL, 0, NULL, NULL }
|
||||
};
|
||||
|
||||
|
||||
@ -79,4 +79,4 @@ debugcmd.o: debugcmd.c /usr/include/stdio.h /usr/include/features.h \
|
||||
/usr/include/bits/setjmp.h ../../include/dcb.h ../../include/buffer.h \
|
||||
../../include/server.h ../../include/session.h ../../include/router.h \
|
||||
../../include/modules.h ../../include/atomic.h ../../include/poll.h \
|
||||
../include/debugcli.h
|
||||
../../include/users.h ../../include/hashtable.h ../include/debugcli.h
|
||||
|
||||
Reference in New Issue
Block a user