Merge pull request #147 from jodumont/patch-3

add libre stats
This commit is contained in:
Pierre Ozoux 2017-03-29 09:48:56 +01:00 committed by GitHub
commit 518583089d

View file

@ -59,9 +59,12 @@ case "$1" in
fi;;
provision)
provision ${@:2};;
stats)
docker stats $(docker ps|grep -v "NAMES"|awk '{ print $NF }'|tr "\n" " ");;
*)
echo "Usage:"
echo " - start|status|enable|disable|restart|stop: command sent to systemctl."
echo " - ps|exec|logs: command sent to docker compose."
echo " - update: to update the current folder."
echo " - stats: show docker stats with names."
esac