Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
evz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Тимофей Смирнов
evz
Commits
213407c1
Commit
213407c1
authored
Feb 27, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix info for docker, vboxmanage
parent
04af8e48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
13 deletions
+9
-13
evz-docker
bin/evz-docker
+4
-12
evz-vboxmanage
bin/evz-vboxmanage
+5
-1
No files found.
bin/evz-docker
View file @
213407c1
...
...
@@ -156,18 +156,10 @@ case $CMD in
docmd docker logs
"
$1
"
;;
info
)
# HELPCMD: print containers(s) info (vzlist like)
#LIST="$(get_list "$@")"
showcmd docker ps
--format
'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}\t{{.Size}}'
"
$@
"
5
a
=
docker ps
--format
'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}\t{{.Size}}'
"
$@
"
#for i in $LIST ; do
# a= docker ps --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}\t{{.Size}}' "$@"
#info "Executing on $i ..."
#printf "%3d: %s" $i "$(vzctl exec $i "$INCMD")"
#vzctl exec $i "$INCMD" | sed -e "s|^|$(printf "%3d: " $i)|g"
#vzctl exec $i "$INCMD"
# TODO: internal IP, red if internal hostname differs
#vzlist $LIST -o ctid,ip,hostname,diskspace
#done
LIST
=
"
$(
get_list
"
$@
"
)
"
for
i
in
$LIST
;
do
docmd docker inspect
$i
done
info
"See evz ports ID for print ports"
;;
load
)
# HELPCMD: print load average for container(s) by list
...
...
bin/evz-vboxmanage
View file @
213407c1
...
...
@@ -169,7 +169,11 @@ case $CMD in
todo docmd docker logs
"
$1
"
;;
info
)
# HELPCMD: print virtual machines(s) info (vzlist like)
docmd vboxmanage list systemproperties
#docmd vboxmanage list systemproperties
LIST
=
"
$(
get_list
"
$@
"
)
"
for
i
in
$LIST
;
do
docmd vboxmanage showvminfo
$i
done
;;
load
)
# HELPCMD: print load average for virtual machine(s) by list
todo LOAD
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment