Linux: make your processes act nice
<p>The <code>nice</code> command allows to schedule the execution priority of processes. In other words controls how much CPU time will assigned to a process relative to other processes, this ensures that important processes get the CPU time is necessary to operate smoothly, Lets see how this works with some examples.</p>
<h2>Syntax</h2>
<p>The basic syntax for the <code>nice</code> command is</p>
<pre>
nice -n <value> <program> <program args></pre>
<p>the <code>-n</code> parameter can take values ranging from -20 (<strong>highest priority</strong>) to 19 (<strong>lowest priority</strong>)</p>
<p>The default “niceness” for a process not started with <code>nice</code> is 0, the default “niceness” starting a program with <code>nice</code> but not using the <code>-n</code> parameter is 10 which is a lowest priority than 0.</p>
<p><a href="https://lovethepenguin.com/linux-make-your-processes-act-nice-ad3c7fc771c7"><strong>Read More</strong></a></p>