Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use Perl to process Disk Usage report. I would like to sort data from a file using only Perl. The file contains multiple lines looking
Use Perl to process Disk Usage report.
I would like to sort data from a file using only Perl. The file contains multiple lines looking like the three examples below:
/vol/vfiler_PROD1_DR_NFS7K_cmsp1/ 200GB 545MB 199GB 0%
/vol/vfiler_PROD1_DR_Moodle_Ful_7K01/ 10TB 10009GB 806GB 93%
/vol/vfiler_PROD1_DR_Moodle_LA_7K01/ 6144GB 4572GB 1571GB 74%
I would like to process the input file and output a sorted version of the file by the percentage (Last Column) in decending order, into a CSV file with each field seperated by a comma.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started