|[ Performance World Home | Board | Tools | PerformanceLib | Links | Gams World Forum | Search | Contact ]|
>>gams schulz --watch=(process to watch) --time=(type of time monitored) --sleep=(frequency of checking in sec) --resseq=(list of times where action is required - in seconds separated by a colon :) --sigseq=(list of corresponding signals to send to the processes - separated by a colon :)The options --trace1 and --trace2 are required inputs. All of the other --options are optional, that is if ommitted they are set to default options as described in the next section. A sample call is:
>>gams schulz --watch ^gms --time etime --sleep 60 --resseq 120:180:240 --sigseq 2:1:9These are the schulz.gms default parameters. A 'schulz' job is terminated with Ctrl-C.
|--watch||Text||Process names to watch. Argument is a regular expression.||^gms|
|--time||Text||Type of time that should be monitored (PC: etime/cputime/kerneltime, Unix: every 'time' column accessible with -o for ps) (in seconds)||etime|
|--sleep||Integer||Frequency of checking (in seconds)||60|
|--resseq||Integers, seperated by :||List of times where action is required (in seconds separated by :)||120:180:240|
|--sigseq||Integers, seperated by :||List of corresponding signals to send to the processes (separated by :). Try "man signal" on Unix for more information.||2:1:9|