Commit 5ea071f9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add show alias for resources

parent 170b67d2
...@@ -99,7 +99,7 @@ case $CMD in ...@@ -99,7 +99,7 @@ case $CMD in
todo vzctl $CMD $i $OPTIONS --save todo vzctl $CMD $i $OPTIONS --save
done done
;; ;;
ubc|resources) # HELPCMD: print resource using ubc|resources|show) # HELPCMD: print resource using
LIST=$(get_list "$@") LIST=$(get_list "$@")
showcmd docker stats --no-stream --no-trunc showcmd docker stats --no-stream --no-trunc
for i in $LIST ; do for i in $LIST ; do
......
...@@ -78,7 +78,7 @@ case $CMD in ...@@ -78,7 +78,7 @@ case $CMD in
a= vzctl $CMD $i $OPTIONS --save a= vzctl $CMD $i $OPTIONS --save
done done
;; ;;
ubc|resources) # HELPCMD: print resource using via vzubc ubc|resources|show) # HELPCMD: print resource using via vzubc
LIST=$(get_list "$@") LIST=$(get_list "$@")
for i in $LIST ; do for i in $LIST ; do
#info "Do $CMD on $i ..." #info "Do $CMD on $i ..."
......
...@@ -97,7 +97,7 @@ case $CMD in ...@@ -97,7 +97,7 @@ case $CMD in
docmd pct set $i $OPTIONS docmd pct set $i $OPTIONS
done done
;; ;;
ubc|resources) # HELPCMD: print resource using ubc|resources|show) # HELPCMD: print resource using
LIST=$(get_list "$@") LIST=$(get_list "$@")
todo showcmd docker stats --no-stream --no-trunc todo showcmd docker stats --no-stream --no-trunc
#for i in $LIST ; do #for i in $LIST ; do
......
...@@ -99,7 +99,7 @@ case $CMD in ...@@ -99,7 +99,7 @@ case $CMD in
todo vzctl $CMD $i $OPTIONS --save todo vzctl $CMD $i $OPTIONS --save
done done
;; ;;
ubc|resources) # HELPCMD: print resource using ubc|resources|show) # HELPCMD: print resource using
LIST=$(get_list "$@") LIST=$(get_list "$@")
todo showcmd docker stats --no-stream --no-trunc todo showcmd docker stats --no-stream --no-trunc
#for i in $LIST ; do #for i in $LIST ; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment