The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 09-05-2007
future_gibbon future_gibbon is offline
Registered User
 

Join Date: Sep 2007
Posts: 1
what about a file to be transposed with something like:

System Availability 100.00%
Total Uptime 551d 8h 12m 23s
Total Downtime 0d 0h 24m 51s
Total Reboots 11
Mean Time Between Reboots 50.12 days
Total Bluescreens 0


System Availability 100.00%
Total Uptime 534d 7h 1m 12s
Total Downtime 0d 0h 24m 51s
Total Reboots 11
Mean Time Between Reboots 50.12 days
Total Bluescreens 0


so the System Availability, Total Uptime etc is output once at the top of the column and just the information is extracted after that e.g.

System Availability Total Uptime Total Downtime ......
100.00% 551d 8h 12m 23s 0d 0h 24m 51s ......
100.00% 534d 7h 1m 12s 0d 0h 24m 51s .......
........
........

I'm really new to this so it would be great if you could help me out thanks.
Reply With Quote