diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2024-07-11 10:11:02 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2024-07-11 10:16:26 -0700 |
commit | 30dab310b5dff0d38aa804a4b9cb0ff78bb68188 (patch) | |
tree | 100d2d0f77f78430428b54a31da2af7ed5c15e68 | |
parent | d6aba41fd41f773fc59ec107b7bae9539b0971a4 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |