Created
October 5, 2017 18:38
-
-
Save tatapbl4/e41ac12ec084d59e822edee00b7aaaeb to your computer and use it in GitHub Desktop.
remove deleted but still opened file for rhel6
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
# https://access.redhat.com/solutions/2316 | |
lsof | grep deleted | awk '{print $8}' | xargs sum 2> /dev/null | awk '{ SUM += $2 } END { print SUM }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment