Managed to write a module to change the nice value by the process name. (Iterating through the task list,finding the process and changing the nice value). How ever this only happens once, is there a way to make the module execute at periodical intervals? Is there any timer that can be used inside the module..
It dose not show in /proc will have to poll that too(am keeping it for the next step, reading and getting data at fixed intervals. Using the above timer)