From 8fc9066ee62d17cdb76bc064c945da3bb0d2e2a3 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 11 Jun 2009 20:33:14 +0200 Subject: conntrackd: add support to display statistics on existing child processes This patch adds the ability to dump the list of existing child processes. In general, it would be hard to display one since child processes are generally forked for very specific tasks, like commit and flush operations, and they have very limited lifetime. However, this can be handy for debugging problems. Signed-off-by: Pablo Neira Ayuso --- src/run.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/run.c') diff --git a/src/run.c b/src/run.c index fe81d54..95d51a2 100644 --- a/src/run.c +++ b/src/run.c @@ -216,6 +216,9 @@ void local_handler(int fd, void *data) case STATS_RUNTIME: dump_stats_runtime(fd); return; + case STATS_PROCESS: + fork_process_dump(fd); + return; } if (!STATE(mode)->local(fd, type, data)) -- cgit v1.2.3