brian-lau / MatlabProcessManager

Matlab class for launching and managing asynchronous processes
BSD 2-Clause "Simplified" License
22 stars 12 forks source link

Method for changing priority of process #4

Open brian-lau opened 7 years ago

brian-lau commented 7 years ago

Would be useful to change priority of process. Doesn't seem to be a way to do this using Runtime, but at least on Unix systems, we could renice the process after launch.

brian-lau commented 7 years ago

Can use nice/renice on Unix Windows wmic? https://msdn.microsoft.com/en-us/library/aa394531(v=vs.85).aspx

brian-lau commented 7 years ago

http://woshub.com/process-priority-management-in-windows/ https://stackoverflow.com/questions/23996307/set-process-priority-on-already-running-process-batch-file https://fr.mathworks.com/matlabcentral/answers/89854-setting-default-priority-for-matlabpool-processes https://askubuntu.com/questions/656771/process-niceness-vs-priority

https://www.nixtutor.com/linux/changing-priority-on-linux-processes/ https://blog.heckel.xyz/2014/06/14/getting-the-java-process-pid-and-managing-pid-files-linux-windows/