From 73f62ee815fd1f7d6cfd8e30aa6b04c82ca32023 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 24 Jan 2026 15:46:37 +0100 Subject: [PATCH] Update docs for NPU --- docs/aoa/npu.rst | 24 ++++++ docs/api/python.rst | 5 +- docs/api/restful.rst | 188 +++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 208 insertions(+), 9 deletions(-) create mode 100644 docs/aoa/npu.rst diff --git a/docs/aoa/npu.rst b/docs/aoa/npu.rst new file mode 100644 index 00000000..ffaa27e8 --- /dev/null +++ b/docs/aoa/npu.rst @@ -0,0 +1,24 @@ +.. _npu: + +NPU +=== + +For the moment, only following NPU are supported on modern Linux Kernel: +- AMD: frequency +- INTEL: frequency, temperature +- ROCKSHIP: load, frequency + +.. image:: ../_static/npu.png + +.. code-block:: ini + + [npu] + disable=False + # Default NPU load thresholds in % + load_careful=50 + load_warning=70 + load_critical=90 + # Default NPU frequency thresholds in % + freq_careful=50 + freq_warning=70 + freq_critical=90 diff --git a/docs/api/python.rst b/docs/api/python.rst index 557f7ea7..930e705b 100644 --- a/docs/api/python.rst +++ b/docs/api/python.rst @@ -417,10 +417,7 @@ Npu limits: 'npu_freq_warning': 70.0, 'npu_load_careful': 50.0, 'npu_load_critical': 90.0, - 'npu_load_warning': 70.0, - 'npu_mem_careful': 50.0, - 'npu_mem_critical': 90.0, - 'npu_mem_warning': 70.0} + 'npu_load_warning': 70.0} Glances percpu -------------- diff --git a/docs/api/restful.rst b/docs/api/restful.rst index f2b40c52..073d86dc 100644 --- a/docs/api/restful.rst +++ b/docs/api/restful.rst @@ -254,6 +254,7 @@ Get plugin stats:: "regex": True, "result": None, "timer": 0.5583336353302002}, + "timer": 0.534574031829834}, {"count": 0, "countmax": 20.0, "countmin": None, @@ -263,6 +264,7 @@ Get plugin stats:: "regex": True, "result": None, "timer": 0.5582265853881836}] + "timer": 0.5344648361206055}] Fields descriptions: @@ -291,6 +293,7 @@ Get a specific item when field matches the given value:: "regex": True, "result": None, "timer": 0.5583336353302002}]} + "timer": 0.534574031829834}]} GET cloud --------- @@ -339,16 +342,20 @@ Get plugin stats:: "id": "2af41a66456c7bfdd014aa03e2696354f7aeabbda3a867ed5f7290b74824bd4d", "image": ["nats:latest"], "io": {"cumulative_ior": 15196160, "cumulative_iow": 0}, + "io": {"cumulative_ior": 15196160, "cumulative_iow": 0}, "io_rx": None, "io_wx": None, "key": "name", "memory": {"inactive_file": 1372160, "limit": 16422825984, "usage": 8990720}, + "memory": {"inactive_file": 1372160, "limit": 16422825984, "usage": 9314304}, "memory_inactive_file": 1372160, "memory_limit": 16422825984, "memory_percent": None, "memory_usage": 8990720, + "memory_usage": 9314304, "name": "nats-for-glances", "network": {"cumulative_rx": 476690, "cumulative_tx": 0}, + "network": {"cumulative_rx": 465664, "cumulative_tx": 0}, "network_rx": None, "network_tx": None, "ports": "4222->4222/tcp,6222->6222/tcp,8222->8222/tcp", @@ -393,18 +400,22 @@ Get a specific item when field matches the given value:: "id": "2af41a66456c7bfdd014aa03e2696354f7aeabbda3a867ed5f7290b74824bd4d", "image": ["nats:latest"], "io": {"cumulative_ior": 15196160, "cumulative_iow": 0}, + "io": {"cumulative_ior": 15196160, "cumulative_iow": 0}, "io_rx": None, "io_wx": None, "key": "name", "memory": {"inactive_file": 1372160, "limit": 16422825984, "usage": 8990720}, + "usage": 9314304}, "memory_inactive_file": 1372160, "memory_limit": 16422825984, "memory_percent": None, "memory_usage": 8990720, + "memory_usage": 9314304, "name": "nats-for-glances", "network": {"cumulative_rx": 476690, "cumulative_tx": 0}, + "network": {"cumulative_rx": 465664, "cumulative_tx": 0}, "network_rx": None, "network_tx": None, "ports": "4222->4222/tcp,6222->6222/tcp,8222->8222/tcp", @@ -437,18 +448,26 @@ Get plugin stats:: # curl http://localhost:61208/api/4/cpu {"cpucore": 16, "ctx_switches": 1014371753, + "ctx_switches": 1009799500, "guest": 0.0, "idle": 92.7, "interrupts": 858290655, "iowait": 0.2, + "idle": 90.1, + "interrupts": 854680110, + "iowait": 0.1, "irq": 0.0, "nice": 0.0, "soft_interrupts": 362359387, + "soft_interrupts": 360906694, "steal": 0.0, "syscalls": 0, "system": 3.4, "total": 7.1, "user": 3.7} + "system": 4.3, + "total": 6.5, + "user": 5.4} Fields descriptions: @@ -482,6 +501,7 @@ Get a specific field:: # curl http://localhost:61208/api/4/cpu/total {"total": 7.1} + {"total": 6.5} GET diskio ---------- @@ -493,12 +513,18 @@ Get plugin stats:: "key": "disk_name", "read_bytes": 57737239040, "read_count": 2171125, + "read_bytes": 57612610048, + "read_count": 2164368, "read_latency": 0, "read_time": 687394, "write_bytes": 75160196096, "write_count": 5532627, + "read_time": 684862, + "write_bytes": 74755478528, + "write_count": 5507770, "write_latency": 0, "write_time": 5273607}, + "write_time": 5230368}, {"disk_name": "nvme0n1p1", "key": "disk_name", "read_bytes": 18506752, @@ -552,12 +578,18 @@ Get a specific item when field matches the given value:: "key": "disk_name", "read_bytes": 57737239040, "read_count": 2171125, + "read_bytes": 57612610048, + "read_count": 2164368, "read_latency": 0, "read_time": 687394, "write_bytes": 75160196096, "write_count": 5532627, + "read_time": 684862, + "write_bytes": 74755478528, + "write_count": 5507770, "write_latency": 0, "write_time": 5273607}]} + "write_time": 5230368}]} GET folders ----------- @@ -585,6 +617,7 @@ Get plugin stats:: # curl http://localhost:61208/api/4/fs [{"device_name": "/dev/mapper/ubuntu--vg-ubuntu--lv", "free": 578640101376, + "free": 578642341888, "fs_type": "ext4", "key": "mnt_point", "mnt_point": "/", @@ -592,6 +625,7 @@ Get plugin stats:: "percent": 39.3, "size": 1003736440832, "used": 374033833984}, + "used": 374031593472}, {"device_name": "zsfpool", "free": 41680896, "fs_type": "zfs", @@ -623,6 +657,7 @@ 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": 578640101376, + "free": 578642341888, "fs_type": "ext4", "key": "mnt_point", "mnt_point": "/", @@ -630,6 +665,7 @@ Get a specific item when field matches the given value:: "percent": 39.3, "size": 1003736440832, "used": 374033833984}]} + "used": 374031593472}]} GET gpu ------- @@ -701,6 +737,9 @@ Get plugin stats:: "min1": 0.46826171875, "min15": 0.962890625, "min5": 0.8310546875} + "min1": 0.6806640625, + "min15": 1.03662109375, + "min5": 0.91015625} Fields descriptions: @@ -713,6 +752,7 @@ Get a specific field:: # curl http://localhost:61208/api/4/load/min1 {"min1": 0.46826171875} + {"min1": 0.6806640625} GET mem ------- @@ -728,8 +768,17 @@ Get plugin stats:: "inactive": 5925453824, "percent": 70.9, "shared": 812617728, + {"active": 6914297856, + "available": 4806166504, + "buffers": 212279296, + "cached": 4240575336, + "free": 1281454080, + "inactive": 6104231936, + "percent": 70.7, + "shared": 812818432, "total": 16422825984, "used": 11642218520} + "used": 11616659480} Fields descriptions: @@ -760,9 +809,14 @@ Get plugin stats:: "percent": 95.9, "sin": 3155271680, "sout": 12925386752, + {"free": 157872128, + "percent": 96.3, + "sin": 3139260416, + "sout": 12925378560, "time_since_update": 1, "total": 4294963200, "used": 4120920064} + "used": 4137091072} Fields descriptions: @@ -788,31 +842,38 @@ Get plugin stats:: [{"alias": None, "bytes_all": 0, "bytes_all_gauge": 18884553965, + "bytes_all_gauge": 18878289328, "bytes_all_rate_per_sec": 0, "bytes_recv": 0, "bytes_recv_gauge": 16420596391, + "bytes_recv_gauge": 16415845259, "bytes_recv_rate_per_sec": 0, "bytes_sent": 0, "bytes_sent_gauge": 2463957574, + "bytes_sent_gauge": 2462444069, "bytes_sent_rate_per_sec": 0, "interface_name": "wlp0s20f3", "key": "interface_name", "speed": 0, "time_since_update": 0.5698146820068359}, + "time_since_update": 0.5461485385894775}, {"alias": None, "bytes_all": 0, "bytes_all_gauge": 476690, + "bytes_all_gauge": 465664, "bytes_all_rate_per_sec": 0, "bytes_recv": 0, "bytes_recv_gauge": 0, "bytes_recv_rate_per_sec": 0, "bytes_sent": 0, "bytes_sent_gauge": 476690, + "bytes_sent_gauge": 465664, "bytes_sent_rate_per_sec": 0, "interface_name": "vethba20a37", "key": "interface_name", "speed": 10485760000, "time_since_update": 0.5698146820068359}] + "time_since_update": 0.5461485385894775}] Fields descriptions: @@ -842,17 +903,21 @@ Get a specific item when field matches the given value:: {"wlp0s20f3": [{"alias": None, "bytes_all": 0, "bytes_all_gauge": 18884553965, + "bytes_all_gauge": 18878289328, "bytes_all_rate_per_sec": 0, "bytes_recv": 0, "bytes_recv_gauge": 16420596391, + "bytes_recv_gauge": 16415845259, "bytes_recv_rate_per_sec": 0, "bytes_sent": 0, "bytes_sent_gauge": 2463957574, + "bytes_sent_gauge": 2462444069, "bytes_sent_rate_per_sec": 0, "interface_name": "wlp0s20f3", "key": "interface_name", "speed": 0, "time_since_update": 0.5698146820068359}]} + "time_since_update": 0.5461485385894775}]} GET now ------- @@ -861,6 +926,7 @@ Get plugin stats:: # curl http://localhost:61208/api/4/now {"custom": "2026-01-24 15:56:46 CET", "iso": "2026-01-24T15:56:46+01:00"} + {"custom": "2026-01-24 15:46:20 CET", "iso": "2026-01-24T15:46:20+01:00"} Fields descriptions: @@ -871,6 +937,7 @@ Get a specific field:: # curl http://localhost:61208/api/4/now/iso {"iso": "2026-01-24T15:56:46+01:00"} + {"iso": "2026-01-24T15:46:20+01:00"} GET npu ------- @@ -879,6 +946,7 @@ Get plugin stats:: # curl http://localhost:61208/api/4/npu [] + [] Fields descriptions: @@ -905,6 +973,7 @@ Get plugin stats:: "guest": 0.0, "guest_nice": 0.0, "idle": 41.0, + "idle": 42.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -915,11 +984,15 @@ Get plugin stats:: "system": 12.0, "total": 59.0, "user": 1.0}, + "system": 10.0, + "total": 58.0, + "user": 0.0}, {"cpu_number": 1, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 55.0, + "idle": 52.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -929,6 +1002,8 @@ Get plugin stats:: "steal": 0.0, "system": 0.0, "total": 45.0, + "system": 1.0, + "total": 48.0, "user": 0.0}] Fields descriptions: @@ -960,12 +1035,14 @@ Get plugin stats:: # curl http://localhost:61208/api/4/ports [{"description": "DefaultGateway", + "host": "192.168.0.254", "host": "192.168.0.254", "indice": "port_0", "port": 0, "refresh": 30, "rtt_warning": None, "status": 0.008218, + "status": 0.007554, "timeout": 3}] Fields descriptions: @@ -983,6 +1060,7 @@ Get a specific field:: # curl http://localhost:61208/api/4/ports/host {"host": ["192.168.0.254"]} + {"host": ["192.168.0.254"]} Get a specific item when field matches the given value:: @@ -995,6 +1073,15 @@ Get a specific item when field matches the given value:: "rtt_warning": None, "status": 0.008218, "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.007554, + "timeout": 3}]} GET processcount ---------------- @@ -1003,6 +1090,7 @@ Get plugin stats:: # curl http://localhost:61208/api/4/processcount {"pid_max": 0, "running": 1, "sleeping": 441, "thread": 2357, "total": 592} + {"pid_max": 0, "running": 1, "sleeping": 440, "thread": 2320, "total": 585} Fields descriptions: @@ -1016,6 +1104,7 @@ Get a specific field:: # curl http://localhost:61208/api/4/processcount/total {"total": 592} + {"total": 585} GET processlist --------------- @@ -1027,9 +1116,13 @@ Get plugin stats:: "cpu_percent": 0.0, "cpu_times": {"children_system": 11430.29, "children_user": 47200.42, + "cpu_times": {"children_system": 11430.28, + "children_user": 47200.41, "iowait": 0.0, "system": 19.1, "user": 31.52}, + "system": 19.08, + "user": 31.5}, "gids": {"effective": 0, "real": 0, "saved": 0}, "io_counters": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "key": "pid", @@ -1054,6 +1147,7 @@ Get plugin stats:: "children_user": 0.0, "iowait": 0.0, "system": 0.48, + "system": 0.47, "user": 0.0}, "gids": {"effective": 0, "real": 0, "saved": 0}, "io_counters": [0, 0, 0, 0, 0], @@ -1104,6 +1198,10 @@ Get plugin stats:: "children_user": 55182.909999999996, "system": 21.970000000000002, "user": 53.879999999999995}, + "cpu_times": {"children_system": 12686.240000000002, + "children_user": 55182.44, + "system": 21.95, + "user": 53.85}, "io_counters": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "memory_info": {"data": 10772480, "rss": 24727552, @@ -1126,6 +1224,7 @@ Get plugin stats:: "children_user": 0.0, "iowait": 0.0, "system": 0.48, + "system": 0.47, "user": 0.0}, "io_counters": [0, 0, 0, 0, 0], "memory_info": {"data": 0, @@ -1177,18 +1276,23 @@ Get plugin stats:: # curl http://localhost:61208/api/4/quicklook {"cpu": 7.1, + {"cpu": 6.5, "cpu_hz": 4475000000.0, "cpu_hz_current": 701663562.5, + "cpu_hz_current": 667871062.5, "cpu_log_core": 16, "cpu_name": "13th Gen Intel(R) Core(TM) i7-13620H", "cpu_phys_core": 10, "load": 6.0, "mem": 70.9, + "load": 6.5, + "mem": 70.7, "percpu": [{"cpu_number": 0, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 41.0, + "idle": 42.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1199,11 +1303,15 @@ Get plugin stats:: "system": 12.0, "total": 59.0, "user": 1.0}, + "system": 10.0, + "total": 58.0, + "user": 0.0}, {"cpu_number": 1, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 55.0, + "idle": 52.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1213,12 +1321,15 @@ Get plugin stats:: "steal": 0.0, "system": 0.0, "total": 45.0, + "system": 1.0, + "total": 48.0, "user": 0.0}, {"cpu_number": 2, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 55.0, + "idle": 52.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1229,11 +1340,14 @@ Get plugin stats:: "system": 0.0, "total": 45.0, "user": 1.0}, + "total": 48.0, + "user": 1.0}, {"cpu_number": 3, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 55.0, + "idle": 53.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1244,11 +1358,15 @@ Get plugin stats:: "system": 1.0, "total": 45.0, "user": 0.0}, + "system": 0.0, + "total": 47.0, + "user": 0.0}, {"cpu_number": 4, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 31.0, + "idle": 39.0, "interrupt": None, "iowait": 2.0, "irq": 0.0, @@ -1259,13 +1377,17 @@ Get plugin stats:: "system": 12.0, "total": 69.0, "user": 11.0}, + "system": 4.0, + "total": 61.0, + "user": 10.0}, {"cpu_number": 5, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 55.0, + "idle": 27.0, "interrupt": None, - "iowait": 0.0, + "iowait": 1.0, "irq": 0.0, "key": "cpu_number", "nice": 0.0, @@ -1274,13 +1396,18 @@ Get plugin stats:: "system": 0.0, "total": 45.0, "user": 0.0}, + "system": 18.0, + "total": 73.0, + "user": 4.0}, {"cpu_number": 6, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 43.0, + "idle": 52.0, "interrupt": None, "iowait": 0.0, + "iowait": 0.0, "irq": 0.0, "key": "cpu_number", "nice": 0.0, @@ -1289,11 +1416,15 @@ Get plugin stats:: "system": 7.0, "total": 57.0, "user": 4.0}, + "system": 1.0, + "total": 48.0, + "user": 1.0}, {"cpu_number": 7, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 50.0, + "idle": 52.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1303,12 +1434,15 @@ Get plugin stats:: "steal": 0.0, "system": 5.0, "total": 50.0, + "system": 0.0, + "total": 48.0, "user": 0.0}, {"cpu_number": 8, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 53.0, + "idle": 52.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1318,12 +1452,15 @@ Get plugin stats:: "steal": 0.0, "system": 1.0, "total": 47.0, + "system": 0.0, + "total": 48.0, "user": 1.0}, {"cpu_number": 9, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 56.0, + "idle": 54.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1333,12 +1470,14 @@ Get plugin stats:: "steal": 0.0, "system": 0.0, "total": 44.0, + "total": 46.0, "user": 0.0}, {"cpu_number": 10, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 55.0, + "idle": 53.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1349,11 +1488,14 @@ Get plugin stats:: "system": 1.0, "total": 45.0, "user": 1.0}, + "total": 47.0, + "user": 0.0}, {"cpu_number": 11, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 55.0, + "idle": 53.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1364,11 +1506,15 @@ Get plugin stats:: "system": 0.0, "total": 45.0, "user": 1.0}, + "system": 1.0, + "total": 47.0, + "user": 0.0}, {"cpu_number": 12, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 55.0, + "idle": 53.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1378,12 +1524,14 @@ Get plugin stats:: "steal": 0.0, "system": 0.0, "total": 45.0, + "total": 47.0, "user": 0.0}, {"cpu_number": 13, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 54.0, + "idle": 52.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1394,11 +1542,15 @@ Get plugin stats:: "system": 1.0, "total": 46.0, "user": 1.0}, + "system": 0.0, + "total": 48.0, + "user": 0.0}, {"cpu_number": 14, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 54.0, + "idle": 52.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1409,11 +1561,14 @@ Get plugin stats:: "system": 0.0, "total": 46.0, "user": 1.0}, + "total": 48.0, + "user": 0.0}, {"cpu_number": 15, "dpc": None, "guest": 0.0, "guest_nice": 0.0, "idle": 54.0, + "idle": 53.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1425,6 +1580,10 @@ Get plugin stats:: "total": 46.0, "user": 1.0}], "swap": 95.9} + "system": 0.0, + "total": 47.0, + "user": 1.0}], + "swap": 96.3} Fields descriptions: @@ -1470,6 +1629,7 @@ Get plugin stats:: "type": "temperature_core", "unit": "C", "value": 30, + "value": 30, "warning": 0}] Fields descriptions: @@ -1577,6 +1737,7 @@ Get plugin stats:: # curl http://localhost:61208/api/4/uptime "27 days, 23:30:43" + "27 days, 23:20:17" GET version ----------- @@ -1623,6 +1784,8 @@ Get plugin stats:: [{"key": "ssid", "quality_level": -66.0, "quality_link": 44.0, + "quality_level": -70.0, + "quality_link": 40.0, "ssid": "wlp0s20f3"}] Get a specific field:: @@ -1636,6 +1799,8 @@ Get a specific item when field matches the given value:: {"wlp0s20f3": [{"key": "ssid", "quality_level": -66.0, "quality_link": 44.0, + "quality_level": -70.0, + "quality_link": 40.0, "ssid": "wlp0s20f3"}]} GET all stats @@ -1705,6 +1870,12 @@ History of a plugin:: "user": [["2026-01-24T14:56:47.213507+00:00", 3.7], ["2026-01-24T14:56:48.321466+00:00", 1.5], ["2026-01-24T14:56:49.369244+00:00", 1.5]]} + {"system": [["2026-01-24T14:46:21.567846+00:00", 4.3], + ["2026-01-24T14:46:22.675711+00:00", 1.3], + ["2026-01-24T14:46:23.721783+00:00", 1.3]], + "user": [["2026-01-24T14:46:21.567843+00:00", 5.4], + ["2026-01-24T14:46:22.675708+00:00", 1.4], + ["2026-01-24T14:46:23.721780+00:00", 1.4]]} Limit history to last 2 values:: @@ -1713,6 +1884,10 @@ Limit history to last 2 values:: ["2026-01-24T14:56:49.369247+00:00", 1.1]], "user": [["2026-01-24T14:56:48.321466+00:00", 1.5], ["2026-01-24T14:56:49.369244+00:00", 1.5]]} + {"system": [["2026-01-24T14:46:22.675711+00:00", 1.3], + ["2026-01-24T14:46:23.721783+00:00", 1.3]], + "user": [["2026-01-24T14:46:22.675708+00:00", 1.4], + ["2026-01-24T14:46:23.721780+00:00", 1.4]]} History for a specific field:: @@ -1721,12 +1896,18 @@ History for a specific field:: ["2026-01-24T14:56:47.213510+00:00", 3.4], ["2026-01-24T14:56:48.321469+00:00", 1.1], ["2026-01-24T14:56:49.369247+00:00", 1.1]]} + {"system": [["2026-01-24T14:46:20.319236+00:00", 4.3], + ["2026-01-24T14:46:21.567846+00:00", 4.3], + ["2026-01-24T14:46:22.675711+00:00", 1.3], + ["2026-01-24T14:46:23.721783+00:00", 1.3]]} Limit history for a specific field to last 2 values:: # curl http://localhost:61208/api/4/cpu/system/history {"system": [["2026-01-24T14:56:48.321469+00:00", 1.1], ["2026-01-24T14:56:49.369247+00:00", 1.1]]} + {"system": [["2026-01-24T14:46:22.675711+00:00", 1.3], + ["2026-01-24T14:46:23.721783+00:00", 1.3]]} GET limits (used for thresholds) -------------------------------- @@ -1836,10 +2017,7 @@ All limits/thresholds:: "npu_freq_warning": 70.0, "npu_load_careful": 50.0, "npu_load_critical": 90.0, - "npu_load_warning": 70.0, - "npu_mem_careful": 50.0, - "npu_mem_critical": 90.0, - "npu_mem_warning": 70.0}, + "npu_load_warning": 70.0}, "percpu": {"history_size": 1200.0, "percpu_disable": ["False"], "percpu_iowait_careful": 50.0,