Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ renice(1m) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                               renice(1m)



        _________________________________________________________________
        renice
        alter priority of running processes
        _________________________________________________________________


        SYNTAX

        /etc/renice priority [ [ -p ] pid ... ] [ [ -g ] pgrp ... ] [ [
        -u ] user ... ]

        /etc/renice nice pid [ pid ]


        DESCRIPTION

        Renice alters the scheduling priority of one or more running
        processes.  In the DG/UX System, users other than superuser can
        alter the nice (priority) of processes they own, but only to a
        higher number (lower priority).

        Arguments are:

        priority  An integer in the range -20 to +20; 0 is the default.

        pid       A process identification number.

        pgrp      A process group ID.

        user      A user name.

        nice      An integer in the range 0 to 39; 19 is the default.

        Options are:

             -p   Processes whose process ids are specified; this is the
                  default.

             -g   Processes in the specified process group.

             -u   Processes owned by the specified user.

        Useful priorities in DG/UX are:

        20 (39)   The affected processes will run only when nothing else
                  in the system wants to.

        0 (19)    This is the ``base'' scheduling priority.

        <0 (<19)  Low numbers make processes go very fast.




        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)





                                                               renice(1m)



        EXAMPLE

             /etc/renice +1 987 -u daemon root -p 32

        changes the priority of process ID's 987 and 32, and all
        processes owned by users daemon and root.


        FILES

        /dgux
        /etc/passwd    To map user names to user id's


        SEE ALSO

        nice(1), getpriority(2), setpriority(2).


        BUGS

        If you make the nice (priority) a very low number (e.g., -20),
        the process cannot be interrupted.  To regain control, make the
        nice greater than 0.

        Non-superusers cannot increase scheduling priorities of their own
        processes, even if they were the ones that decreased the
        priorities in the first place.


























        DG/UX 4.00                                                 Page 2
               Licensed material--property of copyright holder(s)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026