summaryrefslogtreecommitdiff
path: root/testcases/010-cpu-usage/stat
diff options
context:
space:
mode:
authoreplanet <emeric.planet@gmail.com>2017-03-26 12:54:07 +0200
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2017-03-26 06:54:07 -0400
commit94651257cea4ff419f9cf2143d93193d5a5ccb96 (patch)
treeca563d7570df6c8e84e93a04ecf85037ab77eae8 /testcases/010-cpu-usage/stat
parent3ae0decbb33015fb111cdf7ea3d117bd6988cc05 (diff)
Multiple CPU support for cpu_usage (#209)
This change addresses the issue #199 asking for multiple CPU support. It takes an arbitrary CPU number and outputs its usage using the same arithmetics as for CPU aggregation. It currently doesn't support FreeBSD.
Diffstat (limited to 'testcases/010-cpu-usage/stat')
-rw-r--r--testcases/010-cpu-usage/stat3
1 files changed, 3 insertions, 0 deletions
diff --git a/testcases/010-cpu-usage/stat b/testcases/010-cpu-usage/stat
new file mode 100644
index 0000000..6fbc94e
--- /dev/null
+++ b/testcases/010-cpu-usage/stat
@@ -0,0 +1,3 @@
+cpu 0 0 0 0 0 0 0 0 0 0
+cpu0 100 0 0 0 0 0 0 0 0 0
+cpu1 50 0 0 50 0 0 0 0 0 0