getpriority() in #include <sys/resource.h> and use PRIO_PROCESS
setpriority()
Use the top command to inspect priority and nice values for running tasks on the system
top while running the previous two exercises. Do you see the values changing as you’d expect? Why (not)?Adjust the blink program