npri man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



NPRI(1)								       NPRI(1)

NAME
     npri - modify the scheduling priority of a process

SYNOPSIS
     npri [ -w ] | [ -r priority [ -s policy ] ] | [ -n nice ] | [ -t slice ]
     [ -p pid ]
     npri [ -w ] | [ -r priority [ -s policy ] ] | [ -n nice ] | [ -t slice ]
     [ cmd args ... ]

DESCRIPTION
     This command allows the super-user to modify certain scheduling
     parameters of a process or to create a new process with specific
     scheduling parameters.  For a detailed description of how the parameters
     affect the scheduling of a process, please see the sched_setscheduler(2)
     manual page.  If npri is invoked without reference to a specific process
     or command to execute, it simply invokes a copy of the user's shell, as
     specified by the SHELL environment variable, with the scheduling
     characteristics specified.

OPTIONS
     The following options are supported:

     -w	       This option makes the process weightless. A weightless process
	       executes at a priority strictly less than any other process in
	       the system.

     -r priority
	       This option sets the priority of a process. For real-time
	       policies (see -s) the valid priority range is 0 to 255, while
	       the time-share policy accepts priorities ranging from 1 to 40.
	       When used without the -s option, npri will attempt to reset the
	       priority of the specified process according to its current (or
	       inherited) policy.

     -s policy This option sets the scheduling policy of a process. The
	       supported policies are FIFO and RR for real-time and TS for
	       timeshare. Both the policy and priority will be inherited by
	       any new children of the process.	 Care should be used when
	       assigning real-time policies, since such a process is not
	       preemptable by normal interactive processes.  Refer to
	       realtime(5) for more details.

     -n nice   This option sets the absolute nice value of a process.  The
	       nice value affects how normal UNIX priority calculations are
	       made.  The allowable range of nice values is 0 to 39.  Refer to
	       nice(2) for more information.

     -t slice  This option sets the time-slice for the process, in terms of
	       the basic kernel clock frequency (called ticks).	 The 4D Series
	       machines use a clock frequency of 100 hertz, so one tick is 10
	       milliseconds.  For example, a slice value of 3 gives a 30
	       millisecond time slice.	The time slice value will be inherited

									Page 1

NPRI(1)								       NPRI(1)

	       by any new children of the process.

     -h priority
	       This is the older method used to set priority previous to the
	       introduction of the -r and -s options.  It is still available
	       for backward compatibility.

     -p pid    This option names a specific process whose priority is to be
	       altered.	 This makes it possible to change priorities of a
	       running process.

SEE ALSO
     nice(2), schedctl(2), sched_setscheduler(2), realtime(5).

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net