Vinod Subramaniam

Top utility for HDP Pools

Discussion created by Vinod Subramaniam Employee on Sep 21, 2013
Latest reply on Sep 21, 2013 by Cris Danci

./dptop.sh  <START_LDEV> <CUTOFF_PERCENT> <NO_OF_LDEVS>

 

Example

 

./dptop.sh 0x0000 10 256 will scan 256 LDEVs starting from 00:00 and report if the LDEV has a used capacity greater than 10%


visubramaniam@USATLVSUBRAMAN ~/axascripts

$ ./dptop.sh 0x0000 10 1024 | (read -r; printf "%s\n" "$REPLY"; sort -nr -k 4)

LDEV_ID TOT_CAPACITY    USED_CAPACITY USED_PCT

   1b2     4195200         4128768       98

   1bb     6291840         6021120       95

   181     6291840         6021120       95

   16d    10487040         9891840       94

    9d     4195200         3870720       92

   190      103680           86016       82

   16e      103680           86016       82

   1a1    10487040         7741440       73

   193    10487040         7741440       73

    75    20972160        12816384       61

    a5      205440           86016       41

    af   230688000        72683520       31

    99    52429440        13934592       26

    98    52429440        13934592       26

 

Note :- Runs by default on all pools. Modify HORCMINST within script to whatever is appropriate.

Attachments

Outcomes