freebsd-dev/usr.sbin/inetd
Alan Somers 1a7f22d9c2 ctlstat: add prometheus output
When invoked by inetd, ctlstat -P will now produce output suitable for
ingestion into Prometheus.

It's a drop-in replacement for https://github.com/Gandi/ctld_exporter,
except that it doesn't report the number of initiators per target, and
it does report time and dma_time.

MFC after:	2 weeks
Sponsored by:	Axcient
Relnotes:	yes
Reviewed by: 	bapt, bcr
Differential Revision: https://reviews.freebsd.org/D29901
2022-04-20 15:18:41 -06:00
..
builtins.c inetd: prefer strtonum(3) to strspn(3)+atoi(3), NFC 2019-12-31 04:36:14 +00:00
inetd.8 inetd(8): Fix a typo in the manual page 2022-04-19 16:49:07 +02:00
inetd.c inetd: Use the synopsis from the manual page 2021-12-06 22:15:19 +01:00
inetd.conf ctlstat: add prometheus output 2022-04-20 15:18:41 -06:00
inetd.h inetd: track all child pids, regardless of maxchild spec 2020-01-01 04:22:04 +00:00
Makefile inetd: convert remaining bzero(3) to memset(3), NFC 2020-01-01 04:29:08 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
pathnames.h