parsing report
- From: ccandillo@xxxxxxxxx
- Date: 24 Nov 2006 07:14:24 -0800
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%
**********************************************************************
.
- Prev by Date: parsing report
- Next by Date: Re: parsing report
- Previous by thread: Re: parsing report
- Next by thread: Free Perl Editor -- PSPad
- Index(es):
Relevant Pages
|
|