Hi everybody,
I send an e-mail out automatically to support personnel that includes output from "df".
Does anybody have any scripts that output a table in html? Or can at least straighten up
the df output.
Thanks alot.
-Brent
Thanks Sosatan and Ygor:
Very nice, both scripts. I especially liked the bar graph on Ygor's report. These are helpful to see other methods of improving a simple df output and all of the tools you all are using.
Ygor, I have never used the exec command before, could you explain the "exec 3" part of the script. It appears that you are defining 3 as output to a file df.html, then at the end "exec 3<&-" is running all of the preceding lines as input "-" to "3", and running it as a background process using "&". So does "exec 3" mean to run everything up to the next "exec 3"?
I appreciate your time and knowledge.
-Brent
You've got hold of the wrong end of the stick, 3 is a file handle and the exec special commands are opening/closing output to the file. More info in this thread: thread80-491157
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.