getpriority type , id
Returns the current priority for a process, a process group, or a
indicates which of these three process types to return.
(The type identifiers are system-specific. Consult the manpage for
The priority will be an integer value.
Lower values indicate higher
priority (negative values may be
returned on some systems). Invoking