Skip to content
Snippets Groups Projects
Commit dd7006db authored by JꙨdцӍoηҬ's avatar JꙨdцӍoηҬ Committed by GitHub
Browse files

add libre stats

which show docker stats with name.
parent 212f1b90
No related branches found
No related tags found
1 merge request!147add libre stats
......@@ -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% 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