OpenTestPoint probes for system measurements.
<otestpoint id="node-1" discovery="localhost:8881" publish="localhost:8882">
<probe>
<python module="otestpoint.system.cpus" class="CPUs"/>
</probe>
<probe>
<python module="otestpoint.system.processes" class="Processes"/>
</probe>
</otestpoint>
[me@host]$ otestpoint-dump localhost:8882 System
[1518011225] node-1/0 846c99f5-3d9a-43e0-a636-7fe98301ed3d
otestpoint.system.cpus Measurement_system_cpus v1 1193 bytes
System.CPUs.node-1
[] cpus
|CPU|User |Nice |System |Idle |IOWait |IRQ |SoftIRQ|Steal|Guest|GuestNice|
| 0|1497.91|15.34|1481.62|85414.22| 341.00|0.00| 1.62| 0.00| 0.00| 0.00|
| 1|1543.41|18.31|1305.57|85942.34| 233.27|0.00| 0.69| 0.00| 0.00| 0.00|
| 2|1678.12| 9.40|1195.35|85940.93| 149.23|0.00| 1.08| 0.00| 0.00| 0.00|
| 3|1694.81|22.16|1191.70|84830.86|1207.98|0.00| 4.27| 0.00| 0.00| 0.00|
| 4| 831.48| 3.88| 709.58|87028.46| 545.62|0.00| 4.72| 0.00| 0.00| 0.00|
| 5| 814.88| 6.96| 565.08|87742.09| 44.81|0.00| 4.00| 0.00| 0.00| 0.00|
| 6| 461.01| 6.04| 456.76|86260.26| 41.32|0.00| 2.97| 0.00| 0.00| 0.00|
| 7| 441.58| 8.57| 386.70|86374.58| 46.98|0.00| 0.22| 0.00| 0.00| 0.00|
--
[1518011225] node-1/1 846c99f5-3d9a-43e0-a636-7fe98301ed3d
otestpoint.system.processes Measurement_system_processes v1 759 bytes
System.Processes.node-1
[] processes
|PID |Command |Affinity|User|System|Runtime |
| 1| init.lxc| 2|0.00| 0.00|84315.71|
| 6| sshd| 2|0.00| 0.01|84315.27|
|2446| sshd| 2|0.00| 0.02| 159.09|
|2476| sshd| 2|0.02| 0.03| 158.28|
|2477| bash| 2|0.08| 0.03| 158.23|
|2600|otestpoint-recorder| 2|0.00| 0.00| 87.72|
|2612| otestpointd| 2|0.00| 0.00| 87.70|
|2630| otestpoint-probe| 2|0.23| 0.02| 87.67|
|2639| otestpoint-probe| 2|0.24| 0.04| 87.25|
|2661| otestpoint-dump| 2|0.20| 0.04| 1.79|
--