Function ioprio::set_priority [−][src]
pub fn set_priority(target: Target, priority: Priority) -> Result<()>
Expand description
Set the I/O priority of the processes of the given target.
Note that increasing the priority class to real-time, will require elevated privileges (namely
CAP_SYS_ADMIN
). Additionally, this process must also have the permissions to modify the
target process or group, or have CAP_SYS_NICE
.
Refer to ioprio_set(2) for further information.