PTASKSET(1)

πŸ“¦
version 0.6 Β· 2 versions
  • 0.6 Β· debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.6 Β· fedora 43, fedora 44
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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. πŸ’…πŸŽ€β­