Skip to content

Instantly share code, notes, and snippets.

@jserviceorg
Created February 19, 2018 11:34
Show Gist options
  • Save jserviceorg/7b34367e698ba14019186649acfea7a3 to your computer and use it in GitHub Desktop.
Save jserviceorg/7b34367e698ba14019186649acfea7a3 to your computer and use it in GitHub Desktop.
get zfs snapshot daily space usage
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