This website requires JavaScript.
Explore
Help
Register
Sign in
ahurac
/
dotfiles
Watch
1
Star
0
Fork
You've already forked dotfiles
1
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
a7760ddcb4
dotfiles
/
bin
/
makeprio
9 lines
86 B
Text
Raw
Normal View
History
Unescape
Escape
Réécriture légère de makeprio
2023-05-08 11:02:50 +02:00
#!/bin/sh -e
Ajout du script makeprio
2023-04-16 12:47:33 +02:00
pid="$(pidof "$1")"
Réécriture légère de makeprio
2023-05-08 11:02:50 +02:00
shift
prio="${1:--22}"
Ajout du script makeprio
2023-04-16 12:47:33 +02:00
Réécriture légère de makeprio
2023-05-08 11:02:50 +02:00
sudo renice "$prio" "$pid"
Ajout du script makeprio
2023-04-16 12:47:33 +02:00
Reference in a new issue
Copy permalink