| ccandillo@gmail.com 2006-11-24, 6:56 pm |
| I have a report that looks like the following. I am tring to add up
the disk space, total and used. Using regular expressions, I know how
to find the information that I am looking for but I do not know how to
add them up. Do I store them in hashes, arrays?
REPORT:
Statistics for fixed volume SERVER1/VOL1:
Total volume space: 10,172,164 100.00%
Space used: 7,865,744 77.33%
****************************************
******************************
Statistics for fixed volume SERVER1/VOL2:
Total volume space: 167,167,132 100.00%
Space used: 105,169,536 62.91%
****************************************
******************************
Statistics for fixed volume SERVER2/VOL1:
Total volume space: 6,076,752 100.00%
Space used: 3,639,684 59.90%
****************************************
******************************
|