]> git.phdru.name Git - dotfiles.git/commitdiff
bin/cgmem_nice: Change `nice` parameter
authorOleg Broytman <phd@phdru.name>
Tue, 5 Nov 2019 16:46:19 +0000 (19:46 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 5 Nov 2019 21:12:53 +0000 (00:12 +0300)
bin/cgmem_nice

index b36a6c5e142638f63c9ffa81d79ef0147ad1ae18..a509f6ba494b590d8a635ad8ccaf2fd71e6440e7 100755 (executable)
@@ -20,4 +20,4 @@ CGROUPS=/sys/fs/cgroup
 echo $$ > "$CGROUPS"/${size}M/tasks || exit 1
 
 ulimit -d ${size}000
-exec nice -20 ionice -c3 "${@:-$SHELL}"
+exec nice -20 ionice -c3 "${@:-$SHELL}"