Created
April 13, 2023 02:51
-
-
Save brianpursley/5337f2a0413f653e949c571089aa6af9 to your computer and use it in GitHub Desktop.
Get cgroup resources using 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
sudo crictl inspect $(sudo crictl ps --name bar -q) | jq '.info.runtimeSpec.linux.resources' | |
sudo crictl inspect $(sudo crictl ps --name baz -q) | jq '.info.runtimeSpec.linux.resources' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment