Skip to content

Instantly share code, notes, and snippets.

@brianpursley
Created April 13, 2023 02:51
Show Gist options
  • Save brianpursley/5337f2a0413f653e949c571089aa6af9 to your computer and use it in GitHub Desktop.
Save brianpursley/5337f2a0413f653e949c571089aa6af9 to your computer and use it in GitHub Desktop.
Get cgroup resources using crictl
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