Hi
I need to grep some data from the same syntax, but still not work perfectly :
cat RBS_100310_old | sed -e 's/=/ /g' -e 's/,/ /g' | awk '/mobrowser_pid/ {getline;getline;$7,$9}' just get Subnetwork n Mecontex
but i can not get specific problem on different line.
really appriciate any assistant and clue.
Regards,
lepi
from data below :
$mobrowser_pid = 7727
Connected to 10.149.13.41 (SubNetwork=NRO_RootMo_R,SubNetwork=RNC01,MeContext=3G_BIAS,ManagedElement=1)
Connected to 10.149.13.41 (SubNetwork=NRO_RootMo_R,SubNetwork=RNC01,MeContext=3G_BIAS,ManagedElement=1)
Last MO: 1549. Loaded 1549 MOs. Total: 1550 MOs.
3G_BIAS> alt
100310-07:41:24 202.149.13.41 7.1p RBS_NODE_MODEL_L_10_9 stopfile=/tmp/6950
Resolving the alarm service in OMS...
Simple Alarm Client initialized...
Starting to retrieve active alarms
Nr of active alarms are: 3
================================================================================================
Date & Time (Local) S Specific Problem Cause Mo-Reference
================================================================================================
2010-03-03 12:56:10 w IMA Link Reception Unusable at Far End remote_node_transmission_error ImaGroup=1-1-ima1,ImaLink=3
2010-03-03 16:46:52 M Loss of Tracking replaceable_unit_problem Synchronization=1
2010-03-03 17:00:18 m Loss of Synch Reference Redundancy replaceable_unit_problem Synchronization=1
I need to grep some data from the same syntax, but still not work perfectly :
cat RBS_100310_old | sed -e 's/=/ /g' -e 's/,/ /g' | awk '/mobrowser_pid/ {getline;getline;$7,$9}' just get Subnetwork n Mecontex
but i can not get specific problem on different line.
really appriciate any assistant and clue.
Regards,
lepi
from data below :
$mobrowser_pid = 7727
Connected to 10.149.13.41 (SubNetwork=NRO_RootMo_R,SubNetwork=RNC01,MeContext=3G_BIAS,ManagedElement=1)
Connected to 10.149.13.41 (SubNetwork=NRO_RootMo_R,SubNetwork=RNC01,MeContext=3G_BIAS,ManagedElement=1)
Last MO: 1549. Loaded 1549 MOs. Total: 1550 MOs.
3G_BIAS> alt
100310-07:41:24 202.149.13.41 7.1p RBS_NODE_MODEL_L_10_9 stopfile=/tmp/6950
Resolving the alarm service in OMS...
Simple Alarm Client initialized...
Starting to retrieve active alarms
Nr of active alarms are: 3
================================================================================================
Date & Time (Local) S Specific Problem Cause Mo-Reference
================================================================================================
2010-03-03 12:56:10 w IMA Link Reception Unusable at Far End remote_node_transmission_error ImaGroup=1-1-ima1,ImaLink=3
2010-03-03 16:46:52 M Loss of Tracking replaceable_unit_problem Synchronization=1
2010-03-03 17:00:18 m Loss of Synch Reference Redundancy replaceable_unit_problem Synchronization=1