summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2024-07-11 10:11:02 -0700
committerVito Caputo <vcaputo@pengaru.com>2024-07-11 10:16:26 -0700
commit30dab310b5dff0d38aa804a4b9cb0ff78bb68188 (patch)
tree100d2d0f77f78430428b54a31da2af7ed5c15e68
parentd6aba41fd41f773fc59ec107b7bae9539b0971a4 (diff)
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.
-rw-r--r--src/vmon.c2
1 files changed, 1 insertions, 1 deletions
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"
© All Rights Reserved