PTASKSET(1)
π PTASKSET π
okay bestie, so this is ptaskset β a lil tool that sets or gets the affinity of a process, and it comes from python-schedutils. it's giving "I know exactly which CPU you belong on" energy and honestly? iconic. π
Affinity = which CPU(s) your process is allowed to hang out on. ptaskset = the matchmaker. periodt. β¨
πΈ SYNOPSIS πΈ
ptaskset [options] [mask | cpu-list] [pid | cmd [args...]]
like yes, that's a lot of brackets, breathe. it's just options, then the CPU stuff, then who you're doing it to. π«Ά
π OPTIONS π
-p,--pidβ operate on an existing given pid. so instead of launching something new, you're like "hey, that process that's already running? yeah, her." π-c,--cpu-listβ display and specify cpus in list format. so instead of a big ol' mask, you just say which CPUs you want, cute and readable. π¦-h,--helpβ display help. the classic. when in doubt, ask for help. no shame, we've all been there. π
π SEE ALSO π
π AUTHOR π
ptaskset was written by Arnaldo Carvalho de Melo <acme@redhat.com> as part of python-schedutils π
this manual page was written by John Kacur <jkacur@redhat.com> β¨
report bugs and send patches to <tuna-devel@lists.fedorahosted.org> β yes bestie, they actually want your patches, don't be shy. π
okay that's the whole thing! π this page is living its best life from May 10 2016, and it's part of the General Commands Manual situation. she's been slaying since 2016 and honestly? ate. π πβ
π¦ where this page comes from
- debian bookworm: python3-schedutils 0.6-3+b3 Β· GPL-2.0-only
- debian trixie: python3-schedutils 0.6-4+b2 Β· GPL-2.0-only
- ubuntu jammy: python3-schedutils 0.6-2.1build2 Β· GPL-2.0-only
- ubuntu noble: python3-schedutils 0.6-3build4 Β· GPL-2.0-only
- ubuntu questing: python3-schedutils 0.6-4build2
- ubuntu resolute: python3-schedutils 0.6-4build4 Β· GPL-2.0-only
- ubuntu stonking: python3-schedutils 0.6-4build4 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms