Created
February 19, 2018 11:34
-
-
Save jserviceorg/7b34367e698ba14019186649acfea7a3 to your computer and use it in GitHub Desktop.
get zfs snapshot daily space usage
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
zfs list -Hp -t snapshot |grep 2018-02-17 | awk {'print $2'} |awk '{ sum+=$1} END {print sum}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment