summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolargo <nicolashennion@gmail.com>2024-11-17 15:32:57 +0100
committernicolargo <nicolashennion@gmail.com>2024-11-17 15:32:57 +0100
commit734632faa2716a0eca8a165e9e8cddd9fc4fc517 (patch)
treed0cc50df503ddbf90b0c14bd688adba5e60aa452
parentfa57d5a5ab28e490c743512d68bc29e96ba39c17 (diff)
parent8d1a5ca189d02e4c516314f8e2a3036f06e27e28 (diff)
Merge branch 'issue3019' into develop
-rw-r--r--docs/aoa/ps.rst1
-rw-r--r--docs/api.rst495
-rw-r--r--docs/man/glances.12
-rw-r--r--glances/main.py4
-rw-r--r--glances/outputs/glances_curses.py16
-rw-r--r--glances/outputs/static/js/App.vue7
-rw-r--r--glances/outputs/static/js/components/plugin-processlist.vue221
-rw-r--r--glances/outputs/static/public/glances.js6
-rw-r--r--glances/plugins/processcount/__init__.py2
-rw-r--r--glances/plugins/processlist/__init__.py114
-rw-r--r--glances/plugins/programlist/__init__.py327
-rw-r--r--glances/programs.py7
-rwxr-xr-xunittest-core.py13
13 files changed, 907 insertions, 308 deletions
diff --git a/docs/aoa/ps.rst b/docs/aoa/ps.rst
index e0a57eec..a7b603eb 100644
--- a/docs/aoa/ps.rst
+++ b/docs/aoa/ps.rst
@@ -123,6 +123,7 @@ Columns display
The non-swapped physical memory a process is
using (what's currently in the physical memory).
``PID`` Process ID (column is replaced by NPROCS in accumulated mode)
+``NPROCS`` Number of process + childs (only in accumulated mode)
``USER`` User ID
``THR`` Threads number of the process
``TIME+`` Cumulative CPU time used by the process
diff --git a/docs/api.rst b/docs/api.rst
index 1ee3aaf2..a6517b48 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -99,6 +99,7 @@ Get the plugins list::
"ports",
"processcount",
"processlist",
+ "programlist",
"psutilversion",
"quicklook",
"raid",
@@ -148,7 +149,7 @@ Get plugin stats::
"refresh": 3.0,
"regex": True,
"result": None,
- "timer": 0.7083015441894531},
+ "timer": 0.44023776054382324},
{"count": 0,
"countmax": 20.0,
"countmin": None,
@@ -157,7 +158,7 @@ Get plugin stats::
"refresh": 3.0,
"regex": True,
"result": None,
- "timer": 0.7080461978912354}]
+ "timer": 0.4401841163635254}]
Fields descriptions:
@@ -185,7 +186,7 @@ Get a specific item when field matches the given value::
"refresh": 3.0,
"regex": True,
"result": None,
- "timer": 0.7083015441894531}]}
+ "timer": 0.44023776054382324}]}
GET cloud
---------
@@ -272,19 +273,19 @@ Get plugin stats::
# curl http://localhost:61208/api/4/cpu
{"cpucore": 16,
- "ctx_switches": 26946374,
- "guest": 0.3,
- "idle": 88.6,
- "interrupts": 19590884,
- "iowait": 0.1,
+ "ctx_switches": 178594827,
+ "guest": 0.5,
+ "idle": 93.1,
+ "interrupts": 124042777,
+ "iowait": 0.4,
"irq": 0.0,
"nice": 0.0,
- "soft_interrupts": 8384441,
+ "soft_interrupts": 50331045,
"steal": 0.0,
"syscalls": 0,
- "system": 2.9,
- "total": 13.8,
- "user": 8.3}
+ "system": 2.7,
+ "total": 6.4,
+ "user": 3.7}
Fields descriptions:
@@ -317,7 +318,7 @@ Fields descriptions:
Get a specific field::
# curl http://localhost:61208/api/4/cpu/total
- {"total": 13.8}
+ {"total": 6.4}
GET diskio
----------
@@ -327,14 +328,14 @@ Get plugin stats::
# curl http://localhost:61208/api/4/diskio
[{"disk_name": "nvme0n1",
"key": "disk_name",
- "read_bytes": 5113780736,
- "read_count": 143985,
- "write_bytes": 3558528000,
- "write_count": 140223},
+ "read_bytes": 6487050752,
+ "read_count": 260150,
+ "write_bytes": 10128663552,
+ "write_count": 567098},
{"disk_name": "nvme0n1p1",
"key": "disk_name",
- "read_bytes": 7476224,
- "read_count": 576,
+ "read_bytes": 7484416,
+ "read_count": 592,
"write_bytes": 1024,
"write_count": 2}]
@@ -370,10 +371,10 @@ Get a specific item when field matches the given value::
# curl http://localhost:61208/api/4/diskio/disk_name/value/nvme0n1
{"nvme0n1": [{"disk_name": "nvme0n1",
"key": "disk_name",
- "read_bytes": 5113780736,
- "read_count": 143985,
- "write_bytes": 3558528000,
- "write_count": 140223}]}
+ "read_bytes": 6487050752,
+ "read_count": 260150,
+ "write_bytes": 10128663552,
+ "write_count": 567098}]}
GET folders
-----------
@@ -400,13 +401,13 @@ Get plugin stats::
# curl http://localhost:61208/api/4/fs
[{"device_name": "/dev/mapper/ubuntu--vg-ubuntu--lv",
- "free": 851699089408,
+ "free": 851503992832,
"fs_type": "ext4",
"key": "mnt_point",
"mnt_point": "/",
"percent": 10.6,
"size": 1003736440832,
- "used": 100974845952},
+ "used": 101169942528},
{"device_name": "zsfpool",
"free": 41811968,
"fs_type": "zfs",
@@ -435,13 +436,13 @@ Get a specific item when field matches the given value::
# curl http://localhost:61208/api/4/fs/mnt_point/value//
{"/": [{"device_name": "/dev/mapper/ubuntu--vg-ubuntu--lv",
- "free": 851699089408,
+ "free": 851503992832,
"fs_type": "ext4",
"key": "mnt_point",
"mnt_point": "/",
"percent": 10.6,
"size": 1003736440832,
- "used": 100974845952}]}
+ "used": 101169942528}]}
GET gpu
-------
@@ -474,8 +475,8 @@ GET ip
Get plugin stats::
# curl http://localhost:61208/api/4/ip
- {"address": "192.168.186.39",
- "gateway": "192.168.186.35",
+ {"address": "192.168.0.28",
+ "gateway": "192.168.0.254",
"mask": "255.255.255.0",
"mask_cidr": 24,
"public_address": "",
@@ -493,7 +494,7 @@ Fields descriptions:
Get a specific field::
# curl http://localhost:61208/api/4/ip/gateway
- {"gateway": "192.168.186.35"}
+ {"gateway": "192.168.0.254"}
GET irq
-------
@@ -515,9 +516,9 @@ Get plugin stats::
# curl http://localhost:61208/api/4/load
{"cpucore": 16,
- "min1": 1.63037109375,
- "min15": 0.93701171875,
- "min5": 1.13232421875}
+ "min1": 0.36474609375,
+ "min15": 0.68310546875,
+ "min5": 0.58642578125}
Fields descriptions:
@@ -529,7 +530,7 @@ Fields descriptions:
Get a specific field::
# curl http://localhost:61208/api/4/load/min1
- {"min1": 1.63037109375}
+ {"min1": 0.36474609375}
GET mem
-------
@@ -537,16 +538,16 @@ GET mem
Get plugin stats::
# curl http://localhost:61208/api/4/mem
- {"active": 8289390592,
- "available": 8095371264,
- "buffers": 269803520,
- "cached": 6969618432,
- "free": 8095371264,
- "inactive": 4403224576,
- "percent": 50.7,
- "shared": 797310976,
+ {"active": 7415083008,
+ "available": 5495066624,
+ "buffers": 361807872,
+ "cached": 4963590144,
+ "free": 5495066624,
+ "inactive": 5320093696,
+ "percent": 66.5,
+ "shared": 1017569280,
"total": 16422457344,
- "used": 8327086080}
+ "used": 10927390720}
Fields descriptions:
@@ -573,13 +574,13 @@ GET memswap
Get plugin stats::
# curl http://localhost:61208/api/4/memswap
- {"free": 4294963200,
- "percent": 0.0,
+ {"free": 4288147456,
+ "percent": 0.2,
"sin": 0,
- "sout": 0,
+ "sout": 4943872,
"time_since_update": 1,
"total": 4294963200,
- "used": 0}
+ "used": 6815744}
Fields descriptions:
@@ -604,26 +605,26 @@ Get plugin stats::
# curl http://localhost:61208/api/4/network
[{"alias": None,
"bytes_all": 0,
- "bytes_all_gauge": 426548577,
+ "bytes_all_gauge": 744228950,
"bytes_recv": 0,
- "bytes_recv_gauge": 404302126,
+ "bytes_recv_gauge": 612410839,
"bytes_sent": 0,
- "bytes_sent_gauge": 22246451,
+ "bytes_sent_gauge": 131818111,
"interface_name": "wlp0s20f3",
"key": "interface_name",
"speed": 0,
- "time_since_update": 0.720405101776123},
+ "time_since_update": 0.4461238384246826},
{"alias": None,
"bytes_all": 0,
- "bytes_all_gauge": 7246881,
+ "bytes_all_gauge": 17578950,
"bytes_recv": 0,
- "bytes_recv_gauge": 153792,
+ "bytes_recv_gauge": 3314752,
"bytes_sent": 0,
- "bytes_sent_gauge": 7093089,
+ "bytes_sent_gauge": 14264198,
"interface_name": "mpqemubr0",
"key": "interface_name",
"speed": 10485760000,
- "time_since_update": 0.720405101776123}]
+ "time_since_update": 0.4461238384246826}]
Fields descriptions:
@@ -652,15 +653,15 @@ Get a specific item when field matches the given value::
# curl http://localhost:61208/api/4/network/interface_name/value/wlp0s20f3
{"wlp0s20f3": [{"alias": None,
"bytes_all": 0,
- "bytes_all_gauge": 426548577,
+ "bytes_all_gauge": 744228950,
"bytes_recv": 0,
- "bytes_recv_gauge": 404302126,
+ "bytes_recv_gauge": 612410839,
"bytes_sent": 0,
- "bytes_sent_gauge": 22246451,
+ "bytes_sent_gauge": 131818111,
"interface_name": "wlp0s20f3",
"key": "interface_name",
"speed": 0,
- "time_since_update": 0.720405101776123}]}
+ "time_since_update": 0.4461238384246826}]}
GET now
-------
@@ -668,7 +669,7 @@ GET now
Get plugin stats::
# curl http://localhost:61208/api/4/now
- {"custom": "2024-11-16 11:47:11 CET", "iso": "2024-11-16T11:47:11+01:00"}
+ {"custom": "2024-11-17 15:30:29 CET", "iso": "2024-11-17T15:30:29+01:00"}
Fields descriptions:
@@ -678,7 +679,7 @@ Fields descriptions:
Get a specific field::
# curl http://localhost:61208/api/4/now/iso
- {"iso": "2024-11-16T11:47:11+01:00"}
+ {"iso": "2024-11-17T15:30:29+01:00"}
GET percpu
----------
@@ -690,7 +691,7 @@ Get plugin stats::
"dpc": None,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 39.0,
+ "idle": 25.0,
"interrupt": None,
"iowait": 0.0,
"irq": 0.0,
@@ -698,14 +699,14 @@ Get plugin stats::
"nice": 0.0,
"softirq": 0.0,
"steal": 0.0,
- "system": 1.0,
- "total": 61.0,
- "user": 5.0},
+ "system": 0.0,
+ "total": 75.0,
+ "user": 1.0},
{"cpu_number": 1,
"dpc": None,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 32.0,
+ "idle": 22.0,
"interrupt": None,
"iowait": 0.0,
"irq": 0.0,
@@ -713,9 +714,9 @@ Get plugin stats::
"nice": 0.0,
"softirq": 0.0,
"steal": 0.0,
- "system": 7.0,
- "total": 68.0,
- "user": 4.0}]
+ "system": 5.0,
+ "total": 78.0,
+ "user": 0.0}]
Fields descriptions:
@@ -746,12 +747,12 @@ Get plugin stats::
# curl http://localhost:61208/api/4/ports
[{"description": "DefaultGateway",
- "host": "192.168.186.35",
+ "host": "192.168.0.254",
"indice": "port_0",
"port": 0,
"refresh": 30,
"rtt_warning": None,
- "status": 0.029024,
+ "status": 0.002779,
"timeout": 3}]
Fields descriptions:
@@ -768,19 +769,19 @@ Fields descriptions:
Get a specific field::
# curl http://localhost:61208/api/4/ports/host
- {"host": ["192.168.186.35"]}
+ {"host": ["192.168.0.254"]}
Get a specific item when field matches the given value::
- # curl http://localhost:61208/api/4/ports/host/value/192.168.186.35
- {"192.168.186.35": [{"description": "DefaultGateway",
- "host": "192.168.186.35",
- "indice": "port_0",
- "port": 0,
- "refresh": 30,
- "rtt_warning": None,
- "status": 0.029024,
- "timeout": 3}]}
+ # curl http://localhost:61208/api/4/ports/host/value/192.168.0.254
+ {"192.168.0.254": [{"description": "DefaultGateway",
+ "host": "192.168.0.254",
+ "indice": "port_0",
+ "port": 0,
+ "refresh": 30,
+ "rtt_warning": None,
+ "status": 0.002779,
+ "timeout": 3}]}
GET processcount
----------------
@@ -788,7 +789,7 @@ GET processcount
Get plugin stats::
# curl http://localhost:61208/api/4/processcount
- {"pid_max": 0, "running": 1, "sleeping": 404, "thread": 1917, "total": 547}
+ {"pid_max": 0, "running": 1, "sleeping": 413, "thread": 1870, "total": 549}
Fields descriptions:
@@ -801,7 +802,7 @@ Fields descriptions:
Get a specific field::
# curl http://localhost:61208/api/4/processcount/total
- {"total": 547}
+ {"total": 549}
GET processlist
---------------
@@ -809,7 +810,54 @@ GET processlist
Get plugin stats::
# curl http://localhost:61208/api/4/processlist
- [{"cmdline": ["/snap/multipass/13373/usr/bin/qemu-system-x86_64",
+ [{"cmdline": ["/snap/firefox/4698/usr/lib/firefox/firefox",
+ "-contentproc",
+ "-childID",
+ "2",
+ "-isForBrowser",
+ "-prefsLen",
+ "28642",
+ "-prefMapSize",
+ "254621",
+ "-jsInitLen",
+ "234852",
+ "-parentBuildID",
+ "20240801221602",
+ "-greomni",
+ "/snap/firefox/4698/usr/lib/firefox/omni.ja",
+ "-appomni",
+ "/snap/firefox/4698/usr/lib/firefox/browser/omni.ja",
+ "-appDir",
+ "/snap/firefox/4698/usr/lib/firefox/browser",
+ "{6ce20692-5d37-498d-98ef-9516cb129b46}",
+ "5876",
+ "true",
+ "tab"],
+ "cpu_percent": 0.0,
+ "cpu_times": {"children_system": 0.0,
+ "children_user": 0.0,
+ "iowait": 0.0,
+ "system": 47.74,
+ "user": 380.04},
+ "gids": {"effective": 1000, "real": 1000, "saved": 1000},
+ "io_counters": [4100096, 0, 0, 0, 0, 2705408, 0, 0, 0, 0, 69632, 0, 0, 0, 0],
+ "key": "pid",
+ "memory_info": {"data": 1305055232,
+ "dirty": 0,
+ "lib": 0,
+ "rss": 1304788992,
+ "shared": 121950208,
+ "text": 958464,
+ "vms": 3817742336},
+ "memory_percent": 7.945150744914001,
+ "name": "Isolated Web Co",
+ "nice": 0,
+ "num_threads": 30,
+ "pid": 6126,
+ "status": "S",
+ "time_since_update": 1,
+ "username": "nicolargo"},
+ {"cmdline": ["/snap/multipass/13373/usr/bin/qemu-system-x86_64",
"-bios",
"OVMF.fd",
"--enable-kvm",
@@ -844,55 +892,93 @@ Get plugin stats::
"cpu_times": {"children_system": 0.0,
"children_user": 0.0,
"iowait": 0.0,
- "system": 16.61,
- "user": 57.39},
+ "system": 48.26,
+ "user": 202.16},
"gids": {"effective": 0, "real": 0, "saved": 0},
"io_counters": [0, 0, 0, 0, 0],
"key": "pid",
"memory_info": {"data": 1373843456,
"dirty": 0,
"lib": 0,
- "rss": 1102446592,
+ "rss": 1103187968,
"shared": 14811136,
"text": 6172672,
"vms": 3885129728},
- "memory_percent": 6.713042810263609,
+ "memory_percent": 6.717557213829838,
"name": "qemu-system-x86_64",
"nice": 0,
"num_threads": 4,
"pid": 2858,
"status": "S",
"time_since_update": 1,
- "username": "root"},
- {"cmdline": ["/snap/code/172/usr/share/code/code",
- "/home/nicolargo/.vscode/extensions/ms-python.vscode-pylance-2024.11.1/dist/server.bundle.js",
- "--cancellationReceive=file:cf6772344f6a4d9586dceab9f48d78e6c5414122ce",
- "--node-ipc",
- "--clientProcessId=8598"],
- "cpu_percent": 0.0,
- "cpu_times": {"children_system": 0.21,
- "children_user": 1.43,
+ "username": "root"}]
+
+Fields descriptions:
+
+* **pid**: Process identifier (ID) (unit is *number*)
+* **name**: Process name (unit is *string*)
+* **cmdline**: Command line with arguments (unit is *list*)
+* **username**: Process owner (unit is *string*)
+* **num_threads**: Number of threads (unit is *number*)
+* **cpu_percent**: Process CPU consumption (unit is *percent*)
+* **memory_percent**: Process memory consumption (unit is *percent*)
+* **memory_info**: Process memory information (dict with rss, vms, shared, text, lib, data, dirty keys) (unit is *byte*)
+* **status**: Process status (unit is *string*)
+* **nice**: Process nice value (unit is *number*)
+* **cpu_times**: Process CPU times (dict with user, system, iowait keys) (unit is *second*)
+* **gids**: Process group IDs (dict with real, effective, saved keys) (unit is *number*)
+* **io_counters**: Process IO counters (list with read_count, write_count, read_bytes, write_bytes, io_tag keys) (unit is *byte*)
+
+GET programlist
+---------------
+
+Get plugin stats::
+
+ # curl http://localhost:61208/api/4/programlist
+ [{"childrens": [6126, 6129, 17892],
+ "cmdline": ["Isolated Web Co"],
+ "cpu_percent": 0,
+ "cpu_times": {"system": 85.67999999999999, "user": 609.63},
+ "io_counters": [4100096, 0, 0, 0, 0, 2705408, 0, 0, 0, 0, 69632, 0, 0, 0, 0],
+ "memory_info": {"data": 2059935744,
+ "rss": 1946116096,
+ "shared": 359624704,
+ "text": 2875392,
+ "vms": 9639399424},
+ "memory_percent": 11.850334302807735,
+ "name": "Isolated Web Co",
+ "nice": 0,
+ "nprocs": 3,
+ "num_threads": 89,
+ "pid": "_",
+ "status": "S",
+ "time_since_update": 1,
+ "username": "nicolargo"},
+ {"childrens": [2858],
+ "cmdline": ["qemu-system-x86_64"],
+ "cpu_percent": 0,
+ "cpu_times": {"children_system": 0.0,
+ "children_user": 0.0,
"iowait": 0.0,
- "system": 10.8,
- "user": 138.78},
- "gids": {"effective": 1000, "real": 1000, "saved": 1000},
- "io_counters": [68259840, 1589248, 0, 0, 0],
- "key": "pid",
- "memory_info": {"data": 814858240,
+ "system": 48.26,
+ "user": 202.16},
+ "io_counters": [0, 0, 0, 0, 0],
+ "memory_info": {"data": 1373843456,
"dirty": 0,
"lib": 0,
- "rss": 576897024,
- "shared": 68419584,
- "text": 132239360,
- "vms": 1219822305280},
- "memory_percent": 3.5128544523866356,
- "name": "code",
+ "rss": 1103187968,
+ "shared": 14811136,
+ "text": 6172672,
+ "vms": 3885129728},
+ "memory_percent": 6.717557213829838,
+ "name": "qemu-system-x86_64",
"nice": 0,
- "num_threads": 14,
- "pid": 9344,
+ "nprocs": 1,
+ "num_threads": 4,
+ "pid": "_",
"status": "S",
"time_since_update": 1,
- "username": "nicolargo"}]
+ "username": "root"}]
Fields descriptions:
@@ -924,19 +1010,19 @@ GET quicklook
Get plugin stats::
# curl http://localhost:61208/api/4/quicklook
- {"cpu": 13.8,
+ {"cpu": 6.4,
"cpu_hz": 4475000000.0,
- "cpu_hz_current": 661449500.0,
+ "cpu_hz_current": 1599133124.9999998,
"cpu_log_core": 16,
"cpu_name": "13th Gen Intel(R) Core(TM) i7-13620H",
"cpu_phys_core": 10,
- "load": 5.9,
- "mem": 50.7,
+ "load": 4.3,
+ "mem": 66.5,
"percpu": [{"cpu_number": 0,
"dpc": None,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 39.0,
+ "idle": 25.0,
"interrupt": None,
"iowait": 0.0,
"irq": 0.0,
@@ -944,14 +1030,14 @@ Get plugin stats::
"nice": 0.0,
"softirq": 0.0,
"steal": 0.0,
- "system": 1.0,
- "total": 61.0,
- "user": 5.0},
+ "system": 0.0,
+ "total": 75.0,
+ "user": 1.0},
{"cpu_number": 1,
"dpc": None,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 32.0,
+ "idle": 22.0,
"interrupt": None,
"iowait": 0.0,
"irq": 0.0,
@@ -959,14 +1045,14 @@ Get plugin stats::
"nice": 0.0,
"softirq": 0.0,
"steal": 0.0,
- "system": 7.0,
- "total": 68.0,
- "user": 4.0},
+ "system": 5.0,
+ "total": 78.0,
+ "user": 0.0},
{"cpu_number": 2,
"dpc": None,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 41.0,
+ "idle": 26.0,
"interrupt": None,
"iowait": 0.0,
"irq": 0.0,
@@ -974,14 +1060,14 @@ Get plugin stats::
"nice": 0.0,
"softirq": 0.0,
"steal": 0.0,
- "system": 1.0,
- "total": 59.0,
- "user": 4.0},
+ "system": 0.0,
+ "total": 74.0,
+ "user": 0.0},
{"cpu_number": 3,
"dpc": None,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 40.0,
+ "idle": 26.0,
"interrupt": None,
"iowait": 0.0,
"irq": 0.0,
@@ -990,13 +1076,13 @@ Get plugin stats::
"softirq": 0.0,
"steal": 0.0,
"system": 0.0,
- "total": 60.0,
- "user": 5.0},
+ "total": 74.0,
+ "user": 0.0},
{"cpu_number": 4,
"dpc": None,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 27.0,
+ "idle": 10.0,
"interrupt": None,
"iowait": 0.0,
"irq": 0.0,
@@ -1004,14 +1090,14 @@ Get plugin stats::
"nice": 0.0,
"softirq": 0.0,
"steal": 0.0,
- "system": 5.0,
- "total": 73.0,
- "user": 14.0},
+ "system": 9.0,
+ "total": 90.0,
+ "user": 5.0},
{"cpu_number": 5,
"dpc": None,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 46.0,
+ "idle": 26.0,
"interrupt": None,
"iowait": 0.0,
"irq": 0.0,
@@ -1020,28 +1106,28 @@ Get plugin stats::
"softirq": 0.0,
"steal": 0.0,
"system": 0.0,
- "total": 54.0,
+ "total": 74.0,
"user": 0.0},
{"cpu_number": 6,
"dpc": None,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 29.0,
+ "idle": 23.0,
"interrupt": None,
- "iowait": 0.0,
+ "iowait": 2.0,
"irq": 0.0,
"key": "cpu_number",
"nice": 0.0,
"softirq": 0.0,
"steal": 0.0,
- "system": 5.0,
- "total": 71.0,
- "user": 12.0},
+ "system": 2.0,
+ "total": 77.0,
+ "user": 0.0},
{"cpu_number": 7,
"dpc": None,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 35.0,
+ "idle": 26.0,
"interrupt": None,
"iowait": 0.0,
"irq": 0.0,
@@ -1049,14 +1135,14 @@ Get plugin stats::
"nice": 0.0,
"softirq": 0.0,
"steal": 0.0,
- "system": 5.0,
- "total": 65.0,
- "user": 5.0},
+ "system": 0.0,
+ "total": 74.0,
+ "user": 0.0},
{"cpu_number": 8,
"dpc": None,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 40.0,
+ "idle": 26.0,
"interrupt": None,
"iowait": 0.0,
"irq": 0.0,
@@ -1064,14 +1150,14 @@ Get plugin stats::
"nice": 0.0,
"softirq": 0.0,
"steal": 0.0,
- "system": 2.0,
- "total": 60.0,
- "user": 4.0},
+ "system": 0.0,
+ "total": 74.0,
+ "user": 0.0},
{"cpu_number": 9,
"dpc": None,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 39.0,
+ "idle": 26.0,
"interrupt": None,
"iowait": 0.0,
"irq": 0.0,
@@ -1079,14 +1165,14 @@ Get plugin stats::
"nice": 0.0,
"softirq": 0.0,
"steal": 0.0,
- "system": 2.0,
- "total": 61.0,
- "user": 5.0},
+ "system": 0.0,
+ "total": 74.0,
+ "user": 0.0},
{"cpu_number": 10,
"dpc": None,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 41.0,
+ "idle": 26.0,
"interrupt": None,
"iowait": 0.0,
"irq": 0.0,
@@ -1095,13 +1181,13 @@ Get plugin stats::
"softirq": 0.0,
"steal": 0.0,
"system": 0.0,
- "total": 59.0,
- "user": 5.0},
+ "total": 74.0,
+ "user": 0.0},
{"cpu_number": 11,
"dpc": None,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 38.0,
+ "idle": 26.0,
"interrupt": None,
"iowait": 0.0,
"irq": 0.0,
@@ -1109,14 +1195,14 @@ Get plugin stats::
"nice": 0.0,
"softirq": 0.0,
"steal": 0.0,
- "system": 1.0,
- "total": 62.0,
- "user": 6.0},
+ "system": 0.0,
+ "total": 74.0,
+ "user": 0.0},
{"cpu_number": 12,
"dpc": None,
- "guest": 1.0,
+ "guest": 0.0,
"guest_nice": 0.0,
- "idle": 40.0,
+ "idle": 25.0,
"interrupt": None,
"iowait": 0.0,
"irq": 0.0,
@@ -1124,14 +1210,14 @@ Get plugin stats::
"nice": 0.0,
"softirq": 0.0,
"steal": 0.0,
- "system": 1.0,
- "total": 60.0,
- "user": 4.0},
+ "system": 0.0,
+ "total": 75.0,
+ "user": 0.0},
{"cpu_number": 13,
"dpc": None,
"guest": 0.0,
"guest_nice": 0.0,
- "idle": 40.0,
+