| Option | Description |
| -N <name> | Specifies the name of the job. |
| -o <[/path/]file> | Place for standard output stream of the job. |
| -e <[/path/]file> | Place for standard error stream of the job. |
| -j y | Specifies whether or not the standard error stream of the job is merged into the standard output stream. |
| -S </path/shell> | Specifies the interpreting shell for the job. |
| -cwd | Execute the job from the current working directory. (Default is the user's home directory.) |
| -V | Specifies that all environment variables active within the qsub utility be exported to the context of the job. |
| -a [[CC]]YY]MMDDhhmm.[ss] | Time when the job becomes runnable. |
| -p <priority> | Priority between -1023 - 1024. Normal users can only lower the priority of their jobs. |
| -l <resource> | List of resources the job needs. |
| -r no | Do not restart the job, even if the node running the job crashes. |
| -t n[-m[:s]] | Run the job as array job. Arguments n, m and s will be available through the environment variables SGE_TASK_FIRST, SGE_TASK_LAST ja SGE_TASK_STEPSIZE. The index numbers will be exported to the job tasks via the environment variable SGE_TASK_ID. |
| -q <queue> | Queue or comma separated list of queues which can be used to run the job. |
| -m b|e|a|s|n | Send email notifications about the job
-m b Mail is sent at the beginning of the job. If you use this option, remember to also use -M to specify the email address. One job can have multiple -m options. |
| -M <mail@addre.ss> | Specifies the email address to which send notifications. If you use -m option, remember to also set this. |
mustaharakka:~$ cat .sge_request -q outolintu -M aoksavuo@cs.tut.fi -m b -m eExample uses the outolintu-queue and sends email notifications at job start and end to aoksavuo@cs.tut.fi.
| Resource | Explanation |
| arch | Architecture the job will be run on, either lx24-x86 or sol-sparc64. |
| h_cpu=HH:MM:SS | cputime, time job is allowed to spend on cpu. When the limit is reached job will be killed. |
| h_rt=HH:MM:SS | realtime, time job is allowed to spend. When the limit is reached job will be killed.
By default the limit is 24 hours. Bigger limits, for example 4 days, can be given like this: qsub -l h_rt=96:0:0 ./skripti.sh |
| mf=<amount> | memoryfree, required amount of free physical memory. For example require host running the job to have at least 1 GB of free memory: qsub -l mf=1G ./skripti.sh |
| mt=<amount> | memorytotal, required amount of total physical memory. |
| slots=<num> | Number of slots required to run the job, 1 by default. If single task consist of many computing threads, it might be good to reserve more than 1 slot for it. Larger than 2 values are not recommended, because currently any computing node doesn't have more than 2 processors, and thus job with slot requirement >2 might not be possible to schedule. |
| vf=<amount> | virtualfree, required amount of free virtual memory. |
| vt=<amount> | virtualtotal, required amount of total virtual memory. |
| Option | Description |
| -u username | Lists users jobs |
| -f | Specifies a "full" format display of information. |
| -j [job_list] | Prints information either for all pending jobs or the jobs contained in job_list. |
| -q <queue_list> | Print information for specific queues. |
| Option | Description |
| -f | Forces the remove of the job even if the execution node running the job doesn't respond. |