add docker stats

This commit is contained in:
Tower committed 2026-09-06 20:06:33 +02:00
1 parent 3e1c4aa541
commit a48aab3d90
1 file changed
+9
+9
View File
@@ -173,6 +173,10 @@ docker_list() {
'
}
docker_stats() {
docker stats --no-stream
}
########################################
# CLI
########################################
@@ -210,6 +214,10 @@ case "$ACTION" in
docker_list
;;
stats)
docker_stats
;;
*)
echo "Usage:"
echo " $0 up <container|all>"
@@ -219,6 +227,7 @@ case "$ACTION" in
echo " $0 restart <container|all>"
echo " $0 recreate <container|all>"
echo " $0 list"
echo " $0 stats"
exit 1
;;
esac