- 论坛徽章:
- 15
|
本帖最后由 rdcwayx 于 2014-02-13 18:17 编辑
看到源文件了,先产生个数据文件。- awk '/cases passed/{l=split($1,a,"[/:]");print a[l-2],$5,$18}
- /Run: /{l=split($1,a,"[/:]");print a[l-2],$6,$9,$24}
- ' RS="vobs" session.log
- acl 3 57.45%
- ampcontrol 3 2 2.73106%
- cfr 6 58.7955%
- cpmgr 16 87.0307%
- digitalsensors 9 21.8677%
- eeprom 5 69.987%
- fcpc 13 73.7325%
- gfh 14 96.0091%
- hfm 9 54.8601%
- pathdelay 6 73.37%
- psuisr 16 92.57%
- rpgc 14 82.645%
- txattn 16 75.441%
- tempsense 15 86.8121%
- tcs 11 60.3436%
- cpri 26 2 77.2301%
- delaymgr 9 90.8476%
- antcal 6 63.22%
- dpdcpu 9 65.6931%
- eh 24 77.6101%
- fcpcs 9 1 81.1428%
- fpgc 26 74.8622%
- led 15 86.7728%
- ralaisg 17 1 66.7043%
- reportmgr 22 79.635%
- ttlna 5 2 39.8396%
- txcntl 32 76.824%
- vswr 4 87.4331%
- iqec 7 39.5902%
- cam 53 2 72.7036%
复制代码 |
|