Go to the previous, next section.
Another strategy for using processor resources wisely is spreading
the load -- performing work outside of periods of peak usage. The
w
and uptime
commands list load averages.
These commands return three numbers which describe cpu usage averaged over the last 1, 5, and 15 minutes. If you see high load averages, consider logging out and doing other work for awhile. You will enjoy better response when the load averages come down, and you will help the current users get their work done faster.
Some systems have the batch command. It allows you to submit jobs into a queue which then gets run serially. This is a useful way to limit CPU bound programs. Sometimes the at command can be used to postpone work until later.
You will find that periods of peak usage are cyclic, peaking every day in the afternoons and evenings, and during the academic year just before due dates for computer assignments. If you wait until the system is heavily loaded, you won't have much choice of when to do your work. Do your work early.
You might want to put the uptime command in your `.login' file.
Go to the previous, next section.