


NICE(1)             UNIX Programmer's Manual		  NICE(1)



NAME
     nice, nohup - run a command at low priority (_s_h only)

SYNOPSIS
     nice [ -_n_u_m_b_e_r ] command [ arguments ]

     nohup command [ arguments ]

DESCRIPTION
     _N_i_c_e executes _c_o_m_m_a_n_d with low scheduling priority.  If the
     _n_u_m_b_e_r argument is present, the priority is incremented
     (higher numbers mean lower priorities) by that amount up to
     a limit of 20.  The default _n_u_m_b_e_r is 10.

     The super-user may run commands with priority higher than
     normal by using a negative priority, e.g. `--10'.

     _N_o_h_u_p executes _c_o_m_m_a_n_d immune to hangup and terminate sig-
     nals from the controlling terminal.  The priority is incre-
     mented by 5.  _N_o_h_u_p should be invoked from the shell with
     `&' in order to prevent it from responding to interrupts by
     or stealing the input from the next person who logs in on
     the same terminal.

FILES
     nohup.out standard output and standard error file under
     _n_o_h_u_p

SEE ALSO
     csh(1), setpriority(2), renice(8)

DIAGNOSTICS
     _N_i_c_e returns the exit status of the subject command.

BUGS
     _N_i_c_e and _n_o_h_u_p are particular to _s_h(1).  If you use _c_s_h(1),
     then commands executed with ``&'' are automatically immune
     to hangup signals while in the background.  There is a buil-
     tin command _n_o_h_u_p which provides immunity from terminate,
     but it does not redirect output to _n_o_h_u_p._o_u_t.

     _N_i_c_e is built into _c_s_h(1) with a slightly different syntax
     than described here.  The form ``nice +10'' nices to posi-
     tive nice, and ``nice -10'' can be used by the super-user to
     give a process more of the processor.










Printed 11/26/99	   May 8, 1986				1



