IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 15, 2009, 3:42:06 PM (17 years ago)
Author:
eugene
Message:

add tracking of uniquely-named machines and feature to limit the number of unwanted-host jobs (and additional pantasks / pcontrol commands

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/init.c

    r16460 r26411  
    88int jobstack    PROTO((int, char **));
    99int kill_pc     PROTO((int, char **));
     10int machines    PROTO((int, char **));
     11int parameters  PROTO((int, char **));
     12int run         PROTO((int, char **));
    1013int status      PROTO((int, char **));
    11 int run         PROTO((int, char **));
    1214int stderr_pc   PROTO((int, char **));
    1315int stdout_pc   PROTO((int, char **));
     
    1921
    2022static Command cmds[] = { 
    21   {1, "host",      host,      "add / delete / modify host"},
    22   {1, "hoststack", hoststack, "list hosts for a single stack"},
    23   {1, "status",    status,    "get system status"},
    24   {1, "stop",      run,       "stop controller processing"},
    25   {1, "run",       run,       "set controller runlevel"},
    26   {1, "verbose",   verbose,   "set the verbose mode for job"},
    27   {1, "version",   version,   "show version information"},
    28   {1, "job",       job,       "add job"},
    29   {1, "jobstack",  jobstack,  "list jobs for a single stack"},
    30   {1, "check",     check,     "get job or host status"},
    31   {1, "delete",    delete,    "delete job"},
    32   {1, "kill",      kill_pc,   "kill job"},
    33   {1, "stderr",    stderr_pc, "get stderr buffer for job"},
    34   {1, "stdout",    stdout_pc, "get stdout buffer for job"},
    35 # ifndef THREADED
    36   {1, "pulse",     pulse,     "set system pulse"},
     23  {1, "check",      check,      "get job or host status"},
     24  {1, "delete",     delete,     "delete job"},
     25  {1, "host",       host,       "add / delete / modify host"},
     26  {1, "hoststack",  hoststack,  "list hosts for a single stack"},
     27  {1, "job",        job,        "add job"},
     28  {1, "jobstack",   jobstack,   "list jobs for a single stack"},
     29  {1, "kill",       kill_pc,    "kill job"},
     30  {1, "machines",   machines,   "list machines"},
     31  {1, "parameters", parameters, "get / set system parameters"},
     32  {1, "run",        run,        "set controller runlevel"},
     33  {1, "status",     status,     "get system status"},
     34  {1, "stderr",     stderr_pc,  "get stderr buffer for job"},
     35  {1, "stdout",     stdout_pc,  "get stdout buffer for job"},
     36  {1, "stop",       run,        "stop controller processing"},
     37  {1, "verbose",    verbose,    "set the verbose mode for job"},
     38  {1, "version",    version,    "show version information"},
     39# ifndef THREADED               
     40  {1, "pulse",      pulse,      "set system pulse"},
    3741# endif
    3842};
     
    4751  InitJobStacks ();
    4852  InitHostStacks ();
     53  InitMachines ();
    4954}
    5055
     
    5257  FreeJobStacks ();
    5358  FreeHostStacks ();
     59  FreeMachines ();
    5460}
Note: See TracChangeset for help on using the changeset viewer.