Returns the niceness of a process.
fn process_niceness(id: i32) -> Result<u8, Errno>
The process to inspect, or 0 for this process.
0
The niceness is a value between 1 and 40, with higher values meaning more favorable scheduling.
getpriority(2)