je suis éléve ingénieur en 3eme année et je cherche un programme en perl qui permet d'extraire les données à partir d'un fichier texte .la forme du fichier est la suivante:
SMSC statistics report (printable file)
From (GMT) 070205000000
To (GMT) 070205235959
From (local) 05.02.07 00:00:00
To (local) 05.02.07 23:59:59
Days found 1
Days not found 0
Report abortions 0
Short message submissions by success
SUBMIT successful 389137
FF SUBMIT successful 2501883
PID not supported by SMSC 0
Originator not a subscriber 684
Or. not subscr. to service 0
System error in the SMSC 15241
Hard limit of license exceeded 0
Dest. unknown or not allowed 2246
Soft limit of license exceeded 0
FF soft limit of license exceeded 0
Other SUBMIT failure 0
--------
Total 2909191
Short message delivery attempts by success
DELIVER successful 600992
FF DELIVER successful 2189070
Temporary error, retried 1281587
Temporary error, last attempt 0
Permanent error, no retry 515
FF temporary error, retried 307876
FF permanent error, no retry 5029
No REPORT from nw, retried 1427
No REPORT from nw, last attempt 0
Short message cancelled 1
Short message deleted 1354
Short message replaced 4
Validity period expired 99560
Waiting for first delivery 0
System error in the SMSC 0
Other DELIVER failure 0
--------
Total 4487415
Status report (phase 1) delivery attempts by success
Status rep. deliv. successful 187103
FF Status rep. deliv. successful 3
Temporary error, retried 0
Temporary error, last attempt 0
Permanent error, no retry 0
FF temporary error, retried 1
FF permanent error, no retry 0
No REPORT from nw, retried 0
No REPORT from nw, last attempt 0
Short message cancelled 71036
Short message deleted 0
Short message replaced 0
Validity period expired 0
Waiting for first delivery 0
System error in the SMSC 0
Other status rep. req. failure 0
--------
Total 258143
Status report (phase 2) delivery attempts by success
Status rep. deliv. successful 141162
FF Status rep. deliv. successful 429158
Temporary error, retried 44523
Temporary error, last attempt 0
Permanent error, no retry 2
FF temporary error, retried 15976
FF permanent error, no retry 8
No REPORT from nw, retried 3
No REPORT from nw, last attempt 0
Short message cancelled 99
Short message deleted 0
Short message replaced 0
Validity period expired 875
Waiting for first delivery 0
System error in the SMSC 0
Other status rep. req. failure 0
--------
Total 631806
Failed delivery attempts by cause
Unknown subscriber 4991
Illegal subscriber 300
Teleservice not provisioned 210
Call barred 1753
CUG Reject 0
No SMS support in MS 318
Error in MS 131747
Facility not supported 16
Memory capacity exceeded 480482
Absent subscriber 964453
MS busy for MT SMS 32327
Network/Protocol failure 15517
Illegal equipment 0
No paging response 0
GMSC congestion 0
HLR timeout 17051
MSC/SGSN_timeout 6271
MT IMSI barred 0
SS7 GT translation missing 1
SS7 subsystem congestion 0
SS7 subSystem failure 0
SS7 unequipped user 0
SMRSE/TCP Error 0
MO/AO congestion 0
MT congestion 0
Message not in DB 0
No response 0
VSMSC not found 0
GPRS suspended 0
SS7 network failure 0
SS7 network congestion 0
SS7 unqualified 0
No paging response via MSC 0
IMSI detached 0
Roaming restriction 0
Deregistred in HLR for GSM 0
The MS purged for GSM 0
No paging response via SGSN 0
GPRS detached 0
Deregistred in HLR for GPRS 0
The MS purged for GPRS 0
Unidentified subscriber via MSC 0
Unidentified subscriber via SGSN 0
Data missing in SRI 0
Unexpected data in SRI 52
Data missing in FSM 0
Unexpected data in FSM 27
Msg waiting list full 0
Data missing in RSMD 0
Unexpected data in RSMD 0
Memory capacity exceeded(101) 0
MS busy for MT SMS(102) 0
MS busy for MT SMS(104) 0
Temporary error with HLR based forwarding 0
Other error 1
No report from network 1430
--------
Total 1656947
Commands
Status Enquiry, ok 0
Cancel SRR, ok 0
Cancel Message, ok 0
Activate SRR, ok 0
SRR, ok 0
Deferred Delivery, ok 0
Keyword Routing, ok 0
Other command, ok 0
Status Enquiry, fail 0
Cancel SRR, fail 0
Cancel Message, fail 0
Activate SRR, fail 0
SRR, fail 0
Deferred Delivery, fail 0
Keyword Routing, fail 0
Other command, fail 446
--------
Total 446
Succeeded SMS deliveries and stat. rep. deliveries by the attempt number
SMS stat(ph.1) stat(ph.2) Total
1 2400899 187105 545063 3133067
2 100582 1 14035 114618
3 53476 0 5918 59394
4 35791 0 2114 37905
5 20160 0 1398 21558
6 22617 0 713 23330
7 9107 0 399 9506
8 4598 0 224 4822
9 3171 0 143 3314
10 1831 0 91 1922
11 1389 0 59 1448
12 918 0 31 949
13 634 0 26 660
14 431 0 18 449
15 314 0 11 325
16 270 0 13 283
17 191 0 14 205
18 149 0 4 153
19 106 0 4 110
20 102 0 6 108
Unknown 133326 0 36 133362
---------------------------------------------------------------
Total 2790062 187106 570320 3547488
Average
att. nbr 1.26 1.00 1.09 1.22
Submissions by hour of day
MO AO MO Flex AO Flex Total
00 149753 13580 0 0 163333
01 60273 5724 0 0 65997
02 22753 2139 0 0 24892
03 10213 850 0 0 11063
04 6053 597 0 0 6650
05 6303 480 0 0 6783
06 11994 796 0 0 12790
07 24917 1366 0 0 26283
08 45963 3243 0 0 49206
09 74334 8353 0 0 82687
10 96063 9844 0 0 105907
11 108291 19499 0 0 127790
12 120900 21202 0 0 142102
13 122396 20670 0 0 143066
14 125579 22509 0 0 148088
15 115267 23853 0 0 139120
16 114180 24149 0 0 138329
17 118481 29193 0 0 147674
18 141670 26798 0 0 168468
19 166594 30800 0 0 197394
20 200068 34754 0 0 234822
21 221608 26884 0 0 248492
22 257010 23843 0 0 280853
23 200612 18619 0 0 219231
Unknown 0 0 0 0 0
-------------------------------------------
Total 2521275 369745 0 0 2891020
Submissions by ASE subscriber and hour of day
ASE BouquetINFO17280 Total
00 81 0 81
01 42 0 42
02 16 0 16
03 5 0 5
04 4 0 4
05 4 0 4
06 9 0 9
07 14 0 14
08 51 32 83
09 91 0 91
10 139 98 237
11 170 0 170
12 223 46 269
13 171 496 667
14 123 0 123
15 147 492 639
16 144 0 144
17 2251 35 2286
18 177 70 247
19 399 0 399
20 571 0 571
21 245 0 245
22 221 0 221
23 126 0 126
Unknown 0 0 0
-------------------------------------------------------------------------
Total 5424 1269 6693
je vous prie de m'aider la dessus car je suis bloquer dans cette étape
Partager