]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli: add an option to display the uptime in the CLI's prompt
authorWilly Tarreau <w@1wt.eu>
Thu, 4 May 2023 12:22:36 +0000 (14:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 May 2023 14:38:52 +0000 (16:38 +0200)
commit225555711fb67298777cdf2203d23b36803f1ef4
tree491e50b8cfafcb3e087a55777f22b2891bebabe9
parent21d7125c923376f5d8b708f49093eeedbe596d6f
MINOR: cli: add an option to display the uptime in the CLI's prompt

Entering "prompt timed" toggles reporting of the process' uptime in
the prompt, which will report days, hours, minutes and seconds since
it was started. As discussed with Tim in issue #2145, this can be
convenient to roughly estimate the time between two outputs, as well
as detecting that a process failed to be reloaded for example.
doc/management.txt
include/haproxy/cli-t.h
src/cli.c