NICE(1CSH) COMMAND REFERENCE NICE(1CSH) NAME nice - run a command at a different priority (csh built-in) SYNOPSIS nice [ {+-}number ] [ command [ args... ] ] DESCRIPTION With no command arguments, nice raises or lowers the priority of the current shell. With a command, that command is run in a separate shell with the priority raised or lowered. Non-superusers may only lower the priority, and thus may only use the `+' before the number. The superuser may raise the priority by using the `-' before the number. The default number argument is `+4'. The valid range of priorities is -20 to 20, with -20 being the highest, 20 the lowest, and 0 the normal default priority. OPTIONS +number Make the new priority equal to the old priority plus the given number, with a maximum of 20. -number Make the new priority equal to the old priority minus the given number, with a minimum of -20. EXAMPLES To run the command ``make myprog'' at a priority that is 4 lower than the current priority, use either of the following command lines. nice +4 make myprog nice make myprog RETURN VALUE The return value is the value returned by the command executed (0 if no command), or 1 if the command was not found. CAVEATS The syntax for nice is very different from nice(1). Once the current shell is niced down, its priority can only be raised by the superuser, so it is recommended that nice(1) be used in an alias for nice so that accidents are avoided. SEE ALSO @(1csh), alias(1csh), bg(1csh), break(1csh), cd(1csh), chdir(1csh), continue(1csh), csh(1csh), dirs(1csh), echo(1csh), eval(1csh), exec(1csh), exit(1csh), fg(1csh), Printed 5/12/88 1
NICE(1CSH) COMMAND REFERENCE NICE(1CSH) glob(1csh), goto(1csh), hashstat(1csh), history(1csh), jobs(1csh), kill(1csh), limit(1csh), logout(1csh), nice(1), nohup(1csh), notify(1csh), onintr(1csh), popd(1csh), ps(1), pushd(1csh), rehash(1csh), renice(1), repeat(1csh), set(1csh), setenv(1csh), sh(1sh), shift(1csh), source(1csh), stop(1csh), suspend(1csh), time(1csh), umask(1csh), unhash(1csh), unalias(1csh), unlimit(1csh), unset(1csh), unsetenv(1csh), wait(1csh), which(1csh), getpriority(2), and setpriority(2). Printed 5/12/88 2
%%index%% na:312,141; sy:453,253; de:706,748; op:1454,364; ex:1818,298; rv:2116,256; ca:2372,439; se:2811,477;3672,1214; %%index%%000000000144