aboutsummaryrefslogtreecommitdiffhomepage
path: root/process/taskset.html
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2024-08-28 21:17:03 +0000
committerjohannst <johannst@users.noreply.github.com>2024-08-28 21:17:03 +0000
commit3f8bb2b68b98c5f9032340c4847259204e86cbd5 (patch)
tree9e2dd0d38d676019b586a9665f048f15ad044684 /process/taskset.html
parent3b226d19bb19a87eb565f3e1d16e14f446b56e76 (diff)
downloadnotes-3f8bb2b68b98c5f9032340c4847259204e86cbd5.tar.gz
notes-3f8bb2b68b98c5f9032340c4847259204e86cbd5.zip
deploy: dfb198cc07f8774e192279b18b4deb5e4275a4d0
Diffstat (limited to 'process/taskset.html')
-rw-r--r--process/taskset.html2
1 files changed, 1 insertions, 1 deletions
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.