Created
September 18, 2026 11:12
-
-
Save zdk/9ceae0e1a01584aa40c282761058c8b3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| container run -d --name busy ghcr.io/linuxcontainers/alpine:3.20 sh -c 'while true; do :; done' | |
| container stats --no-stream busy & pid=$! | |
| sleep 1 | |
| kill -STOP $pid | |
| sleep 5 | |
| kill -CONT $pid | |
| wait $pid | |
| container rm -f busy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment