From: Oleg Broytman Date: Tue, 5 Nov 2019 16:46:19 +0000 (+0300) Subject: bin/cgmem_nice: Change `nice` parameter X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=c5883d2a782366c0a3468a989e756cf37dabbd46;p=dotfiles.git bin/cgmem_nice: Change `nice` parameter --- diff --git a/bin/cgmem_nice b/bin/cgmem_nice index b36a6c5..a509f6b 100755 --- a/bin/cgmem_nice +++ b/bin/cgmem_nice @@ -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 -n 20 ionice -c3 "${@:-$SHELL}"