Présentation de l’utilisation des disques VxVM
par
popularité : 3%
Source du script : http://oraclue.com/2008/09/23/script-to-show-disk-usageallocation-of-vxvmsevm-disk-groups/
Voici une commande qui reformate le rendu de vxprint :
# ./vxusage2.sh -h
Usage : vxusage2.sh -VhAalqv [ diskgroup ... ]
-a use all disk groups
-l list all disk groups
# ./vxusage2.sh
Disk usage for disk group "rootdg"
rootdisk (c1t0d0) 34727.247 MB
rootdisk-02 0.000 4096.511 MB ( 11.80%) rootvol:rootvol-01
rootdisk-01 4096.512 4096.512 MB ( 11.80%) swapvol:swapvol-01
rootdisk-03 8193.023 4096.512 MB ( 11.80%) var:var-01
rootdisk-B0 34727.247 0.000 MB ( 0.00%) rootvol:rootvol-01
rootdisk Free Space : 22437.712 MB ( 64.61%)
rootmir (c1t1d0) 34727.247 MB
rootmir-01 0.000 4096.512 MB ( 11.80%) rootvol:rootvol-02
rootmir-02 4096.512 4096.512 MB ( 11.80%) swapvol:swapvol-02
rootmir-03 8193.023 4096.512 MB ( 11.80%) var:var-02
rootmir Free Space : 22437.712 MB ( 64.61%)
Disk Group Size (-) : 69454.494 MB
Disk Group Free (-) : 22437.712 MB ( 32.31%)
./vxusage2.sh -l
rootdg datadg proddg
./vxusage2.sh -a
Disk usage for disk group "rootdg"
rootdisk (c1t0d0) 34727.247 MB
rootdisk-02 0.000 4096.511 MB ( 11.80%) rootvol:rootvol-01
rootdisk-01 4096.512 4096.512 MB ( 11.80%) swapvol:swapvol-01
rootdisk-03 8193.023 4096.512 MB ( 11.80%) var:var-01
rootdisk-B0 34727.247 0.000 MB ( 0.00%) rootvol:rootvol-01
rootdisk Free Space : 22437.712 MB ( 64.61%)
rootmir (c1t1d0) 34727.247 MB
rootmir-01 0.000 4096.512 MB ( 11.80%) rootvol:rootvol-02
rootmir-02 4096.512 4096.512 MB ( 11.80%) swapvol:swapvol-02
rootmir-03 8193.023 4096.512 MB ( 11.80%) var:var-02
rootmir Free Space : 22437.712 MB ( 64.61%)
Disk Group Size (-) : 69454.494 MB
Disk Group Free (-) : 22437.712 MB ( 32.31%)
Disk usage for disk group "datadg"
datadg-11 (c3t1d1) 38589.102 MB
datadg-11-01 1.125 13000.000 MB ( 33.69%) nmc_backup:nmc_backup-02
datadg-11-02 13001.125 20000.000 MB ( 51.83%) catalognmc:catalognmc-02
datadg-11-03 33001.125 3906.250 MB ( 10.12%) oracle:oracle-02
datadg-11 Free Space : 1682.852 MB ( 4.36%)
datadg-12 (c3t1d3) 38589.102 MB
datadg-12-01 1.125 30720.000 MB ( 79.61%) Sauv001:Sauv001-02
datadg-12-02 30721.125 6479.500 MB ( 16.79%) package_nwk_2:package_nwk_2-02
datadg-12 Free Space : 1389.602 MB ( 3.60%)
datadg-13 (c3t1d4) 38589.102 MB
datadg-13-01 1.125 37199.500 MB ( 96.40%) histo:histo-02
datadg-13 Free Space : 1389.602 MB ( 3.60%)
Disk Group Size (-) : 115767.305 MB
Disk Group Free (-) : 3072.453 MB ( 2.65%)
Disk usage for disk group "proddg"
proddg-10 (c3t0d2) 38589.102 MB
proddg-10-01 1.125 2000.000 MB ( 5.18%) database:database-02
proddg-10-02 2001.125 6000.000 MB ( 15.55%) catalog:catalog-02
proddg-10-03 8001.125 6000.000 MB ( 15.55%) documentSVG:documentSVG-02
proddg-10-04 14001.125 4000.000 MB ( 10.37%) product:product-02
proddg-10-05 18001.125 5000.000 MB ( 12.96%) packages:packages-02
proddg-10-06 23001.125 2000.000 MB ( 5.18%) users:users-02
proddg-10-07 25001.125 6000.000 MB ( 15.55%) varsoftnsrstat:varsoftnsrstat-02
proddg-10-08 31001.125 6100.000 MB ( 15.81%) varsoft:varsoft-02
proddg-10-09 37101.125 1023.438 MB ( 2.65%) database:database-02
proddg-10 Free Space : 465.664 MB ( 1.21%)
Disk Group Size (-) : 38589.102 MB
Disk Group Free (-) : 0.000 MB ( 0.00%)
Source du script : http://oraclue.com/2008/09/23/script-to-show-disk-usageallocation-of-vxvmsevm-disk-groups/