home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

getpriority

getpriority 
type
, 
id

Returns the current priority for a process, a process group, or a user. type indicates which of these three process types to return. (The type identifiers are system-specific. Consult the manpage for getpriority .) The id gives the specific ID of the corresponding process type in type : a process ID, a process-group ID, or a user ID. The value 0 in who gives the priority for the current process, process group, or user.

The priority will be an integer value. Lower values indicate higher priority (negative values may be returned on some systems). Invoking getpriority will produce a fatal error if used on a machine that doesn't implement the getpriority system call.











??????????????@Mail.ru