Indiana University
University Information Technology Services
  
What are archived documents?

In Unix, how should I submit CPU-intensive jobs?

Several mechanisms are available for handling large jobs in Unix, including reducing the priority of a process, running a process in the background, and, on some systems, submitting batch jobs.

On this page:


Batch jobs

For more information about the at and batch commands, see In Unix, what are at and batch, and how do I use them to submit non-interactive job requests?

For information about using LoadLeveler on the Libra Cluster at Indiana University, see Using LoadLeveler on Libra at IU.

For information about using LoadLeveler on Big Red at IU, see Getting started on Big Red.

For information about using PBS on Quarry, see:

http://rc.uits.iu.edu/hps/research/quarry/PBSguide.shtml

Changing a job's priority and running a job in the background

To immediately execute a process at a lower priority, use the nice command. For example, to run a program called a.out at lower priority, at the Unix shell prompt, enter:

nice a.out

To let the job run in the background (so that you can keep working interactively), add  &  (an ampersand) to the end of the command line:

nice a.out &

When the job is complete, you will see something like the following:

[1] Done ls (csh/tcsh)

For more information on the nice command, see the manual (man) page, which you can access by entering:

man nice

For more information on how to work with background processes, see the man page for your shell (e.g., csh, tcsh, ksh, bash).

At Indiana University, to get support for personal or departmental Linux or Unix systems, see At IU, how do I get support for Linux or Unix?

Also see:

This is document abcz in domain all.
Last modified on August 22, 2008.
Please tell us, did you find the answer to your question?