SYNTAX

    setpriority [options] <priority>


OPTIONS

-h (--help) bool

Display help.

-m (--match) string

Wait for threads matching the passed in name to be created, and change their priority when they do. Pass in a name or wildcarded partial name. For example to set all threads created in tail.exe to priority 19, do: setpriority 19 -m tail.exe*

-p (--pid) uint

The ID of the process whose priority you want to change. Can be specified more than once.

-t (--tid) uint

The ID of the thread whose priority you want to change. Can be specified more than once.


ARGUMENTS

<priority>

The priority to set. [int]


DESCRIPTION

Set the priority of a thread or process.

For threads, the priority must be either an absolute kernel priority between 0 and 64, or a relative thread priority as follows:

    Idle:       101
    MuchLess:   102
    Less:       103
    Normal:     104
    More:       105
    MuchMore:   106
    RealTime:   107

For processes, the only settable priorities are:

    Low:        150
    Background: 250
    Foreground: 350
    High:       450


COPYRIGHT

Copyright (c) 2008-2010 Accenture. All rights reserved.