Hi
I am quite new to ruby and i need to get couple of output with bellow
Result
i need something like
member0 Slot 0 Memory utilization 30
member0 Slot 1 Memory utilization 30
member1 Slot 0 Memory utilization 30
member1 Slot 1 Memory utilization 30
if i get the those out put, i will be able to get rest …
Can any one please give me some light
Thanks
member0:
Slot 0:
Routing Engine status:
Temperature 26 degrees C / 78 degrees F
CPU temperature 51 degrees C / 123 degrees F
DRAM 2048 MB
Memory utilization 30 percent
CPU utilization:
User 0 percent
Real-time threads 7 percent
Kernel 4 percent
Idle 89 percent
Model RE-J6350-3400
Serial ID NM1742
Start time 2008-04-29 16:56:46 UTC
Uptime 2 minutes, 20 seconds
Load averages: 1 minute 5 minute 15 minute
0.08 0.07 0.03
Routing Engine status:
Slot 1:
Temperature 26 degrees C / 78 degrees F
CPU temperature 51 degrees C / 123 degrees F
DRAM 2048 MB
Memory utilization 30 percent
CPU utilization:
User 0 percent
Real-time threads 7 percent
Kernel 4 percent
Idle 89 percent
Model RE-J6350-3400
Serial ID NM1742
Start time 2008-04-29 16:56:46 UTC
Uptime 2 minutes, 20 seconds
Load averages: 1 minute 5 minute 15 minute
0.08 0.07 0.03
member1:
Slot 0:
Routing Engine status:
Temperature 26 degrees C / 78 degrees F
CPU temperature 51 degrees C / 123 degrees F
DRAM 2048 MB
Memory utilization 30 percent
CPU utilization:
User 0 percent
Real-time threads 7 percent
Kernel 4 percent
Idle 89 percent
Model RE-J6350-3400
Serial ID NM1742
Start time 2008-04-29 16:56:46 UTC
Uptime 2 minutes, 20 seconds
Load averages: 1 minute 5 minute 15 minute
0.08 0.07 0.03
Routing Engine status:
Slot 1:
Temperature 26 degrees C / 78 degrees F
CPU temperature 51 degrees C / 123 degrees F
DRAM 2048 MB
Memory utilization 30 percent
CPU utilization:
User 0 percent
Real-time threads 7 percent
Kernel 4 percent
Idle 89 percent
Model RE-J6350-3400
Serial ID NM1742
Start time 2008-04-29 16:56:46 UTC
Uptime 2 minutes, 20 seconds
Load averages: 1 minute 5 minute 15 minute
0.08 0.07 0.03
I would be really grateful if any one can help me with a script
thanks