parsing report
- From: ccandillo@xxxxxxxxx
- Date: 24 Nov 2006 07:14:23 -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%
**********************************************************************
.
- Follow-Ups:
- Re: parsing report
- From: DJ Stunks
- Re: parsing report
- From: Paul Lalli
- Re: parsing report
- Prev by Date: Re: Free PERL Editor
- Next by Date: parsing report
- Previous by thread: push the same image multiple times in a PerlMagick object
- Next by thread: Re: parsing report
- Index(es):
Relevant Pages
|