Created
March 1, 2019 03:08
-
-
Save whiskerz007/4e1c7204241b8a4dc7392c1e798c82db to your computer and use it in GitHub Desktop.
Remove orphaned objects from cgroups in Proxmox
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
find /sys/fs/cgroup -depth -name ${OBJECT}* -type d -print -exec bash -c "cd {}/.. ; mkdir -p {}/bar ; find $(basename {}) -depth -type d -exec rmdir \{\} \;" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment