Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Performance Indexing In SQL Server

Authors: Jason Strate, Grant Fritchey

2nd Edition

1484211189, 9781484211182

More Books

Students also viewed these Databases questions

Question

Why are most training programs not evaluated?

Answered: 1 week ago