Re: diskinfo script
From: David Greaves <hidden>
Date: 2008-04-30 11:06:04
Bill Davidsen wrote:
Bill Davidsen wrote:quoted
I was playing around doing some prototyping for a more extensive disk info reporter which will be written in perl, and it came to me that this script might be useful to someone, so I'll attach it here. The perl version will generate HTML, and CSV for configuration databases, show mount points, etc. This was an hour or so, mainly playing with the report format. Obviously you need to make it executable. I want it because I'm frequently asked to look at strange machines, and I want to see what used and how. I could do it all in script, but only to prove I can. ;-) *Enjoy!*After some immediate feedback, I did an update on this to include some patches and requested features. So here is the last version I'll put here, with built-in help, examples, the option to use "GiB" instead of "GB" if you care, and now should run on sh as well as bash. It currently doesn't run on ksh, I have to look for my ksh book and see how to fix the problem. If there is ever a version after this I'll just put it on a website, I was dropping this to do something better.
The wiki? David