Skip to content
Snippets Groups Projects
Commit 51858308 authored by Pierre Ozoux's avatar Pierre Ozoux Committed by GitHub
Browse files

Merge pull request #147 from jodumont/patch-3

add libre stats
parents 212f1b90 dd7006db
No related branches found
No related tags found
No related merge requests found
...@@ -59,9 +59,12 @@ case "$1" in ...@@ -59,9 +59,12 @@ case "$1" in
fi;; fi;;
provision) provision)
provision ${@:2};; provision ${@:2};;
stats)
docker stats $(docker ps|grep -v "NAMES"|awk '{ print $NF }'|tr "\n" " ");;
*) *)
echo "Usage:" echo "Usage:"
echo " - start|status|enable|disable|restart|stop: command sent to systemctl." echo " - start|status|enable|disable|restart|stop: command sent to systemctl."
echo " - ps|exec|logs: command sent to docker compose." echo " - ps|exec|logs: command sent to docker compose."
echo " - update: to update the current folder." echo " - update: to update the current folder."
echo " - stats: show docker stats with names."
esac esac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment