From: Oleg Broytman Date: Fri, 24 Apr 2020 17:14:10 +0000 (+0300) Subject: Feat(cgmem_nice): More memory containers were added X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=c5921e07ec7e321eaa039de65fcc03b6b5296043 Feat(cgmem_nice): More memory containers were added --- diff --git a/.bash_completion.d/cgmem_nice b/.bash_completion.d/cgmem_nice index 0b95294..5ed041b 100644 --- a/.bash_completion.d/cgmem_nice +++ b/.bash_completion.d/cgmem_nice @@ -3,7 +3,7 @@ _cgmem_nice() local CUR=${COMP_WORDS[COMP_CWORD]} if [ $COMP_CWORD -eq 1 ]; then - COMPREPLY=( $(compgen -W "100 200 300 500 1000 2000 4000" -- $CUR) ) + COMPREPLY=( $(compgen -W "100 200 300 400 500 1000 2000 4000 5000" -- $CUR) ) elif [ $COMP_CWORD -ge 2 ]; then _command_offset 2 fi diff --git a/bin/cgmem_nice b/bin/cgmem_nice index a509f6b..212ec3c 100755 --- a/bin/cgmem_nice +++ b/bin/cgmem_nice @@ -1,12 +1,12 @@ #! /bin/sh usage() { - echo "Usage: $0 {100|200|300|500|1000|2000|4000} [command [args]]" + echo "Usage: $0 {100|200|300|400|500|1000|2000|4000|5000} [command [args]]" exit 1 } case "$1" in - 100|200|300|500|1000|2000|4000) + 100|200|300|400|500|1000|2000|4000|5000) ;; *) usage