1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/bin/makeprio

9 lines
86 B
Text
Raw Normal View History

2023-05-08 11:02:50 +02:00
#!/bin/sh -e
2023-04-16 12:47:33 +02:00
pid="$(pidof "$1")"
2023-05-08 11:02:50 +02:00
shift
prio="${1:--22}"
2023-04-16 12:47:33 +02:00
2023-05-08 11:02:50 +02:00
sudo renice "$prio" "$pid"
2023-04-16 12:47:33 +02:00