diff options
-rw-r--r-- | print.html | 2 | ||||
-rw-r--r-- | process/taskset.html | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -2511,7 +2511,7 @@ opts: </code></pre> <div style="break-before: page; page-break-before: always;"></div><h1 id="taskset1"><a class="header" href="#taskset1">taskset(1)</a></h1> <p>Set cpu affinity for new processes or already running ones.</p> -<pre><code># Pin all (-a) tasks of new command on cores 0,1,2,4. +<pre><code class="language-sh"># Pin all (-a) tasks of new command on cores 0,1,2,4. taskset -ac 0-2,4 CMD [ARGS] # Pin all tasks of running PID onto cores 0,2,4. diff --git a/process/taskset.html b/process/taskset.html index 4a49f60..c1e5360 100644 --- a/process/taskset.html +++ b/process/taskset.html @@ -178,7 +178,7 @@ <main> <h1 id="taskset1"><a class="header" href="#taskset1">taskset(1)</a></h1> <p>Set cpu affinity for new processes or already running ones.</p> -<pre><code># Pin all (-a) tasks of new command on cores 0,1,2,4. +<pre><code class="language-sh"># Pin all (-a) tasks of new command on cores 0,1,2,4. taskset -ac 0-2,4 CMD [ARGS] # Pin all tasks of running PID onto cores 0,2,4. |