aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/collector/parser/regex.yaml
blob: 397f8973c1fae18b8cb8cba68e46583038a14580 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
##############################################################################
# Copyright (c) 2017 ZTE Corporation and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

dhrystone:
  - filename: dhrystone
    grep:
      - '^(?P<total_cpus>\d+)\sCPUs in system; running 1 parallel copy of tests$'
      - '.+\srunning (?P<single_cpu>\d+) parallel copy of tests$'
      - '.+\srunning (?P<multi_cpus>\d+) parallel copies of tests$'
      - '^System Benchmarks Index Score \(Partial Only\)\s+(?P<score>\d+\.\d)$'
whetstone:
  - filename: whetstone
    grep:
      - '^(?P<total_cpus>\d+)\sCPUs in system; running 1 parallel copy of tests$'
      - '.+\srunning (?P<single_cpu>\d+) parallel copy of tests$'
      - '.+\srunning (?P<multi_cpus>\d+) parallel copies of tests$'
      - '^System Benchmarks Index Score \(Partial Only\)\s+(?P<score>\d+\.\d)$'
dpi:
  - filename: dpi_dump.txt
    grep:
      - |-
          ^\s+nDPI throughput:.+?(?P<pps>\d+.\d+)\sM\spps.+
          ?(?P<bps>\d+.\d+)\sGb\/sec
ramspeed:
  - filename: Intmem
    grep:
      - '^INTEGER\s+BatchRun\s+Copy:\s+?(?P<integer_copy>\d+\.\d+)\sMB/s$'
      - '^INTEGER\s+BatchRun\s+Scale:\s+?(?P<integer_scale>\d+\.\d+)\sMB/s$'
      - '^INTEGER\s+BatchRun\s+Add:\s+?(?P<integer_add>\d+\.\d+)\sMB/s$'
      - '^INTEGER\s+BatchRun\s+Triad:\s+?(?P<integer_triad>\d+\.\d+)\sMB/s$'
      - '^INTEGER\s+BatchRun\s+AVERAGE:\s+?(?P<integer_average>\d+\.\d+)\sMB/s$'
  - filename: Floatmem
    grep:
      - '^FL-POINT\s+BatchRun\s+Copy:\s+?(?P<float_copy>\d+\.\d+)\sMB/s$'
      - '^FL-POINT\s+BatchRun\s+Scale:\s+?(?P<float_scale>\d+\.\d+)\sMB/s$'
      - '^FL-POINT\s+BatchRun\s+Add:\s+?(?P<float_add>\d+\.\d+)\sMB/s$'
      - '^FL-POINT\s+BatchRun\s+Triad:\s+?(?P<float_triad>\d+\.\d+)\sMB/s$'
      - '^FL-POINT\s+BatchRun\s+AVERAGE:\s+?(?P<float_average>\d+\.\d+)\sMB/s$'
ssl:
  - filename: RSA_dump
    grep:
      - |-
          ^rsa\s+512\sbits\s.+
          ?(?P<rsa_sign_512>\d+\.\d)\s+
          ?(?P<rsa_verify_512>\d+\.\d)$
      - |-
          ^rsa\s+1024\sbits\s.+
          ?(?P<rsa_sign_1024>\d+\.\d)\s+
          ?(?P<rsa_verify_1024>\d+\.\d)$
      - |-
          ^rsa\s+2048\sbits\s.+
          ?(?P<rsa_sign_2048>\d+\.\d)\s+
          ?(?P<rsa_verify_2048>\d+\.\d)$
      - |-
          ^rsa\s+4096\sbits\s.+
          ?(?P<rsa_sign_4096>\d+\.\d)\s+
          ?(?P<rsa_verify_4096>\d+\.\d)$
  - filename: AES-128-CBC_dump
    grep:
      - |-
          ^aes-128-cbc\s+
          ?(?P<aes_128_cbc_16_bytes>\d+\.\w+)\s+
          ?(?P<aes_128_cbc_64_bytes>\d+\.\w+)\s+
          ?(?P<aes_128_cbc_256_bytes>\d+\.\w+)\s+
          ?(?P<aes_128_cbc_1024_bytes>\d+\.\w+)\s+
          ?(?P<aes_128_cbc_8192_bytes>\d+\.\w+)$
sysinfo:
  - filename: top.log
    grep:
      - 'Cpu\(s\):.+?(?P<cpu_idle>\d+\.\d)\sid'
  - filename: inxi.log
    grep:
      - '.+\s+Host:\s+(?P<hostname>.+)\sKernel'
      - '.+\sMemory:\s+(?P<memory>.+MB)\s'
      - '^CPU\(s\):\s+(?P<cpu>.+)'
      - '.+\sDistro:\s+(?P<os>.+)'
      - '.+\sKernel:\s+(?P<kernel>.+)\sConsole'
      - '.+\s+HDD Total Size:\s+(?P<disk>.+)\s'
      - '.+\sproduct:\s+(?P<product>.+)\sv'