Statistiques
| Révision :

root / bin / get-provisioned-space @ 2

Historique | Voir | Annoter | Télécharger (199 octet)

1
#!/bin/bash
2

    
3
function usage {
4
  echo "Syntax: $0 zfs_volume_name"1>&2
5
  exit 1
6
}
7

    
8
if [ "$1" == "" ]
9
then
10
   usage
11
else
12

    
13
/sbin/zfs get volsize -H -t volume |egrep $1
14
/sbin/zfs get referenced -H $1
15
fi