next up previous contents
Next: Interactive Mode Up: exec Previous: exec   Contents

Example

This is an example of using exec command to submit a simple job:


fnpcb> fbs exec -v -q LongQ -n 5 -r disk:3 /bin/sh -c "ls -l /tmp"
SECTION Exec
NUMPROC = 5
QUEUE = LongQ
EXEC = /bin/sh -c 'ls -l /tmp'
PROC_RESOURCES =  disk:3

Job 2536
fnpcb>

In this example, the user submitted 5-process section into LongQ queue with additional requirements of 3 units of "disk" resource per process. Each process was to execute the specified command. Because -v option was specified, JDF equivalent of submitted job was printed out.



FBSNG Home