Linux – change linux process priority

command-line-interfacelinuxprocess

I ran a jar file in Linux and it is running from last 3 days.

How can I change priority of that process? Will it speedup my
application processing?

Best Answer

How can I change priority of that process?

renice priority [-p] pid

Useful priorities are: 20 (the affected processes will run only when nothing else in the system wants to), 0 (the ``base'' scheduling priority), anything negative (to make things go very fast)

Example: renice -5 -p 123, 123 is process PID, -5 is priority

Will it speedup my application processing?

No, if load average less number of CPU core.