|
@@ -194,10 +194,9 @@ main (int argc, char **argv)
|
|
|
}
|
|
}
|
|
|
(void) alarm ((unsigned) timeout_interval);
|
|
(void) alarm ((unsigned) timeout_interval);
|
|
|
|
|
|
|
|
- if (verbose >= 2)
|
|
|
|
|
- printf (_("CMD: %s\n"), PS_COMMAND);
|
|
|
|
|
-
|
|
|
|
|
if (input_filename == NULL) {
|
|
if (input_filename == NULL) {
|
|
|
|
|
+ if (verbose >= 2)
|
|
|
|
|
+ printf (_("CMD: %s\n"), PS_COMMAND);
|
|
|
result = cmd_run( PS_COMMAND, &chld_out, &chld_err, 0);
|
|
result = cmd_run( PS_COMMAND, &chld_out, &chld_err, 0);
|
|
|
if (chld_err.lines > 0) {
|
|
if (chld_err.lines > 0) {
|
|
|
printf ("%s: %s", _("System call sent warnings to stderr"), chld_err.line[0]);
|
|
printf ("%s: %s", _("System call sent warnings to stderr"), chld_err.line[0]);
|
|
@@ -785,6 +784,11 @@ print_help (void)
|
|
|
printf (" %s\n", "-g, --cgroup-hierarchy");
|
|
printf (" %s\n", "-g, --cgroup-hierarchy");
|
|
|
printf (" %s\n", _("Only scan for processes belonging to STRING hierarchy (works on Linux only)."));
|
|
printf (" %s\n", _("Only scan for processes belonging to STRING hierarchy (works on Linux only)."));
|
|
|
|
|
|
|
|
|
|
+ printf ("\n");
|
|
|
|
|
+ printf ("%s\n", "Extra:");
|
|
|
|
|
+ printf (" %s\n", "--input-file=FILE");
|
|
|
|
|
+ printf (" %s\n", _("Use FILE content instead of /bin/ps output."));
|
|
|
|
|
+
|
|
|
printf(_("\n\
|
|
printf(_("\n\
|
|
|
RANGEs are specified 'min:max' or 'min:' or ':max' (or 'max'). If\n\
|
|
RANGEs are specified 'min:max' or 'min:' or ':max' (or 'max'). If\n\
|
|
|
specified 'max:min', a warning status will be generated if the\n\
|
|
specified 'max:min', a warning status will be generated if the\n\
|