chrt
Manipulate the real-time attributes of a process. More information: <https://man7.org/linux/man-pages/man1/chrt.1.html>.
Install
- All systems
-
curl cmd.cat/chrt.sh
- Debian
-
apt-get install util-linux
- Ubuntu
-
apt-get install util-linux
- Alpine
-
apk add util-linux
- Arch Linux
-
pacman -S util-linux
- Kali Linux
-
apt-get install util-linux
- CentOS
-
yum install util-linux
- Fedora
-
dnf install util-linux
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install util-linux
- OS X
-
brew install util-linux
- Raspbian
-
apt-get install util-linux
- Dockerfile
- dockerfile.run/chrt
- Docker
-
docker run cmd.cat/chrt chrt
powered by Commando
Manipulate the real-time attributes of a process. More information: <https://man7.org/linux/man-pages/man1/chrt.1.html>.
-
Display attributes of a process:
chrt --pid PID
-
Display attributes of all threads of a process:
chrt --all-tasks --pid PID
-
Display the min/max priority values that can be used with `chrt`:
chrt --max
-
Set the scheduling policy for a process:
chrt --pid PID --deadline|idle|batch|rr|fifo|other
© tl;dr; authors and contributors