View Single Post
Old May 4th, 2005, 1:45 PM   #1
Blivo
Newbie
 
Join Date: May 2005
Posts: 1
Rep Power: 0 Blivo is on a distinguished road
Transposing rows to columns

I've seen something like this in other places but I'm extremely new to using awk and couldn't make any sense of it. Could someone please tell me how to get this:

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

To this:

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

and the rest of the columns would be formatted like this also.

If it's not too much trouble once you're done with it could please explain the coding to me?

Thanks
Blivo is offline   Reply With Quote