From 30dab310b5dff0d38aa804a4b9cb0ff78bb68188 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 11 Jul 2024 10:11:02 -0700 Subject: vmon: mention SIGUSR1 snapshotting in --help This isn't currently very discoverable, and without mention of it one is likely to just try sending SIGCHLD to vmon for snapshots. --- src/vmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vmon.c') diff --git a/src/vmon.c b/src/vmon.c index cc60c5c..d5c0df6 100644 --- a/src/vmon.c +++ b/src/vmon.c @@ -192,7 +192,7 @@ static void print_help(void) " -n --name Name of chart, shows in window title and output filenames\n" " -o --output-dir Directory to store saved output to (\".\" if unspecified)\n" " -p --pid PID of the top-level process to monitor (1 if unspecified)\n" - " -s --snapshot Save a PNG snapshot upon receiving SIGCHLD\n" + " -s --snapshot Save a PNG snapshot upon receiving SIGCHLD (SIGUSR1 also triggers snapshots)\n" " -v --version Print version\n" " -W --width Window width\n" " -z --hertz Sample rate in hertz\n" -- cgit v1.2.3