summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpctl.c
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-03-01 12:12:59 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-03-01 12:12:59 +0000
commita89b497936dbcf786711a7fd83a5a321b34fac8f (patch)
treed8583e704b72d0c75746a9bbbfbc86831bd81cd6 /usr.sbin/smtpd/smtpctl.c
parente5a61ceaaedce871600b2b535c073a3294bf9378 (diff)
In "smtpctl show stats", break queue.inserts into queue.inserts.remote
and queue.inserts.local; ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/smtpctl.c')
-rw-r--r--usr.sbin/smtpd/smtpctl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpctl.c b/usr.sbin/smtpd/smtpctl.c
index 9f684dc6679..6698641904c 100644
--- a/usr.sbin/smtpd/smtpctl.c
+++ b/usr.sbin/smtpd/smtpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpctl.c,v 1.15 2009/02/24 12:07:47 gilles Exp $ */
+/* $OpenBSD: smtpctl.c,v 1.16 2009/03/01 12:12:58 jacekm Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -286,7 +286,8 @@ show_stats_output(struct imsg *imsg)
printf("parent.uptime=%d\n", time(NULL) - s_parent.start);
- printf("queue.inserts=%zd\n", s_queue.inserts);
+ printf("queue.inserts.local=%zd\n", s_queue.inserts_local);
+ printf("queue.inserts.remote=%zd\n", s_queue.inserts_remote);
printf("runner.active=%zd\n", s_runner.active);