NetworkGhost
IS-IT--Management
I have a SSH script that runs pings on a router every 15 minutes and send the output to a file. What I want to do is parse the file so it can later be opened in excel.
The output line looks like so:
Success rate is 100 percent (5/5), round-trip min/avg/max = 92/95/108 ms
What I want to do is make it look like:
(5/5) 92 95 108
Can expect do this? Would SED or something else do better? Does anyone have any good examples of how I can start this?
Free Firewall/Network/Systems Support-
The output line looks like so:
Success rate is 100 percent (5/5), round-trip min/avg/max = 92/95/108 ms
What I want to do is make it look like:
(5/5) 92 95 108
Can expect do this? Would SED or something else do better? Does anyone have any good examples of how I can start this?
Free Firewall/Network/Systems Support-