freebsd-nq/usr.sbin/services_mkdb
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
..
extern.h
Makefile Fix hand-rolled METALOG entries for installconfig during distributeworld 2022-02-28 22:36:39 +00:00
Makefile.depend
services ctlstat: add prometheus output 2022-04-20 15:18:41 -06:00
services_mkdb.8
services_mkdb.c
uniq.c usr.sbin/services_mkdb: plug memory leak when line was blank. 2021-03-30 15:21:37 -07:00