I have a process (java) that I want to run at a lower niceness, currently I run 'sudo renice' on the process, but I want a way to automate it.
I tried making a script which would run 'sudo nice', but then realized that whatever process I run with this command would have that process running as root, which I dont want Java to have root on my system.
So is there any setting I can change or add that would always run a process at an adjusting nice level?
Thnx
Bookmarks