Last active
December 9, 2023 05:40
-
-
Save therevoman/74e6c0630a1f50b6544f19ef5aa27157 to your computer and use it in GitHub Desktop.
Show pod list sorted on openshift node with crictl
This file contains 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
# `ssh` or `debug node/` into node and run this command | |
watch -n 0.3 'body() { IFS= read -r header; printf '"'"'%s\n'"'"' "$header"; "$@"; } ; crictl stats | body sort -k3nr | head -n 20' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment