gringomike
Technical User
Hi All,
I have a simple script which generates disk info from a NetApps filer and emails it to a list of users.
I would like to format the output in order to make it a bit more "readable".
All the script does at the moment it "rsh" into the filer and run a "df", mailing the output in the following format (there is another column but I've removed it to fit the data into the window);
Generating disk info on server1
Filesystem kbytes used avail
/vol/vol0/ 12518648 131696 12386952
/vol/vol0/.backup 3129660 2128 3127532
/vol/data3/ 87630524 48148456 39482068
/vol/data3/.backup 21907628 20016588 1891040
server1adm disk info complete
What I would like to do is display a sufficient space between the columns (tab seperated) and display the "used" column in bold.
Can anybody help!?
Many thanks!
GM
I have a simple script which generates disk info from a NetApps filer and emails it to a list of users.
I would like to format the output in order to make it a bit more "readable".
All the script does at the moment it "rsh" into the filer and run a "df", mailing the output in the following format (there is another column but I've removed it to fit the data into the window);
Generating disk info on server1
Filesystem kbytes used avail
/vol/vol0/ 12518648 131696 12386952
/vol/vol0/.backup 3129660 2128 3127532
/vol/data3/ 87630524 48148456 39482068
/vol/data3/.backup 21907628 20016588 1891040
server1adm disk info complete
What I would like to do is display a sufficient space between the columns (tab seperated) and display the "used" column in bold.
Can anybody help!?
Many thanks!
GM