Commit 54f1433d authored by Vitaly Lipatov's avatar Vitaly Lipatov

improve descriptions

parent f9c74c69
...@@ -16,10 +16,14 @@ Examples: ...@@ -16,10 +16,14 @@ Examples:
N1 N1
N2 N2
evz start N1 evz stop N1 N2
evz start N1 N2
evz show N1 evz show N1
evz enter N1 evz enter N1
evz exec N1 N2 epm q sudo
and so on. and so on.
...@@ -72,13 +72,15 @@ $(get_help HELPOPT) ...@@ -72,13 +72,15 @@ $(get_help HELPOPT)
Examples: Examples:
# evz start ID ID ID # evz start ID ID ID
# evz list ALL # evz list ALL
# evz exec all epm q sudo
# evz exec all ls '/tmp/file with spaces'
" "
} }
print_version() print_version()
{ {
echo "Etersoft virtualization wrapper version @VERSION@" echo "Etersoft virtualization wrapper version @VERSION@"
echo "Copyright (c) Etersoft 2017, 2020" echo "Copyright (c) Etersoft 2017, 2020, 2021"
echo "This program may be freely redistributed under the terms of the GNU AGPLv3." echo "This program may be freely redistributed under the terms of the GNU AGPLv3."
} }
......
...@@ -89,6 +89,8 @@ case $CMD in ...@@ -89,6 +89,8 @@ case $CMD in
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 ..."
# TODO: https://bugzilla.altlinux.org/show_bug.cgi?id=38904
#cat /proc/user_beancounters
a= vzubc $i a= vzubc $i
done done
;; ;;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
.\" This file has been put into the public domain. .\" This file has been put into the public domain.
.\" You can do whatever you want with this file. .\" You can do whatever you want with this file.
.\" .\"
.TH EVZ 8 "November 2017" "Version 0.1" .TH EVZ 8 "February 2021" "Version 0.1"
.SH NAME .SH NAME
evz \- openvz control tool evz \- openvz control tool
...@@ -35,6 +35,7 @@ Quiet mode ...@@ -35,6 +35,7 @@ Quiet mode
# evz on 25 - enable onboot and start container 25 # evz on 25 - enable onboot and start container 25
# evz destroy 5 10 - stop containers 5, 10 and destroy it # evz destroy 5 10 - stop containers 5, 10 and destroy it
# evz restart 10 20 - restart containers 10 20 # evz restart 10 20 - restart containers 10 20
# evz exec all epm q sudo - run 'epm -q sudo' in all running containers
.SH ENV .SH ENV
You can override autodetected virtualization engine with EVZCTL environment variable. You can override autodetected virtualization engine with EVZCTL environment variable.
......
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