Changeset 4693
- Timestamp:
- Aug 1, 2005, 4:54:17 AM (21 years ago)
- Location:
- trunk/Ohana/src/opihi
- Files:
-
- 6 added
- 3 deleted
- 41 edited
-
Makefile (modified) (2 diffs)
-
include/data.h (modified) (6 diffs)
-
include/dvomath.h (modified) (1 diff)
-
include/pclient.h (modified) (1 diff)
-
include/pcontrol.h (modified) (2 diffs)
-
include/psched.h (modified) (3 diffs)
-
lib.data/IOBufferOps.c (added)
-
lib.data/Makefile (modified) (1 diff)
-
lib.data/queues.c (added)
-
lib.shell/queues.c (deleted)
-
pantasks/CheckJobs.c (modified) (1 diff)
-
pantasks/CheckSystem.c (modified) (1 diff)
-
pantasks/CheckTasks.c (modified) (1 diff)
-
pantasks/CheckTimeRanges.c (modified) (1 diff)
-
pantasks/ControllerOps.c (modified) (3 diffs)
-
pantasks/JobIDOps.c (modified) (1 diff)
-
pantasks/JobOps.c (modified) (1 diff)
-
pantasks/LocalJob.c (modified) (3 diffs)
-
pantasks/Makefile (modified) (5 diffs)
-
pantasks/TaskOps.c (modified) (1 diff)
-
pantasks/controller.c (modified) (1 diff)
-
pantasks/controller_check.c (modified) (1 diff)
-
pantasks/controller_exit.c (modified) (1 diff)
-
pantasks/controller_host.c (modified) (1 diff)
-
pantasks/controller_output.c (modified) (1 diff)
-
pantasks/controller_status.c (modified) (1 diff)
-
pantasks/delete.c (modified) (1 diff)
-
pantasks/init.c (modified) (2 diffs)
-
pantasks/job.c (modified) (1 diff)
-
pantasks/kill.c (modified) (1 diff)
-
pantasks/psched.c (added)
-
pantasks/run.c (modified) (1 diff)
-
pantasks/status.c (modified) (1 diff)
-
pantasks/stop.c (modified) (1 diff)
-
pantasks/task.c (modified) (1 diff)
-
pantasks/task_command.c (modified) (1 diff)
-
pantasks/task_host.c (modified) (1 diff)
-
pantasks/task_macros.c (modified) (1 diff)
-
pantasks/task_nmax.c (modified) (1 diff)
-
pantasks/task_periods.c (modified) (1 diff)
-
pantasks/task_trange.c (modified) (1 diff)
-
pantasks/verbose.c (modified) (1 diff)
-
pclient/IOBufferOps.c (deleted)
-
pclient/Makefile (modified) (3 diffs)
-
pcontrol/IOBufferOps.c (deleted)
-
pcontrol/Makefile (modified) (4 diffs)
-
pcontrol/help (added)
-
pcontrol/help/host (added)
-
scripts/copy.pro (added)
-
scripts/sched.pro (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/Makefile
r4689 r4693 10 10 dvo2: lib.data lib.shell cmd.basic cmd.data cmd.astro 11 11 dvo: lib.data lib.shell cmd.basic cmd.data cmd.astro 12 sched:lib.data lib.shell cmd.basic cmd.data cmd.astro13 pclient: lib.data lib.shell cmd.basic12 psched: lib.data lib.shell cmd.basic cmd.data cmd.astro 13 pclient: lib.data lib.shell cmd.basic 14 14 pcontrol: lib.data lib.shell cmd.basic 15 15 … … 18 18 PROGRAM = mana dvo 19 19 20 EXTRAS = sched pclient pcontrol20 EXTRAS = psched pclient pcontrol 21 21 22 22 SKIP = dimm -
trunk/Ohana/src/opihi/include/data.h
r4689 r4693 8 8 # define DATA_H 9 9 10 /* socket / pipe communication buffer */ 11 typedef struct { 12 char *buffer; 13 int Nalloc; 14 int Nreset; 15 int Nblock; 16 int Nbuffer; 17 } IOBuffer; 18 19 /*** typedef structs used by math functions ***/ 20 typedef struct { 21 int NLINES; 22 int Nlines; 23 char **lines; 24 char *name; 25 } Queue; 26 10 27 void InitData (); 11 28 12 /* in misc/queues.c */ 29 /* IOBuffersOps.c */ 30 int InitIOBuffer (IOBuffer *buffer, int Nalloc); 31 int FlushIOBuffer (IOBuffer *buffer); 32 int ReadtoIOBuffer (IOBuffer *buffer, int fd); 33 void FreeIOBuffer (IOBuffer *buffer); 34 35 /* in queues.c */ 13 36 void InitQueues (); 14 37 void ListQueues (); … … 18 41 char *PopQueue (Queue *queue); 19 42 20 /* in misc/sort.c */43 /* in sort.c */ 21 44 void sort (double *value, int N); 22 45 void fsort (float *value, int N); … … 27 50 void dsort_lists (double *X, double *Y, int *S, int N); 28 51 29 /* in misc/fft.c */52 /* in fft.c */ 30 53 void fft (float *Data, int N, int isign); 31 54 void fftold (float *Data, int N, int isign); … … 34 57 void fourn (float *data, int *nn, int ndim, int isign); 35 58 36 /* in misc/gaussj.c */59 /* in gaussj.c */ 37 60 int gaussj (double **a, int n, double **b, int m); 38 61 int fgaussj (float **a, int n, float **b, int m); 39 62 40 /* in misc/svdcmp.c */63 /* in svdcmp.c */ 41 64 int svdcmp (float *a, float *w, float *v, int Nx, int Ny); 42 65 43 /* in misc/spline.c */66 /* in spline.c */ 44 67 void spline (float *x, float *y, int N, float *y2); 45 68 float splint (float *x, float *y, float *y2, int N, float X); 46 69 47 /* m isc/mrqmin.c */70 /* mrqmin.c */ 48 71 float mrqcof (float *x, float *y, float *dy, int Npts, 49 72 float *par, int Npar, float **ta, float **tb, … … 62 85 void mrqfree (int Npar); 63 86 64 /* m isc/mrq2dmin.c */87 /* mrq2dmin.c */ 65 88 float mrq2dcof (float *x, float *t, float *y, float *dy, int Npts, 66 89 float *par, int Npar, float **ta, float **tb, … … 85 108 void mrq2dfree (int Npar); 86 109 87 /* misc/powell.c */110 /* powell.c */ 88 111 void powell (float *p, int Npar, float (func)() ); 89 112 90 /* misc/gaussian.c */113 /* gaussian.c */ 91 114 double gaussian (double x, double mean, double sigma); 92 115 void gauss_init (int Nbin); 93 116 double rnd_gauss (double mean, double sigma); 94 117 95 /* misc/starfuncs.c */118 /* starfuncs.c */ 96 119 double get_aperture_stats (Matrix *matrix, int X, int Y, int Npix, int Nborder, double max); 97 120 int set_rough_radii (double Ra, double Ri, double Ro); 98 121 int get_rough_star (float *data, int Nx, int Ny, int x, int y, float *xc, float *yc, float *sx, float *sy, float *sxy, float *zs, float *zp, float *sk); 99 122 100 /* misc/precess.c */123 /* precess.c */ 101 124 double BtoJ (double in_epoch); 102 125 double get_epoch (char *in_epoch, char mode); 103 126 104 /* misc/graphtools.c */127 /* graphtools.c */ 105 128 void SetLimits PROTO((Vector *xvec, Vector *yvec, Graphdata *graphmode)); 106 129 void ApplyLimits PROTO((int Xgraph, Graphdata *graphmode, int apply)); -
trunk/Ohana/src/opihi/include/dvomath.h
r3142 r4693 8 8 enum {ANYVECTOR, NEWVECTOR, OLDVECTOR}; 9 9 enum {ANYBUFFER, NEWBUFFER, OLDBUFFER}; 10 11 /*** typedef structs used by math functions ***/12 typedef struct {13 int NLINES;14 int Nlines;15 char **lines;16 char *name;17 } Queue;18 10 19 11 typedef struct { /* representation of a variable (0-D) */ -
trunk/Ohana/src/opihi/include/pclient.h
r4689 r4693 40 40 int child_stderr_fd[2]; 41 41 42 typedef struct {43 char *buffer;44 int Nalloc;45 int Nreset;46 int Nblock;47 int Nbuffer;48 } IOBuffer;49 50 42 /** buffers for I/O storage **/ 51 43 IOBuffer child_stdout; 52 44 IOBuffer child_stderr; 53 54 /** IOBuffers allow the following operations **/55 56 /* create a new, empty IOBuffer with Nalloc free space */57 int InitIOBuffer (IOBuffer *buffer, int Nalloc);58 59 /* read from the file descriptor into IOBuffer, expanding as needed */60 int ReadtoIOBuffer (IOBuffer *buffer, int fd);61 62 /* empty the current IOBuffer, realloc to a minimal size */63 int FlushIOBuffer (IOBuffer *buffer);64 65 /* free memory associated with IOBuffer */66 void FreeIOBuffer (IOBuffer *buffer);67 45 68 46 int InitChild (); -
trunk/Ohana/src/opihi/include/pcontrol.h
r4689 r4693 42 42 PCLIENT_GOOD = 1, 43 43 } PclientStat; 44 45 typedef struct {46 char *buffer;47 int Nalloc;48 int Nreset;49 int Nblock;50 int Nbuffer;51 } IOBuffer;52 44 53 45 typedef struct { … … 109 101 # define FREE(X) if (X != NULL) { free (X); } 110 102 # define CLOSE(FD) { if (FD) close (FD); FD = 0; } 111 112 /** IOBuffers allow the following operations (see pclient.h) **/113 int InitIOBuffer (IOBuffer *buffer, int Nalloc);114 int ReadtoIOBuffer (IOBuffer *buffer, int fd);115 int FlushIOBuffer (IOBuffer *buffer);116 void FreeIOBuffer (IOBuffer *buffer);117 103 118 104 void InitPcontrol (); -
trunk/Ohana/src/opihi/include/psched.h
r4692 r4693 23 23 24 24 enum {RANGE_ABS, RANGE_DAY, RANGE_WEEK}; 25 26 /* socket / pipe communication buffer */27 typedef struct {28 char *buffer;29 int Nalloc;30 int Nreset;31 int Nblock;32 int Nbuffer;33 } IOBuffer;34 25 35 26 typedef struct { … … 110 101 /* scheduler prototypes */ 111 102 112 void InitSched (); 113 114 char *memstr (char *m1, char *m2, int n); 103 void InitPsched (); 115 104 116 105 void InitTasks (); … … 165 154 int PrintControllerOutput (); 166 155 167 int InitIOBuffer (IOBuffer *buffer, int Nalloc);168 int FlushIOBuffer (IOBuffer *buffer);169 int ReadtoIOBuffer (IOBuffer *buffer, int fd);170 void FreeIOBuffer (IOBuffer *buffer);171 156 int KillControllerJob (Job *job); 172 157 int CheckControllerStatus (); -
trunk/Ohana/src/opihi/lib.data/Makefile
r3525 r4693 36 36 $(SDIR)/open_graph.$(ARCH).o \ 37 37 $(SDIR)/open_image.$(ARCH).o \ 38 $(SDIR)/IOBufferOps.$(ARCH).o \ 38 39 $(SDIR)/PlotVectors.$(ARCH).o 39 40 -
trunk/Ohana/src/opihi/pantasks/CheckJobs.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int CheckJobs () { -
trunk/Ohana/src/opihi/pantasks/CheckSystem.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int CheckSystem () { -
trunk/Ohana/src/opihi/pantasks/CheckTasks.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int CheckTasks () { -
trunk/Ohana/src/opihi/pantasks/CheckTimeRanges.c
r4602 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int CheckTimeRanges (TimeRange *ranges, int Nranges) { -
trunk/Ohana/src/opihi/pantasks/ControllerOps.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 # define CONTROLLER_TIMEOUT 20 3 3 # define CONNECT_TIMEOUT 300 … … 350 350 exit (2); 351 351 case -1: /* no data in pipe */ 352 break; 353 case 0: /* pipe is closed */ 354 /** change child state? **/ 355 break; 352 case 0: /* pipe is closed, change child state? **/ 356 353 default: /* data in pipe */ 357 354 break; … … 365 362 exit (2); 366 363 case -1: /* no data in pipe */ 367 break; 368 case 0: /* pipe is closed */ 369 /** change child state? **/ 370 break; 364 case 0: /* pipe is closed, change child state? **/ 371 365 default: /* data in pipe */ 372 366 break; -
trunk/Ohana/src/opihi/pantasks/JobIDOps.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 # define MAX_N_JOBS 1000 -
trunk/Ohana/src/opihi/pantasks/JobOps.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 static Job **jobs; -
trunk/Ohana/src/opihi/pantasks/LocalJob.c
r4691 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 /* this could be written a just a one-way pipe */ … … 66 66 CheckLocalJobStatus (job); 67 67 68 /* read stdout buffer */ 69 Nread = ReadtoIOBuffer (&job[0].stdout, job[0].stdout_fd); 70 switch (Nread) { 71 case -2: /* error in read (programming error? system level error?) */ 72 fprintf (stderr, "serious IO error\n"); 73 exit (2); 74 case -1: /* no data in pipe */ 75 break; 76 case 0: /* pipe is closed */ 77 /** change child state? **/ 78 break; 79 default: /* data in pipe */ 80 break; 81 } 68 if ((job[0].state == JOB_EXIT) || (job[0].state == JOB_CRASH)) { 69 EmptyIOBuffer (&job[0].stdout, job[0].stdout_fd); 70 EmptyIOBuffer (&job[0].stderr, job[0].stderr_fd); 71 } else { 72 /* read stdout buffer */ 73 Nread = ReadtoIOBuffer (&job[0].stdout, job[0].stdout_fd); 74 switch (Nread) { 75 case -2: /* error in read (programming error? system level error?) */ 76 fprintf (stderr, "serious IO error\n"); 77 exit (2); 78 case -1: /* no data in pipe */ 79 case 0: /* pipe is closed, change child state? **/ 80 default: /* data in pipe */ 81 break; 82 } 82 83 83 /* read stderr buffer */ 84 Nread = ReadtoIOBuffer (&job[0].stderr, job[0].stderr_fd); 85 switch (Nread) { 86 case -2: /* error in read (programming error? system level error?) */ 87 fprintf (stderr, "serious IO error\n"); 88 exit (2); 89 case -1: /* no data in pipe */ 90 break; 91 case 0: /* pipe is closed */ 92 /** change child state? **/ 93 break; 94 default: /* data in pipe */ 95 break; 84 /* read stderr buffer */ 85 Nread = ReadtoIOBuffer (&job[0].stderr, job[0].stderr_fd); 86 switch (Nread) { 87 case -2: /* error in read (programming error? system level error?) */ 88 fprintf (stderr, "serious IO error\n"); 89 exit (2); 90 case -1: /* no data in pipe */ 91 case 0: /* pipe is closed, change child state? **/ 92 default: /* data in pipe */ 93 break; 94 } 96 95 } 97 96 return (TRUE); … … 101 100 102 101 int result, waitstatus; 102 103 /*** if child has exited, does the pipe hang around until it is flushed? ***/ 104 /*** who closes the child stdout/stderr fd? */ 103 105 104 106 /* check local job status */ -
trunk/Ohana/src/opihi/pantasks/Makefile
r4691 r4693 7 7 LIB = $(HOME)/lib 8 8 INC = $(HOME)/include 9 SDIR = $(HOME)/ sched9 SDIR = $(HOME)/psched 10 10 # 11 11 DESTBIN = $(LBIN) … … 13 13 DESTINC = $(LINC) 14 14 DESTMAN = $(LMAN) 15 DESTHLP = $(LHLP)/ sched15 DESTHLP = $(LHLP)/psched 16 16 # 17 17 INCS = -I$(INC) -I$(LINC) -I$(XINC) … … 27 27 funcs = \ 28 28 $(SDIR)/init.$(ARCH).o \ 29 $(SDIR)/ scheduler.$(ARCH).o \29 $(SDIR)/psched.$(ARCH).o \ 30 30 $(SDIR)/CheckJobs.$(ARCH).o \ 31 31 $(SDIR)/CheckSystem.$(ARCH).o \ … … 36 36 $(SDIR)/JobOps.$(ARCH).o \ 37 37 $(SDIR)/JobIDOps.$(ARCH).o \ 38 $(SDIR)/TaskOps.$(ARCH).o \ 39 $(SDIR)/IOBufferOps.$(ARCH).o 38 $(SDIR)/TaskOps.$(ARCH).o 40 39 41 40 cmds = \ … … 67 66 $(DESTLIB)/libdatacmd.a 68 67 69 all: scheduler68 all: psched 70 69 71 scheduler: $(BIN)/scheduler.$(ARCH)70 psched: $(BIN)/psched.$(ARCH) 72 71 @echo done 73 72 74 $(BIN)/ scheduler.$(ARCH) : $(funcs) $(cmds) $(libs)73 $(BIN)/psched.$(ARCH) : $(funcs) $(cmds) $(libs) 75 74 76 install: $(DESTBIN)/ schedulerhelp75 install: $(DESTBIN)/psched help 77 76 78 help: cmd.basic.help cmd.data.help cmd.astro.help sched.help77 help: cmd.basic.help cmd.data.help cmd.astro.help psched.help 79 78 80 79 # utilities ################################################# -
trunk/Ohana/src/opihi/pantasks/TaskOps.c
r4684 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 static Task **tasks; -
trunk/Ohana/src/opihi/pantasks/controller.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int controller_host PROTO((int, char **)); -
trunk/Ohana/src/opihi/pantasks/controller_check.c
r4573 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int controller_check (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/controller_exit.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int controller_exit (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/controller_host.c
r4573 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int controller_host (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/controller_output.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int controller_output (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/controller_status.c
r4573 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int controller_status (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/delete.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int delete_job (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/init.c
r4603 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int controller PROTO((int, char **)); … … 47 47 */ 48 48 49 void Init Sched () {49 void InitPsched () { 50 50 51 51 int i; -
trunk/Ohana/src/opihi/pantasks/job.c
r4552 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 /* this will require a bit of care: to define a job, we need -
trunk/Ohana/src/opihi/pantasks/kill.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int kill_job (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/run.c
r4552 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int run (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/status.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int status_sys (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/stop.c
r4552 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int stop (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/task.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 # define prompt "> " 3 3 -
trunk/Ohana/src/opihi/pantasks/task_command.c
r4684 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int task_command (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/task_host.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int task_host (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/task_macros.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 # define D_NLINES 100 3 3 # define prompt "> " -
trunk/Ohana/src/opihi/pantasks/task_nmax.c
r4684 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int task_nmax (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/task_periods.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int task_periods (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/task_trange.c
r4689 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 int task_trange (int argc, char **argv) { -
trunk/Ohana/src/opihi/pantasks/verbose.c
r4602 r4693 1 # include " scheduler.h"1 # include "psched.h" 2 2 3 3 static int VERBOSE = FALSE; -
trunk/Ohana/src/opihi/pclient/Makefile
r4691 r4693 28 28 $(SDIR)/init.$(ARCH).o \ 29 29 $(SDIR)/pclient.$(ARCH).o \ 30 $(SDIR)/IOBufferOps.$(ARCH).o \31 30 $(SDIR)/ChildOps.$(ARCH).o \ 32 31 … … 54 53 install: $(DESTBIN)/pclient help 55 54 56 help: c md.basic.help pclient.help55 help: clean-help cmd.basic.help pclient.help 57 56 58 57 # utilities ################################################# … … 91 90 rm -f `find . -name "#*"` 92 91 92 clean-help: 93 @if [ ! -d $(DESTHLP) ]; then mkdir -p $(DESTHLP); fi 94 rm -f $(DESTHLP)/* 95 93 96 dist: clean 94 97 rm -f $(BIN)/* -
trunk/Ohana/src/opihi/pcontrol/Makefile
r4691 r4693 38 38 $(SDIR)/GetJobOutput.$(ARCH).o \ 39 39 $(SDIR)/HostOps.$(ARCH).o \ 40 $(SDIR)/IOBufferOps.$(ARCH).o \41 40 $(SDIR)/JobID.$(ARCH).o \ 42 41 $(SDIR)/JobOps.$(ARCH).o \ … … 74 73 install: $(DESTBIN)/pcontrol help 75 74 76 help: c md.basic.help cmd.data.help pcontrol.help75 help: clean-help cmd.basic.help pcontrol.help 77 76 78 77 # utilities ################################################# … … 111 110 rm -f `find . -name "#*"` 112 111 112 clean-help: 113 @if [ ! -d $(DESTHLP) ]; then mkdir -p $(DESTHLP); fi 114 rm -f $(DESTHLP)/* 115 113 116 dist: clean 114 117 rm -f $(BIN)/* … … 128 131 129 132 %.help: 130 @if [ ! -d $(DESTHLP) ]; then mkdir -p $(DESTHLP); fi131 133 rm -f $(HOME)/$*/help/*~ 132 134 rm -f $(HOME)/$*/help/#* -
trunk/Ohana/src/opihi/scripts/sched.pro
r4691 r4693 1 1 2 controller host alala2 # controller host alala 3 3 4 4 task test 5 command date5 command ls /data/eugene 6 6 periods -poll 1.0 7 7 periods -exec 5.0 8 8 periods -timeout 10.0 9 trange 07:09 07:10 10 trange -exclude 07:09:30 07:09:45 9 # trange 07:09 07:10 10 # trange -exclude 07:09:30 07:09:45 11 nmax 1 11 12 host local 12 13 # host localhost … … 20 21 # note that $stdout/$stderr may contain return characters 21 22 # which will interfere with 'exec' 22 output success.log23 # push ls.list $stdout 23 24 echo $stdout 24 output stdout25 25 end 26 26
Note:
See TracChangeset
for help on using the changeset viewer.
