
1 klazarsk klazarsk 11K Jan 6 15:29 topdiskconsumerĩ.

1 klazarsk klazarsk 3.4K Jan 6 15:29 README.md List the files your username will own them: $ sudo chmod a+x storagetoolkit]$ ls -lh Enter sudo chmod a+x to ensure the script has execute privileges.Ĩ. Enter cd storagetoolkit to change to the subdirectory Git created for you.ħ. Open a terminal and change to the directory where you want to download the files.Ħ. Click the green CODE button above the file listings.Ĥ. Open the storagetoolkit repository in a web browser.Ģ. The installation process is straightforward. Install Top Disk Consumer Report Generator

What makes me proud of it is that I have been able to teach junior engineers how to take information and tools they have and parse and reuse output to drive other tools. I still have my original version of this script, and if it weren't for how it grew organically and as a teaching tool for my mentees, I'd feel embarrassed at how bad the code is. I had always intended to rewrite it as a full command-line utility, including switches to turn off specific reports, timeouts, formatting options other than bbcode, and a help screen. However, apart from a variable ( intNumFiles) being assignable at the beginning of the script, it was entirely hard-coded and awkwardly parsed utilities like df to get specific stats in a very inefficient way. My little one-liner eventually grew into a 2.5KB behemoth and was widely used by customers of a large hosting company. I tacked on each feature as I needed to gather info to include in ticket updates to justify actions taken on servers.


Skip to bottom of list Skip to the bottom of list
