- 论坛徽章:
- 0
|
素材:
192.168.1.1
Perform Extra Host Actions
PING
Perform Extra Service Actions
OK 12-25-2014 14:44:12 7d 21h 28m 12s 1/3 PING OK - Packet loss = 0%, RTA = 18.55 ms
192.168.1.2
Perform Extra Host Actions
PING
Perform Extra Service Actions
OK 12-25-2014 14:44:33 0d 7h 12m 4s 1/3 PING OK - Packet loss = 0%, RTA = 51.08 ms
CPU Load
Perform Extra Service Actions
OK 12-25-2014 14:44:32 1d 10h 33m 3s 1/3 OK - load average: 1.06, 1.58, 1.32
显示结果
192.168.10.37---Perform Extra Host Actions---PING---Perform Extra Service Actions---OK 12-25-2014 14:44:12 7d 21h 28m 12s 1/3 PING OK - Packet loss = 0%, RTA = 18.55 ms
192.168.10.38---Perform Extra Host Actions---PING---Perform Extra Service Actions---OK 12-25-2014 14:44:33 0d 7h 12m 4s 1/3 PING OK - Packet loss = 0%, RTA = 51.08 ms---Perform Extra Host Actions---CPU Load---Perform Extra Service Actions---OK 12-25-2014 14:44:32 1d 10h 33m 3s 1/3 OK - load average: 1.06, 1.58, 1.32
请问怎么使用awk实现? |
|