Changeset 4552 for trunk/Ohana/src/opihi/pantasks/init.c
- Timestamp:
- Jul 14, 2005, 8:18:09 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pantasks/init.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/init.c
r4539 r4552 1 # include "basic.h"2 1 # include "scheduler.h" 3 2 … … 10 9 int run PROTO((int, char **)); 11 10 int stop PROTO((int, char **)); 11 int status_sys PROTO((int, char **)); 12 int kill_job PROTO((int, char **)); 13 int delete_job PROTO((int, char **)); 12 14 13 15 static Command cmds[] = { … … 21 23 {"run", run, "run the scheduler"}, 22 24 {"stop", stop, "stop the scheduler"}, 25 {"status", status_sys, "get system status"}, 26 {"kill", kill_job, "kill job"}, 27 {"delete", delete_job, "delete job"}, 28 }; 23 29 30 /* these are functions which duplicate actions on the 31 controller. these could simply pass the command along 32 to the controller (and should then be in 'controller'), 33 or they could add / modify the jobs in the scheduler 34 job stack 35 36 {"job", job, "add job"}, 24 37 {"kill", kill_sh, "kill job"}, 25 38 {"delete", delete, "delete job"}, 26 {"job", job, "add job"}, 27 {"host", host, "add / delete / modify host"}, 28 {"check", check, "get job or host status"}, 29 {"status", status, "get system status"}, 30 {"stdout", stdout_pc, "get stdout buffer for job"}, 31 {"stderr", stderr_pc, "get stderr buffer for job"}, 32 }; 39 {"stdout", stdout_sh, "get stdout buffer for job"}, 40 {"stderr", stderr_sh, "get stderr buffer for job"}, 41 */ 33 42 34 43 void InitSched () {
Note:
See TracChangeset
for help on using the changeset viewer.
