/[monit]/monit/monitor.c
ViewVC logotype

Diff of /monit/monitor.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.60 by hauk, Fri Aug 29 16:58:07 2003 UTC revision 1.61 by martinp, Tue Sep 2 05:29:05 2003 UTC
# Line 752  static void help() { Line 752  static void help() {
752    printf(" -V           Print version number and patchlevel\n");    printf(" -V           Print version number and patchlevel\n");
753    printf(" -h           Print this text\n");    printf(" -h           Print this text\n");
754    printf(    printf(
755      "Optional action arguments for non-daemon mode are as follows:\n"      "Optional action arguments for non-daemon mode are as follows:\n");
756      " start all      - Start all services\n"    printf(
757      " start name     - Only start the named service\n"      " start all      - Start all services\n");
758      " stop all       - Stop all services\n"    printf(
759      " stop name      - Only stop the named service\n"      " start name     - Only start the named service\n");
760      " restart all    - Stop and start all services\n"    printf(
761      " restart name   - Only restart the named service\n"      " stop all       - Stop all services\n");
762      " monitor all    - Enable monitoring of all services\n"    printf(
763      " monitor name   - Only enable monitoring of the named service\n"      " stop name      - Only stop the named service\n");
764      " unmonitor all  - Disable monitoring of all services\n"    printf(
765      " unmonitor name - Only disable monitoring of the named service\n"      " restart all    - Stop and start all services\n");
766      " reload         - Reinitialize monit\n"    printf(
767      " status         - Print status information for each service\n"      " restart name   - Only restart the named service\n");
768      " quit           - Kill monit daemon process\n"    printf(
769      " validate       - Check all services and start if not running\n"      " monitor all    - Enable monitoring of all services\n");
770      "\n"    printf(
771      " (Action arguments operate on services defined in the control file)\n"      " monitor name   - Only enable monitoring of the named service\n");
772      printf(
773        " unmonitor all  - Disable monitoring of all services\n");
774      printf(
775        " unmonitor name - Only disable monitoring of the named service\n");
776      printf(
777        " reload         - Reinitialize monit\n");
778      printf(
779        " status         - Print status information for each service\n");
780      printf(
781        " quit           - Kill monit daemon process\n");
782      printf(
783        " validate       - Check all services and start if not running\n");
784      printf(
785        "\n");
786      printf(
787        " (Action arguments operate on services defined in the control file)\n");
788    );    );
789    
790  }  }

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26