docker-scripts/docker-ps

4 lines
125 B
Bash
Executable File

#!/bin/bash
docker stats --no-stream --format "table {{.Name}}\t{{.Container}}\t{{.CPUPerc}}\t{{.MemUsage}}" | sort -k 4 -h