- 论坛徽章:
- 14
|
- ==================================================================================================
- Month: Nov Failure Ratio Key Performance Indicators (KPIs) NodeType: sgsn_g
- Day Time Attach PDP Activation Intra SGSN RAU ISRAU Paging Cut-off
- ================================================================================================
- 12 14.00 2.5% 0.1% 2.3% 2.7% 6.9% 0.9%
- --------------------------------------------------------------------------------------------------
- 12 13.00 2.4% 0.1% 2.1% 2.6% 7.6% 0.9%
- --------------------------------------------------------------------------------------------------
- 12 12.00 2.2% 0.1% 1.8% 3.8% 7.7% 0.9%
- --------------------------------------------------------------------------------------------------
- 12 11.00 2.8% 0.1% 1.8% 2.4% 7.9% 1.0%
- --------------------------------------------------------------------------------------------------
- 12 10.00 3.2% 0.2% 1.8% 3.1% 7.3% 1.2%
- --------------------------------------------------------------------------------------------------
- Average: 2.6% 0.1% 2.0% 2.9% 7.5% 1.0%
- --------------------------------------------------------------------------------------------------
- [root@test]# awk 'NR>=4{if(NR%2==0&&$0 !~/Average/)print $1,$2,$3,$4;if($0~/Average/)print $1,$2,$3}' 1.txt
- Day Time Attach PDP
- 12 14.00 2.5% 0.1%
- 12 13.00 2.4% 0.1%
- 12 12.00 2.2% 0.1%
- 12 11.00 2.8% 0.1%
- 12 10.00 3.2% 0.2%
- Average: 2.6% 0.1%
复制代码 求大神们优化~~ |
|