]> granicus.if.org Git - sysstat/commitdiff
simtest: Add non regression tests for mpstat command
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 16 Nov 2019 13:37:59 +0000 (14:37 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 16 Nov 2019 13:37:59 +0000 (14:37 +0100)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
56 files changed:
tests/03000 [new file with mode: 0644]
tests/03002 [new file with mode: 0644]
tests/03010 [new file with mode: 0644]
tests/03012 [new file with mode: 0644]
tests/03020 [new file with mode: 0644]
tests/03022 [new file with mode: 0644]
tests/03030 [new file with mode: 0644]
tests/03032 [new file with mode: 0644]
tests/03040 [new file with mode: 0644]
tests/03042 [new file with mode: 0644]
tests/03100 [new file with mode: 0644]
tests/03105 [new file with mode: 0644]
tests/03110 [new file with mode: 0644]
tests/03115 [new file with mode: 0644]
tests/03120 [new file with mode: 0644]
tests/03125 [new file with mode: 0644]
tests/03130 [new file with mode: 0644]
tests/03135 [new file with mode: 0644]
tests/TLIST
tests/expected.mpstat [new file with mode: 0644]
tests/expected.mpstat-A [new file with mode: 0644]
tests/expected.mpstat-APN [new file with mode: 0644]
tests/expected.mpstat-I [new file with mode: 0644]
tests/expected.mpstat-dec [new file with mode: 0644]
tests/root1/sys/devices/system/cpu/cpu0/node0 [new file with mode: 0644]
tests/root1/sys/devices/system/cpu/cpu1/node1 [new file with mode: 0644]
tests/root1/sys/devices/system/cpu/cpu2/node0 [new file with mode: 0644]
tests/root1/sys/devices/system/cpu/cpu3/node1 [new file with mode: 0644]
tests/root1/sys/devices/system/cpu/cpu4/node0 [new file with mode: 0644]
tests/root1/sys/devices/system/cpu/cpu5/node1 [new file with mode: 0644]
tests/root1/sys/devices/system/cpu/cpu6/node0 [new file with mode: 0644]
tests/root1/sys/devices/system/cpu/cpu7/node1 [new file with mode: 0644]
tests/root2/sys/devices/system/cpu/cpu0/node0 [new file with mode: 0644]
tests/root2/sys/devices/system/cpu/cpu1/node1 [new file with mode: 0644]
tests/root2/sys/devices/system/cpu/cpu2/node0 [new file with mode: 0644]
tests/root2/sys/devices/system/cpu/cpu3/node1 [new file with mode: 0644]
tests/root2/sys/devices/system/cpu/cpu4/node0 [new file with mode: 0644]
tests/root2/sys/devices/system/cpu/cpu5/node1 [new file with mode: 0644]
tests/root2/sys/devices/system/cpu/cpu6/node0 [new file with mode: 0644]
tests/root2/sys/devices/system/cpu/cpu7/node1 [new file with mode: 0644]
tests/root3/sys/devices/system/cpu/cpu0/node0 [new file with mode: 0644]
tests/root3/sys/devices/system/cpu/cpu1/node1 [new file with mode: 0644]
tests/root3/sys/devices/system/cpu/cpu2/node0 [new file with mode: 0644]
tests/root3/sys/devices/system/cpu/cpu3/node1 [new file with mode: 0644]
tests/root3/sys/devices/system/cpu/cpu4/node0 [new file with mode: 0644]
tests/root3/sys/devices/system/cpu/cpu5/node1 [new file with mode: 0644]
tests/root3/sys/devices/system/cpu/cpu6/node0 [new file with mode: 0644]
tests/root3/sys/devices/system/cpu/cpu7/node1 [new file with mode: 0644]
tests/root4/sys/devices/system/cpu/cpu0/node0 [new file with mode: 0644]
tests/root4/sys/devices/system/cpu/cpu1/node1 [new file with mode: 0644]
tests/root4/sys/devices/system/cpu/cpu2/node0 [new file with mode: 0644]
tests/root4/sys/devices/system/cpu/cpu3/node1 [new file with mode: 0644]
tests/root4/sys/devices/system/cpu/cpu4/node0 [new file with mode: 0644]
tests/root4/sys/devices/system/cpu/cpu5/node1 [new file with mode: 0644]
tests/root4/sys/devices/system/cpu/cpu6/node0 [new file with mode: 0644]
tests/root4/sys/devices/system/cpu/cpu7/node1 [new file with mode: 0644]

diff --git a/tests/03000 b/tests/03000
new file mode 100644 (file)
index 0000000..0dd8b91
--- /dev/null
@@ -0,0 +1,3 @@
+rm -f tests/root
+ln -s root1 tests/root
+LC_ALL=C TZ=GMT ./mpstat > tests/out.mpstat.tmp
diff --git a/tests/03002 b/tests/03002
new file mode 100644 (file)
index 0000000..0a4e0e6
--- /dev/null
@@ -0,0 +1 @@
+diff -u tests/out.mpstat.tmp tests/expected.mpstat
diff --git a/tests/03010 b/tests/03010
new file mode 100644 (file)
index 0000000..6fe22a6
--- /dev/null
@@ -0,0 +1,3 @@
+rm -f tests/root
+ln -s root1 tests/root
+LC_ALL=C TZ=GMT ./mpstat -A 1 2 > tests/out.mpstat-A.tmp
diff --git a/tests/03012 b/tests/03012
new file mode 100644 (file)
index 0000000..a18e506
--- /dev/null
@@ -0,0 +1 @@
+diff -u tests/out.mpstat-A.tmp tests/expected.mpstat-A
diff --git a/tests/03020 b/tests/03020
new file mode 100644 (file)
index 0000000..212cef7
--- /dev/null
@@ -0,0 +1,3 @@
+rm -f tests/root
+ln -s root1 tests/root
+LC_ALL=C TZ=GMT ./mpstat -A -P 0,3-5 -N all 1 1 > tests/out.mpstat-APN.tmp
diff --git a/tests/03022 b/tests/03022
new file mode 100644 (file)
index 0000000..d5a6a2d
--- /dev/null
@@ -0,0 +1 @@
+diff -u tests/out.mpstat-APN.tmp tests/expected.mpstat-APN
diff --git a/tests/03030 b/tests/03030
new file mode 100644 (file)
index 0000000..0571f34
--- /dev/null
@@ -0,0 +1,3 @@
+rm -f tests/root
+ln -s root1 tests/root
+LC_ALL=C TZ=GMT ./mpstat -P 0,3-5 -N all,1 -I CPU,SCPU,SUM > tests/out.mpstat-I.tmp
diff --git a/tests/03032 b/tests/03032
new file mode 100644 (file)
index 0000000..817118b
--- /dev/null
@@ -0,0 +1 @@
+diff -u tests/out.mpstat-I.tmp tests/expected.mpstat-I
diff --git a/tests/03040 b/tests/03040
new file mode 100644 (file)
index 0000000..cbb7805
--- /dev/null
@@ -0,0 +1,3 @@
+rm -f tests/root
+ln -s root1 tests/root
+LC_ALL=C TZ=GMT ./mpstat -I ALL --dec=1 > tests/out.mpstat-dec.tmp
diff --git a/tests/03042 b/tests/03042
new file mode 100644 (file)
index 0000000..a46c747
--- /dev/null
@@ -0,0 +1 @@
+diff -u tests/out.mpstat-dec.tmp tests/expected.mpstat-dec
diff --git a/tests/03100 b/tests/03100
new file mode 100644 (file)
index 0000000..4b3bc2d
--- /dev/null
@@ -0,0 +1 @@
+LC_ALL=C ./mpstat -1 2>&1 | grep "Usage:" >/dev/null
diff --git a/tests/03105 b/tests/03105
new file mode 100644 (file)
index 0000000..eea86a6
--- /dev/null
@@ -0,0 +1 @@
+LC_ALL=C ./mpstat 0 0 2>&1 | grep "Usage:" >/dev/null
diff --git a/tests/03110 b/tests/03110
new file mode 100644 (file)
index 0000000..4ea4b1d
--- /dev/null
@@ -0,0 +1 @@
+LC_ALL=C ./mpstat 0 2 2>&1 | grep "Usage:" >/dev/null
diff --git a/tests/03115 b/tests/03115
new file mode 100644 (file)
index 0000000..8b1ba44
--- /dev/null
@@ -0,0 +1 @@
+LC_ALL=C ./mpstat 2 0 2>&1 | grep "Usage:" >/dev/null
diff --git a/tests/03120 b/tests/03120
new file mode 100644 (file)
index 0000000..62376f4
--- /dev/null
@@ -0,0 +1 @@
+LC_ALL=C ./mpstat 2 2 2 2>&1 | grep "Usage:" >/dev/null
diff --git a/tests/03125 b/tests/03125
new file mode 100644 (file)
index 0000000..6619adf
--- /dev/null
@@ -0,0 +1 @@
+LC_ALL=C ./mpstat --dec=3 2>&1 | grep "Usage:" >/dev/null
diff --git a/tests/03130 b/tests/03130
new file mode 100644 (file)
index 0000000..fd08e6b
--- /dev/null
@@ -0,0 +1 @@
+LC_ALL=C ./mpstat -N -1 2>&1 | grep "Usage:" >/dev/null
diff --git a/tests/03135 b/tests/03135
new file mode 100644 (file)
index 0000000..545f1d6
--- /dev/null
@@ -0,0 +1 @@
+LC_ALL=C ./mpstat -P 16 2>&1 | grep "Usage:" >/dev/null
index e422f0928f68ab5631a704d3060b9f7db256eb8e..959782f88409f74d8989dc63f0e20d27206eb8e5 100644 (file)
@@ -418,5 +418,29 @@ NOTES:
 02800  LC_ALL=C TZ=GMT S_TIME_FORMAT=ISO S_COLORS=never POSIXLY_CORRECT= ./iostat --getenv -d 2 3 > tests/out.iostat-ev.tmp
 02805  diff -u tests/out.iostat-ev.tmp tests/expected.iostat-ev
 
+=====  mpstat: Basic tests
+03000  LC_ALL=C TZ=GMT ./mpstat > tests/out.mpstat.tmp
+03002  diff -u tests/out.mpstat.tmp tests/expected.mpstat
+03010  LC_ALL=C TZ=GMT ./mpstat -A 1 2 > tests/out.mpstat-A.tmp
+03012  diff -u tests/out.mpstat-A.tmp tests/expected.mpstat-A
+03020  LC_ALL=C TZ=GMT ./mpstat -A -P 0,3-5 -N all 1 1 > tests/out.mpstat-APN.tmp
+03022  diff -u tests/out.mpstat-APN.tmp tests/expected.mpstat-APN
+03030  LC_ALL=C TZ=GMT ./mpstat -P 0,3-5 -N all,1 -I CPU,SCPU,SUM > tests/out.mpstat-I.tmp
+03032  diff -u tests/out.mpstat-I.tmp tests/expected.mpstat-I
+
+=====  Playing with mpstat
+03040  LC_ALL=C TZ=GMT ./mpstat -I ALL --dec=1 > tests/out.mpstat-dec.tmp
+03042  diff -u tests/out.mpstat-dec.tmp tests/expected.mpstat-dec
+
+=====  Tests mpstat error cases
+03100  LC_ALL=C ./mpstat -1 2>&1 | grep "Usage:" >/dev/null
+03105  LC_ALL=C ./mpstat 0 0 2>&1 | grep "Usage:" >/dev/null
+03110  LC_ALL=C ./mpstat 0 2 2>&1 | grep "Usage:" >/dev/null
+03115  LC_ALL=C ./mpstat 2 0 2>&1 | grep "Usage:" >/dev/null
+03120  LC_ALL=C ./mpstat 2 2 2 2>&1 | grep "Usage:" >/dev/null
+03125  LC_ALL=C ./mpstat --dec=3 2>&1 | grep "Usage:" >/dev/null
+03130  LC_ALL=C ./mpstat -N -1 2>&1 | grep "Usage:" >/dev/null
+03135  LC_ALL=C ./mpstat -P 16 2>&1 | grep "Usage:" >/dev/null
+
 =====  Tests to be done at the very end
 09900  grep -i FIXME *.c *.h *.in && exit 1 || exit 0
diff --git a/tests/expected.mpstat b/tests/expected.mpstat
new file mode 100644 (file)
index 0000000..9233f92
--- /dev/null
@@ -0,0 +1,4 @@
+Linux 1.2.3-TEST (SYSSTAT.TEST)        01/01/70        _x86_64_        (8 CPU)
+
+00:00:00     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
+00:00:00     all    1.65   44.90    0.91    1.01    0.48    0.45    0.00    0.00    0.00   50.60
diff --git a/tests/expected.mpstat-A b/tests/expected.mpstat-A
new file mode 100644 (file)
index 0000000..e2d874d
--- /dev/null
@@ -0,0 +1,141 @@
+Linux 1.2.3-TEST (SYSSTAT.TEST)        01/01/70        _x86_64_        (8 CPU)
+
+00:00:00     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
+00:00:01     all    2.15   12.50    1.84    0.12    0.34    0.19    0.00    0.00    0.00   82.88
+00:00:01       0    2.71    0.03    2.16    0.00    0.32    0.64    0.00    0.00    0.00   94.14
+00:00:01       1    2.85    0.00    4.28    0.00    0.68    0.19    0.00    0.00    0.00   91.99
+00:00:01       2    2.25    0.03    1.51    0.68    0.23    0.13    0.00    0.00    0.00   95.18
+00:00:01       3    0.00   99.55    0.06    0.00    0.32    0.06    0.00    0.00    0.00    0.00
+00:00:01       4    2.41    0.00    1.61    0.03    0.26    0.19    0.00    0.00    0.00   95.50
+00:00:01       5    1.65    0.00    2.33    0.00    0.36    0.10    0.00    0.00    0.00   95.57
+00:00:01       6    2.41    0.00    2.03    0.16    0.48    0.10    0.00    0.00    0.00   94.82
+00:00:01       7    2.89    0.00    0.74    0.06    0.06    0.06    0.00    0.00    0.00   96.18
+
+00:00:00    NODE    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
+00:00:01     all    2.15   12.50    1.84    0.12    0.34    0.19    0.00    0.00    0.00   82.88
+00:00:01       0    2.44    0.02    1.83    0.22    0.32    0.27    0.00    0.00    0.00   94.91
+00:00:01       1    1.85   25.01    1.85    0.02    0.35    0.10    0.00    0.00    0.00   70.83
+
+00:00:00     CPU    intr/s
+00:00:01     all  35525.06
+00:00:01       0     40.78
+00:00:01       1     33.62
+00:00:01       2     46.65
+00:00:01       3     48.67
+00:00:01       4     68.85
+00:00:01       5     42.67
+00:00:01       6     62.88
+00:00:01       7     42.22
+
+00:00:00     CPU        0/s        8/s        9/s       16/s       17/s       18/s       19/s       23/s       24/s       25/s       26/s       27/s       28/s       29/s       30/s       31/s       32/s       33/s       34/s       35/s       36/s      NMI/s      LOC/s      SPU/s      PMI/s      IWI/s      RTR/s      RES/s      CAL/s      TLB/s      TRM/s      THR/s      DFR/s      MCE/s      MCP/s      HYP/s      HRE/s      HVS/s      ERR/s      MIS/s      PIN/s      NPI/s      PIW/s
+00:00:01       0       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.03    5434.36       0.00       0.03       0.00       0.00     149.37      69.87     105.97       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:01       1       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00   11720.31       0.00       0.00       0.00       0.00      32.72      19.44      56.79       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:01       2       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00      10.39       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00    2903.79       0.00       0.00       0.00       0.00      13.19      20.47      42.89       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:01       3       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00      15.11       0.00       0.00       0.00       0.13    1009.79       0.00       0.13       0.00       0.00       0.10       1.41       0.35       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:01       4       0.00       0.00       0.00       0.00       0.00       0.00      25.92      35.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00    2825.25       0.00       0.00       0.00       0.00       4.62      13.35      48.60       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:01       5       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00    5828.49       0.00       0.00       0.00       0.00       2.69      17.32      32.34       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:01       6       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00     149.98       0.00       0.00       0.03    4691.08       0.00       0.03       0.00       0.00       9.11      18.67      29.71       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:01       7       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00     468.33       0.00       0.00       0.00       0.00       3.21      31.15      84.57       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+
+00:00:00     CPU       HI/s    TIMER/s   NET_TX/s   NET_RX/s    BLOCK/s IRQ_POLL/s  TASKLET/s    SCHED/s  HRTIMER/s      RCU/s
+00:00:01       0       0.00      13.09       0.00       0.00       0.00       0.00       0.00      19.44       0.00       8.25
+00:00:01       1       0.00      17.36       0.00       0.00       0.00       0.00       0.00       8.05       0.00       8.21
+00:00:01       2       0.00      25.99       0.00       0.00       2.18       0.00       0.00       6.10       0.00      12.38
+00:00:01       3       0.00      21.98       0.10       1.19       0.00       0.00       0.00       9.98       0.00      15.43
+00:00:01       4       3.02      21.78       0.00       0.00       0.38       0.00      19.44      11.97       0.00      12.26
+00:00:01       5       0.00      19.19       0.00       0.00       0.77       0.00       0.00      11.87       0.00      10.84
+00:00:01       6       0.00      31.41       0.00       0.00       0.00       0.00       0.00      15.01       0.00      16.46
+00:00:01       7       0.00      20.08       0.00       0.00       0.00       0.00       0.00       9.82       0.00      12.32
+
+00:00:01     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
+00:00:02     all    2.28    0.00    1.55    0.50    0.19    0.19    0.00    0.00    0.00   95.29
+00:00:02       0    1.25    0.00    1.51    0.35    0.19    0.58    0.00    0.00    0.00   96.12
+00:00:02       1    2.15    0.00    0.96    0.77    0.10    0.16    0.00    0.00    0.00   95.87
+00:00:02       2    3.27    0.00    1.73    0.77    0.22    0.10    0.00    0.00    0.00   93.90
+00:00:02       3    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
+00:00:02       4    3.44    0.00    2.16    0.84    0.32    0.16    0.00    0.00    0.00   93.08
+00:00:02       5    2.76    0.00    2.08    0.16    0.19    0.10    0.00    0.00    0.00   94.71
+00:00:02       7    0.83    0.00    0.83    0.10    0.10    0.06    0.00    0.00    0.00   98.08
+
+00:00:01    NODE    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
+00:00:02     all    2.28    0.00    1.55    0.50    0.19    0.19    0.00    0.00    0.00   95.29
+00:00:02       0    2.66    0.00    1.80    0.65    0.25    0.28    0.00    0.00    0.00   94.37
+00:00:02       1    1.91    0.00    1.29    0.34    0.13    0.11    0.00    0.00    0.00   96.22
+
+00:00:01     CPU    intr/s
+00:00:02     all  24402.62
+00:00:02       0     75.99
+00:00:02       1     38.89
+00:00:02       2     32.81
+00:00:02       3      0.00
+00:00:02       4     92.96
+00:00:02       5     75.35
+00:00:02       6      0.00
+00:00:02       7     34.86
+
+00:00:01     CPU        0/s        8/s        9/s       16/s       17/s       18/s       19/s       23/s       24/s       25/s       26/s       27/s       28/s       29/s       30/s       31/s       32/s       33/s       34/s       35/s       36/s      NMI/s      LOC/s      SPU/s      PMI/s      IWI/s      RTR/s      RES/s      CAL/s      TLB/s      TRM/s      THR/s      DFR/s      MCE/s      MCP/s      HYP/s      HRE/s      HVS/s      ERR/s      MIS/s      PIN/s      NPI/s      PIW/s
+00:00:02       0       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00    2967.32       0.00       0.00       0.00       0.00     130.12       5.35      15.72       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:02       1       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00     967.77       0.00       0.00       0.00       0.00      18.95       4.96      26.31       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:02       2       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00      12.93       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.03    3397.70       0.00       0.03       0.00       0.00       7.62       5.92      20.39       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:02       3       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00      10.21       0.00       0.00       0.00       0.10    1010.24       0.00       0.10       0.00       0.00       0.16       0.38       0.32       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:02       4       0.00       0.00       0.00       0.00       0.00       0.00      23.34      23.88       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00    4783.96       0.00       0.00       0.00       0.00       4.61       5.09      13.48       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:02       5       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.03    2852.85       0.00       0.03       0.00       0.00       3.36      12.64      24.20       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:02       6       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00     137.10       0.00       0.00       0.00    6864.76       0.00       0.00       0.00       0.00       4.29       7.75      20.52       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:02       7       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00    1132.78       0.00       0.00       0.00       0.00       2.37       3.68      10.69       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+
+00:00:01     CPU       HI/s    TIMER/s   NET_TX/s   NET_RX/s    BLOCK/s IRQ_POLL/s  TASKLET/s    SCHED/s  HRTIMER/s      RCU/s
+00:00:02       0       0.00      31.91       0.00       0.00       0.00       0.00       0.00      26.50       0.00      17.57
+00:00:02       1       0.00      15.46       0.00       0.00       0.00       0.00       0.00      13.86       0.00       9.57
+00:00:02       2       0.00      10.31       0.06       0.00       8.71       0.00       0.00       7.33       0.00       6.40
+00:00:02       3       0.00      23.50       0.13       0.83       0.00       0.00       0.00      13.25       0.00      14.79
+00:00:02       4       6.47      29.00       0.00       0.00       0.42       0.00      21.96      19.49       0.00      15.62
+00:00:02       5       0.00      36.14       0.00       0.00       0.99       0.00       0.00      18.21       0.00      20.01
+00:00:02       6       0.00      33.07       0.00       0.00       0.00       0.00       0.00      15.72       0.00      18.25
+00:00:02       7       0.00      16.77       0.00       0.00       0.00       0.00       0.00       8.51       0.00       9.57
+
+Average:     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
+Average:     all    2.20    7.13    1.71    0.28    0.27    0.19    0.00    0.00    0.00   88.21
+Average:       0    1.98    0.02    1.83    0.18    0.26    0.61    0.00    0.00    0.00   95.13
+Average:       1    2.50    0.00    2.61    0.39    0.39    0.18    0.00    0.00    0.00   93.94
+Average:       2    2.76    0.02    1.62    0.72    0.22    0.11    0.00    0.00    0.00   94.54
+Average:       3    0.00   99.55    0.06    0.00    0.32    0.06    0.00    0.00    0.00    0.00
+Average:       4    2.93    0.00    1.88    0.43    0.29    0.18    0.00    0.00    0.00   94.29
+Average:       5    2.21    0.00    2.21    0.08    0.27    0.10    0.00    0.00    0.00   95.14
+Average:       6    2.41    0.00    2.03    0.16    0.48    0.10    0.00    0.00    0.00   94.82
+Average:       7    1.86    0.00    0.79    0.08    0.08    0.06    0.00    0.00    0.00   97.13
+
+Average:    NODE    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
+Average:     all    2.20    7.13    1.71    0.28    0.27    0.19    0.00    0.00    0.00   88.21
+Average:       0    2.54    0.01    1.81    0.40    0.29    0.27    0.00    0.00    0.00   94.68
+Average:       1    1.87   14.25    1.61    0.16    0.26    0.11    0.00    0.00    0.00   81.74
+
+Average:     CPU    intr/s
+Average:     all  29957.60
+Average:       0     58.40
+Average:       1     36.26
+Average:       2     39.72
+Average:       3     50.58
+Average:       4     80.92
+Average:       5     59.03
+Average:       6     64.96
+Average:       7     38.54
+
+Average:     CPU        0/s        8/s        9/s       16/s       17/s       18/s       19/s       23/s       24/s       25/s       26/s       27/s       28/s       29/s       30/s       31/s       32/s       33/s       34/s       35/s       36/s      NMI/s      LOC/s      SPU/s      PMI/s      IWI/s      RTR/s      RES/s      CAL/s      TLB/s      TRM/s      THR/s      DFR/s      MCE/s      MCP/s      HYP/s      HRE/s      HVS/s      ERR/s      MIS/s      PIN/s      NPI/s      PIW/s
+Average:       0       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.02    4199.46       0.00       0.02       0.00       0.00     139.74      37.57      60.79       0.00       0.00       0.00       0.00       0.02       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+Average:       1       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00    6338.01       0.00       0.00       0.00       0.00      25.83      12.19      41.53       0.00       0.00       0.00       0.00       0.02       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+Average:       2       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00      11.66       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.02    3151.02       0.00       0.02       0.00       0.00      10.40      13.19      31.63       0.00       0.00       0.00       0.00       0.02       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+Average:       3       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00      12.66       0.00       0.00       0.00       0.11    1010.01       0.00       0.11       0.00       0.00       0.13       0.90       0.34       0.00       0.00       0.00       0.00       0.02       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+Average:       4       0.00       0.00       0.00       0.00       0.00       0.00      24.63      29.45       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00    3805.70       0.00       0.00       0.00       0.00       4.61       9.21      31.02       0.00       0.00       0.00       0.00       0.02       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+Average:       5       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.02    4339.00       0.00       0.02       0.00       0.00       3.03      14.98      28.26       0.00       0.00       0.00       0.00       0.02       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+Average:       6       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00     143.53       0.00       0.00       0.02    5779.14       0.00       0.02       0.00       0.00       6.70      13.20      25.11       0.00       0.00       0.00       0.00       0.02       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+Average:       7       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00     800.93       0.00       0.00       0.00       0.00       2.79      17.40      47.59       0.00       0.00       0.00       0.00       0.02       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+
+Average:     CPU       HI/s    TIMER/s   NET_TX/s   NET_RX/s    BLOCK/s IRQ_POLL/s  TASKLET/s    SCHED/s  HRTIMER/s      RCU/s
+Average:       0       0.00      22.51       0.00       0.00       0.00       0.00       0.00      22.98       0.00      12.91
+Average:       1       0.00      16.41       0.00       0.00       0.00       0.00       0.00      10.96       0.00       8.89
+Average:       2       0.00      18.14       0.03       0.00       5.45       0.00       0.00       6.71       0.00       9.39
+Average:       3       0.00      22.74       0.11       1.01       0.00       0.00       0.00      11.62       0.00      15.11
+Average:       4       4.74      25.40       0.00       0.00       0.40       0.00      20.70      15.73       0.00      13.94
+Average:       5       0.00      27.67       0.00       0.00       0.88       0.00       0.00      15.05       0.00      15.43
+Average:       6       0.00      32.24       0.00       0.00       0.00       0.00       0.00      15.37       0.00      17.35
+Average:       7       0.00      18.43       0.00       0.00       0.00       0.00       0.00       9.17       0.00      10.94
diff --git a/tests/expected.mpstat-APN b/tests/expected.mpstat-APN
new file mode 100644 (file)
index 0000000..6494180
--- /dev/null
@@ -0,0 +1,55 @@
+Linux 1.2.3-TEST (SYSSTAT.TEST)        01/01/70        _x86_64_        (8 CPU)
+
+00:00:00     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
+00:00:01       0    2.71    0.03    2.16    0.00    0.32    0.64    0.00    0.00    0.00   94.14
+00:00:01       3    0.00   99.55    0.06    0.00    0.32    0.06    0.00    0.00    0.00    0.00
+00:00:01       4    2.41    0.00    1.61    0.03    0.26    0.19    0.00    0.00    0.00   95.50
+00:00:01       5    1.65    0.00    2.33    0.00    0.36    0.10    0.00    0.00    0.00   95.57
+
+00:00:00    NODE    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
+00:00:01     all    2.15   12.50    1.84    0.12    0.34    0.19    0.00    0.00    0.00   82.88
+
+00:00:00     CPU    intr/s
+00:00:01       0     40.78
+00:00:01       3     48.67
+00:00:01       4     68.85
+00:00:01       5     42.67
+
+00:00:00     CPU        0/s        8/s        9/s       16/s       17/s       18/s       19/s       23/s       24/s       25/s       26/s       27/s       28/s       29/s       30/s       31/s       32/s       33/s       34/s       35/s       36/s      NMI/s      LOC/s      SPU/s      PMI/s      IWI/s      RTR/s      RES/s      CAL/s      TLB/s      TRM/s      THR/s      DFR/s      MCE/s      MCP/s      HYP/s      HRE/s      HVS/s      ERR/s      MIS/s      PIN/s      NPI/s      PIW/s
+00:00:01       0       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.03    5434.36       0.00       0.03       0.00       0.00     149.37      69.87     105.97       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:01       3       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00      15.11       0.00       0.00       0.00       0.13    1009.79       0.00       0.13       0.00       0.00       0.10       1.41       0.35       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:01       4       0.00       0.00       0.00       0.00       0.00       0.00      25.92      35.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00    2825.25       0.00       0.00       0.00       0.00       4.62      13.35      48.60       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:01       5       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00    5828.49       0.00       0.00       0.00       0.00       2.69      17.32      32.34       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+
+00:00:00     CPU       HI/s    TIMER/s   NET_TX/s   NET_RX/s    BLOCK/s IRQ_POLL/s  TASKLET/s    SCHED/s  HRTIMER/s      RCU/s
+00:00:01       0       0.00      13.09       0.00       0.00       0.00       0.00       0.00      19.44       0.00       8.25
+00:00:01       3       0.00      21.98       0.10       1.19       0.00       0.00       0.00       9.98       0.00      15.43
+00:00:01       4       3.02      21.78       0.00       0.00       0.38       0.00      19.44      11.97       0.00      12.26
+00:00:01       5       0.00      19.19       0.00       0.00       0.77       0.00       0.00      11.87       0.00      10.84
+
+Average:     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
+Average:       0    2.71    0.03    2.16    0.00    0.32    0.64    0.00    0.00    0.00   94.14
+Average:       3    0.00   99.55    0.06    0.00    0.32    0.06    0.00    0.00    0.00    0.00
+Average:       4    2.41    0.00    1.61    0.03    0.26    0.19    0.00    0.00    0.00   95.50
+Average:       5    1.65    0.00    2.33    0.00    0.36    0.10    0.00    0.00    0.00   95.57
+
+Average:    NODE    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
+Average:     all    2.15   12.50    1.84    0.12    0.34    0.19    0.00    0.00    0.00   82.88
+
+Average:     CPU    intr/s
+Average:       0     40.78
+Average:       3     48.67
+Average:       4     68.85
+Average:       5     42.67
+
+Average:     CPU        0/s        8/s        9/s       16/s       17/s       18/s       19/s       23/s       24/s       25/s       26/s       27/s       28/s       29/s       30/s       31/s       32/s       33/s       34/s       35/s       36/s      NMI/s      LOC/s      SPU/s      PMI/s      IWI/s      RTR/s      RES/s      CAL/s      TLB/s      TRM/s      THR/s      DFR/s      MCE/s      MCP/s      HYP/s      HRE/s      HVS/s      ERR/s      MIS/s      PIN/s      NPI/s      PIW/s
+Average:       0       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.03    5434.36       0.00       0.03       0.00       0.00     149.37      69.87     105.97       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+Average:       3       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00      15.11       0.00       0.00       0.00       0.13    1009.79       0.00       0.13       0.00       0.00       0.10       1.41       0.35       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+Average:       4       0.00       0.00       0.00       0.00       0.00       0.00      25.92      35.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00    2825.25       0.00       0.00       0.00       0.00       4.62      13.35      48.60       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+Average:       5       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00    5828.49       0.00       0.00       0.00       0.00       2.69      17.32      32.34       0.00       0.00       0.00       0.00       0.03       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+
+Average:     CPU       HI/s    TIMER/s   NET_TX/s   NET_RX/s    BLOCK/s IRQ_POLL/s  TASKLET/s    SCHED/s  HRTIMER/s      RCU/s
+Average:       0       0.00      13.09       0.00       0.00       0.00       0.00       0.00      19.44       0.00       8.25
+Average:       3       0.00      21.98       0.10       1.19       0.00       0.00       0.00       9.98       0.00      15.43
+Average:       4       3.02      21.78       0.00       0.00       0.38       0.00      19.44      11.97       0.00      12.26
+Average:       5       0.00      19.19       0.00       0.00       0.77       0.00       0.00      11.87       0.00      10.84
diff --git a/tests/expected.mpstat-I b/tests/expected.mpstat-I
new file mode 100644 (file)
index 0000000..8095ac4
--- /dev/null
@@ -0,0 +1,23 @@
+Linux 1.2.3-TEST (SYSSTAT.TEST)        01/01/70        _x86_64_        (8 CPU)
+
+00:00:00    NODE    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest  %gnice   %idle
+00:00:00     all    1.65   44.90    0.91    1.01    0.48    0.45    0.00    0.00    0.00   50.60
+00:00:00       1    1.66   46.18    0.89    0.91    0.45    0.29    0.00    0.00    0.00   49.61
+
+00:00:00     CPU    intr/s
+00:00:00       0     57.08
+00:00:00       3     60.37
+00:00:00       4     73.64
+00:00:00       5     53.54
+
+00:00:00     CPU        0/s        8/s        9/s       16/s       17/s       18/s       19/s       23/s       24/s       25/s       26/s       27/s       28/s       29/s       30/s       31/s       32/s       33/s       34/s       35/s       36/s      NMI/s      LOC/s      SPU/s      PMI/s      IWI/s      RTR/s      RES/s      CAL/s      TLB/s      TRM/s      THR/s      DFR/s      MCE/s      MCP/s      HYP/s      HRE/s      HVS/s      ERR/s      MIS/s      PIN/s      NPI/s      PIW/s
+00:00:00       0       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.05    1537.52       0.00       0.05       0.00       0.00     196.97       4.45       4.81       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:00       3       0.00       0.00       0.00       1.46       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       7.43       0.00       0.00       0.00       0.08    1272.09       0.00       0.08       0.00       0.00      20.72       4.20       4.56       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:00       4       0.00       0.00       0.00       0.00       0.00       0.00      25.08      20.31       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.05    1801.74       0.00       0.05       0.00       0.00      76.09       3.78       5.69       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+00:00:00       5       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.05    1521.36       0.00       0.05       0.00       0.00      11.89       4.37       5.37       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00       0.00
+
+00:00:00     CPU       HI/s    TIMER/s   NET_TX/s   NET_RX/s    BLOCK/s IRQ_POLL/s  TASKLET/s    SCHED/s  HRTIMER/s      RCU/s
+00:00:00       0       0.00      23.23       0.00       0.00       0.03       0.00       0.00      20.56       0.00      13.26
+00:00:00       3       0.00      26.19       0.10       7.31       0.00       0.00       0.02      11.78       0.04      14.94
+00:00:00       4       4.97      26.34       0.00       0.00       0.47       0.00      15.81      12.00       0.00      14.05
+00:00:00       5       0.00      26.25       0.01       0.00       0.23       0.00       0.00      12.53       0.00      14.52
diff --git a/tests/expected.mpstat-dec b/tests/expected.mpstat-dec
new file mode 100644 (file)
index 0000000..9f53d9b
--- /dev/null
@@ -0,0 +1,24 @@
+Linux 1.2.3-TEST (SYSSTAT.TEST)        01/01/70        _x86_64_        (8 CPU)
+
+00:00:00     CPU    intr/s
+00:00:00     all   13222.7
+
+00:00:00     CPU        0/s        8/s        9/s       16/s       17/s       18/s       19/s       23/s       24/s       25/s       26/s       27/s       28/s       29/s       30/s       31/s       32/s       33/s       34/s       35/s       36/s      NMI/s      LOC/s      SPU/s      PMI/s      IWI/s      RTR/s      RES/s      CAL/s      TLB/s      TRM/s      THR/s      DFR/s      MCE/s      MCP/s      HYP/s      HRE/s      HVS/s      ERR/s      MIS/s      PIN/s      NPI/s      PIW/s
+00:00:00       0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.1     1537.5        0.0        0.1        0.0        0.0      197.0        4.4        4.8        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0
+00:00:00       1        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        2.1        0.1     1690.2        0.0        0.1        0.0        0.0       77.4        5.3        6.5        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0
+00:00:00       2        0.0        0.0        0.0        0.0        0.1        0.0        0.0        0.0       30.7        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.1     1133.5        0.0        0.1        0.0        0.0       14.5        3.8        3.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0
+00:00:00       3        0.0        0.0        0.0        1.5        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        7.4        0.0        0.0        0.0        0.1     1272.1        0.0        0.1        0.0        0.0       20.7        4.2        4.6        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0
+00:00:00       4        0.0        0.0        0.0        0.0        0.0        0.0       25.1       20.3        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0     1801.7        0.0        0.0        0.0        0.0       76.1        3.8        5.7        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0
+00:00:00       5        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0     1521.4        0.0        0.0        0.0        0.0       11.9        4.4        5.4        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0
+00:00:00       6        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0      105.1        0.0        0.0        0.0     1882.4        0.0        0.0        0.0        0.0       12.9        5.8        9.8        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0
+00:00:00       7        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0     1736.5        0.0        0.0        0.0        0.0        6.9        5.1        7.9        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0        0.0
+
+00:00:00     CPU       HI/s    TIMER/s   NET_TX/s   NET_RX/s    BLOCK/s IRQ_POLL/s  TASKLET/s    SCHED/s  HRTIMER/s      RCU/s
+00:00:00       0        0.0       23.2        0.0        0.0        0.0        0.0        0.0       20.6        0.0       13.3
+00:00:00       1        0.0       23.3        0.0        0.0        0.1        0.0        0.0       14.0        0.0       13.5
+00:00:00       2        0.0       24.0        0.0        0.0       13.1        0.0        0.0       11.5        0.0       13.2
+00:00:00       3        0.0       26.2        0.1        7.3        0.0        0.0        0.0       11.8        0.0       14.9
+00:00:00       4        5.0       26.3        0.0        0.0        0.5        0.0       15.8       12.0        0.0       14.0
+00:00:00       5        0.0       26.3        0.0        0.0        0.2        0.0        0.0       12.5        0.0       14.5
+00:00:00       6        0.0       23.0        0.0        0.0        0.2        0.0        0.0       10.6        0.0       13.5
+00:00:00       7        0.0       26.2        0.0        0.0        0.0        0.0        0.0       11.7        0.0       14.4
diff --git a/tests/root1/sys/devices/system/cpu/cpu0/node0 b/tests/root1/sys/devices/system/cpu/cpu0/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root1/sys/devices/system/cpu/cpu1/node1 b/tests/root1/sys/devices/system/cpu/cpu1/node1
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root1/sys/devices/system/cpu/cpu2/node0 b/tests/root1/sys/devices/system/cpu/cpu2/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root1/sys/devices/system/cpu/cpu3/node1 b/tests/root1/sys/devices/system/cpu/cpu3/node1
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root1/sys/devices/system/cpu/cpu4/node0 b/tests/root1/sys/devices/system/cpu/cpu4/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root1/sys/devices/system/cpu/cpu5/node1 b/tests/root1/sys/devices/system/cpu/cpu5/node1
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root1/sys/devices/system/cpu/cpu6/node0 b/tests/root1/sys/devices/system/cpu/cpu6/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root1/sys/devices/system/cpu/cpu7/node1 b/tests/root1/sys/devices/system/cpu/cpu7/node1
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root2/sys/devices/system/cpu/cpu0/node0 b/tests/root2/sys/devices/system/cpu/cpu0/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root2/sys/devices/system/cpu/cpu1/node1 b/tests/root2/sys/devices/system/cpu/cpu1/node1
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root2/sys/devices/system/cpu/cpu2/node0 b/tests/root2/sys/devices/system/cpu/cpu2/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root2/sys/devices/system/cpu/cpu3/node1 b/tests/root2/sys/devices/system/cpu/cpu3/node1
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root2/sys/devices/system/cpu/cpu4/node0 b/tests/root2/sys/devices/system/cpu/cpu4/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root2/sys/devices/system/cpu/cpu5/node1 b/tests/root2/sys/devices/system/cpu/cpu5/node1
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root2/sys/devices/system/cpu/cpu6/node0 b/tests/root2/sys/devices/system/cpu/cpu6/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root2/sys/devices/system/cpu/cpu7/node1 b/tests/root2/sys/devices/system/cpu/cpu7/node1
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root3/sys/devices/system/cpu/cpu0/node0 b/tests/root3/sys/devices/system/cpu/cpu0/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root3/sys/devices/system/cpu/cpu1/node1 b/tests/root3/sys/devices/system/cpu/cpu1/node1
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root3/sys/devices/system/cpu/cpu2/node0 b/tests/root3/sys/devices/system/cpu/cpu2/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root3/sys/devices/system/cpu/cpu3/node1 b/tests/root3/sys/devices/system/cpu/cpu3/node1
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root3/sys/devices/system/cpu/cpu4/node0 b/tests/root3/sys/devices/system/cpu/cpu4/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root3/sys/devices/system/cpu/cpu5/node1 b/tests/root3/sys/devices/system/cpu/cpu5/node1
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root3/sys/devices/system/cpu/cpu6/node0 b/tests/root3/sys/devices/system/cpu/cpu6/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root3/sys/devices/system/cpu/cpu7/node1 b/tests/root3/sys/devices/system/cpu/cpu7/node1
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root4/sys/devices/system/cpu/cpu0/node0 b/tests/root4/sys/devices/system/cpu/cpu0/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root4/sys/devices/system/cpu/cpu1/node1 b/tests/root4/sys/devices/system/cpu/cpu1/node1
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root4/sys/devices/system/cpu/cpu2/node0 b/tests/root4/sys/devices/system/cpu/cpu2/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root4/sys/devices/system/cpu/cpu3/node1 b/tests/root4/sys/devices/system/cpu/cpu3/node1
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root4/sys/devices/system/cpu/cpu4/node0 b/tests/root4/sys/devices/system/cpu/cpu4/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root4/sys/devices/system/cpu/cpu5/node1 b/tests/root4/sys/devices/system/cpu/cpu5/node1
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root4/sys/devices/system/cpu/cpu6/node0 b/tests/root4/sys/devices/system/cpu/cpu6/node0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/root4/sys/devices/system/cpu/cpu7/node1 b/tests/root4/sys/devices/system/cpu/cpu7/node1
new file mode 100644 (file)
index 0000000..e69de29