Permalink
Browse files

add libre stats

which show docker stats with name.
  • Loading branch information...
jodumont committed Mar 28, 2017
1 parent 212f1b9 commit dd7006dbe48a7072cffc391d878e57de5c3dcfd2
Showing with 3 additions and 0 deletions.
  1. +3 −0 utils/libre
View
@@ -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

0 comments on commit dd7006d

Please sign in to comment.