From 94651257cea4ff419f9cf2143d93193d5a5ccb96 Mon Sep 17 00:00:00 2001 From: eplanet Date: Sun, 26 Mar 2017 12:54:07 +0200 Subject: 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. --- testcases/011-cpu-usage/stat | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 testcases/011-cpu-usage/stat (limited to 'testcases/011-cpu-usage/stat') diff --git a/testcases/011-cpu-usage/stat b/testcases/011-cpu-usage/stat new file mode 100644 index 0000000..9c77e7e --- /dev/null +++ b/testcases/011-cpu-usage/stat @@ -0,0 +1,3 @@ +cpu 0 0 0 0 0 0 0 0 0 0 +cpu0 0 0 0 300 0 0 0 0 0 0 +cpu1 100 100 100 0 0 0 0 0 0 0 -- cgit v1.2.3