---
name: "ptaskset"
section: "1"
platform: "linux"
package: "python3-schedutils"
version: "0.6-4+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ptaskset"
---

# ptaskset(1)

set or get the affinity of a process (python-schedutils)

## NAME

**ptaskset - set or get the affinity of a process (python-schedutils)**

## SYNOPSIS

ptaskset \[options\] \[mask \| cpu-list\] \[pid \| cmd \[args...\]\]

## OPTIONS

- **-p, --pid**

  operate on existing given pid

- **-c, --cpu-list**

  display and specify cpus in list format

- **-h, --help**

  display help

## SEE ALSO

[**taskset**(1)](/taskset/1.md)

## 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\>
