From 00d3fd9756e6cb2376ec84a4e2f473f4119a9425 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 31 Jan 2026 09:23:50 +0100 Subject: [PATCH] --enable-history not available? #3416 --- docs/api/python.rst | 359 ++++++++++++++--------------- docs/api/restful.rst | 522 +++++++++++++++++++++---------------------- docs/cmds.rst | 4 - docs/man/glances.1 | 7 +- 4 files changed, 427 insertions(+), 465 deletions(-) diff --git a/docs/api/python.rst b/docs/api/python.rst index 24fadac2..bfdd8b0e 100644 --- a/docs/api/python.rst +++ b/docs/api/python.rst @@ -22,25 +22,25 @@ use the following code: >>> gl = api.GlancesAPI() >>> gl.cpu {'cpucore': 16, - 'ctx_switches': 1091115555, + 'ctx_switches': 47012666, 'guest': 0.0, - 'idle': 93.6, - 'interrupts': 914037547, - 'iowait': 0.4, + 'idle': 93.1, + 'interrupts': 34656345, + 'iowait': 0.3, 'irq': 0.0, 'nice': 0.0, - 'soft_interrupts': 386738689, + 'soft_interrupts': 18822165, 'steal': 0.0, 'syscalls': 0, - 'system': 4.0, + 'system': 4.4, 'total': 6.5, 'user': 2.0} >>> gl.cpu.get("total") 6.5 >>> gl.mem.get("used") - 13211744280 + 12242194440 >>> gl.auto_unit(gl.mem.get("used")) - 12.3G + 11.4G If the stats return a list of items (like network interfaces or processes), you can access them by their name: @@ -48,22 +48,22 @@ access them by their name: .. code-block:: python >>> gl.network.keys() - ['wlp0s20f3', 'vethba20a37'] + ['wlp0s20f3'] >>> gl.network["wlp0s20f3"] {'alias': None, - 'bytes_all': 416, - 'bytes_all_gauge': 19232953377, - 'bytes_all_rate_per_sec': 3035.0, - 'bytes_recv': 127, - 'bytes_recv_gauge': 16711418307, - 'bytes_recv_rate_per_sec': 926.0, - 'bytes_sent': 289, - 'bytes_sent_gauge': 2521535070, - 'bytes_sent_rate_per_sec': 2108.0, + 'bytes_all': 1388, + 'bytes_all_gauge': 936759533, + 'bytes_all_rate_per_sec': 6330.0, + 'bytes_recv': 801, + 'bytes_recv_gauge': 886509383, + 'bytes_recv_rate_per_sec': 3653.0, + 'bytes_sent': 587, + 'bytes_sent_gauge': 50250150, + 'bytes_sent_rate_per_sec': 2677.0, 'interface_name': 'wlp0s20f3', 'key': 'interface_name', 'speed': 0, - 'time_since_update': 0.1370394229888916} + 'time_since_update': 0.21924471855163574} Init Glances Python API ----------------------- @@ -95,30 +95,17 @@ Alert stats: >>> type(gl.alert) >>> gl.alert - [{'avg': 99.62205850797511, - 'begin': 1769671120, + [{'avg': 74.45096376470578, + 'begin': 1769798705, 'count': 2, 'desc': '', 'end': -1, - 'global_msg': 'High swap (paging) usage', - 'max': 99.62205850797511, - 'min': 99.62205850797511, - 'sort': 'memory_percent', - 'state': 'CRITICAL', - 'sum': 199.24411701595022, - 'top': ['code', 'code', 'code'], - 'type': 'MEMSWAP'}, - {'avg': 80.38286285722846, - 'begin': 1769671120, - 'count': 2, - 'desc': '', - 'end': -1, - 'global_msg': 'High swap (paging) usage', - 'max': 80.4474473082257, - 'min': 80.31827840623122, + 'global_msg': 'High memory consumption', + 'max': 74.54375634628742, + 'min': 74.35817118312413, 'sort': 'memory_percent', 'state': 'WARNING', - 'sum': 160.76572571445692, + 'sum': 148.90192752941155, 'top': [], 'type': 'MEM'}] @@ -156,12 +143,12 @@ Ports stats: >>> gl.ports [{'description': 'DefaultGateway', - 'host': '192.168.1.1', + 'host': '10.62.208.245', 'indice': 'port_0', 'port': 0, 'refresh': 30, 'rtt_warning': None, - 'status': 0.007405, + 'status': 0.008746, 'timeout': 3}] Ports fields description: @@ -202,14 +189,14 @@ Diskio stats: >>> gl.diskio.get("nvme0n1") {'disk_name': 'nvme0n1', 'key': 'disk_name', - 'read_bytes': 62285909504, - 'read_count': 2479766, + 'read_bytes': 5719083520, + 'read_count': 192629, 'read_latency': 0, - 'read_time': 769398, - 'write_bytes': 82178950144, - 'write_count': 6045542, + 'read_time': 29095, + 'write_bytes': 3534550016, + 'write_count': 187556, 'write_latency': 0, - 'write_time': 5814353} + 'write_time': 208896} Diskio fields description: @@ -251,31 +238,28 @@ Containers stats: >>> gl.containers Return a dict of dict with key= >>> gl.containers.keys() - ['nats-for-glances'] - >>> gl.containers.get("nats-for-glances") - {'command': '/nats-server --config nats-server.conf', - 'cpu': {'total': 0.0}, - 'cpu_percent': 0.0, - 'created': '2026-01-17T09:02:16.434433667Z', + ['docker-compose-glances-1'] + >>> gl.containers.get("docker-compose-glances-1") + {'command': ['/bin/sh', '-c', '/venv/bin/python3 -m glances ${GLANCES_OPT}'], + 'cpu': {}, + 'cpu_percent': None, + 'created': '2026-01-17T09:11:05.419895135Z', 'engine': 'docker', - 'id': '2af41a66456c7bfdd014aa03e2696354f7aeabbda3a867ed5f7290b74824bd4d', - 'image': ('nats:latest',), + 'id': 'd227c59360fec76058d7789af10265c4f75e62b8a96df0c7651a3ecff1327f60', + 'image': ('nicolargo/glances:latest-full',), 'io': {}, 'io_rx': None, 'io_wx': None, 'key': 'name', 'memory': {}, - 'memory_inactive_file': None, - 'memory_limit': None, 'memory_percent': None, - 'memory_usage': None, - 'name': 'nats-for-glances', + 'name': 'docker-compose-glances-1', 'network': {}, 'network_rx': None, 'network_tx': None, - 'ports': '4222->4222/tcp,6222->6222/tcp,8222->8222/tcp', - 'status': 'running', - 'uptime': 'a week'} + 'ports': '', + 'status': 'healthy', + 'uptime': None} Containers fields description: @@ -320,11 +304,11 @@ Processcount stats: >>> type(gl.processcount) >>> gl.processcount - {'pid_max': 0, 'running': 1, 'sleeping': 451, 'thread': 2420, 'total': 592} + {'pid_max': 0, 'running': 2, 'sleeping': 404, 'thread': 2007, 'total': 557} >>> gl.processcount.keys() ['total', 'running', 'sleeping', 'thread', 'pid_max'] >>> gl.processcount.get("total") - 592 + 557 Processcount fields description: @@ -437,16 +421,16 @@ Percpu stats: 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 24.0, + 'idle': 41.0, 'interrupt': None, 'iowait': 0.0, 'irq': 0.0, 'key': 'cpu_number', 'nice': 0.0, - 'softirq': 0.0, + 'softirq': 1.0, 'steal': 0.0, - 'system': 5.0, - 'total': 76.0, + 'system': 11.0, + 'total': 59.0, 'user': 0.0} Percpu fields description: @@ -533,22 +517,22 @@ Network stats: >>> gl.network Return a dict of dict with key= >>> gl.network.keys() - ['wlp0s20f3', 'vethba20a37'] + ['wlp0s20f3'] >>> gl.network.get("wlp0s20f3") {'alias': None, 'bytes_all': 0, - 'bytes_all_gauge': 19232953377, + 'bytes_all_gauge': 936759533, 'bytes_all_rate_per_sec': 0.0, 'bytes_recv': 0, - 'bytes_recv_gauge': 16711418307, + 'bytes_recv_gauge': 886509383, 'bytes_recv_rate_per_sec': 0.0, 'bytes_sent': 0, - 'bytes_sent_gauge': 2521535070, + 'bytes_sent_gauge': 50250150, 'bytes_sent_rate_per_sec': 0.0, 'interface_name': 'wlp0s20f3', 'key': 'interface_name', 'speed': 0, - 'time_since_update': 0.0035347938537597656} + 'time_since_update': 0.002943754196166992} Network fields description: @@ -589,17 +573,17 @@ Cpu stats: >>> gl.cpu {'cpucore': 16, - 'ctx_switches': 1091115555, + 'ctx_switches': 47012666, 'guest': 0.0, - 'idle': 93.6, - 'interrupts': 914037547, - 'iowait': 0.4, + 'idle': 93.1, + 'interrupts': 34656345, + 'iowait': 0.3, 'irq': 0.0, 'nice': 0.0, - 'soft_interrupts': 386738689, + 'soft_interrupts': 18822165, 'steal': 0.0, 'syscalls': 0, - 'system': 4.0, + 'system': 4.4, 'total': 6.5, 'user': 2.0} >>> gl.cpu.keys() @@ -677,7 +661,7 @@ Amps stats: 'refresh': 3.0, 'regex': True, 'result': None, - 'timer': 0.1684107780456543} + 'timer': 0.30666637420654297} Amps fields description: @@ -708,32 +692,32 @@ Processlist stats: >>> gl.processlist Return a dict of dict with key= >>> gl.processlist.keys() - [1, 2, 3, 4, 5, 6, 7, 8, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 47, 48, 49, 50, 51, 53, 54, 55, 56, 57, 59, 60, 61, 62, 63, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 89, 90, 91, 92, 93, 95, 96, 97, 98, 99, 101, 102, 103, 104, 105, 107, 108, 109, 110, 111, 113, 114, 115, 116, 117, 118, 121, 122, 123, 124, 125, 126, 127, 128, 133, 135, 136, 137, 138, 139, 140, 142, 143, 144, 145, 146, 147, 148, 150, 154, 156, 157, 158, 166, 179, 188, 189, 218, 219, 239, 240, 258, 267, 268, 269, 270, 271, 273, 279, 280, 364, 367, 369, 370, 371, 372, 373, 450, 452, 613, 618, 619, 620, 627, 659, 660, 726, 757, 758, 787, 795, 970, 971, 986, 1037, 1040, 1042, 1043, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1056, 1058, 1059, 1064, 1065, 1218, 1219, 1223, 1275, 1277, 1278, 1279, 1320, 1327, 1534, 1537, 1965, 1966, 1967, 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 2007, 2008, 2009, 2010, 2011, 2013, 2014, 2016, 2017, 2018, 2019, 2020, 2021, 2023, 2052, 2053, 2054, 2055, 2056, 2057, 2058, 2059, 2060, 2061, 2062, 2063, 2064, 2065, 2066, 2067, 2068, 2069, 2070, 2071, 2072, 2073, 2074, 2075, 2078, 2079, 2080, 2081, 2082, 2083, 2084, 2085, 2086, 2087, 2088, 2089, 2090, 2091, 2092, 2093, 2094, 2095, 2096, 2097, 2098, 2099, 2100, 2101, 2102, 2103, 2104, 2105, 2117, 2122, 2123, 2124, 2125, 2126, 2127, 2128, 2129, 2130, 2133, 2134, 2135, 2136, 2137, 2138, 2139, 2140, 2141, 2142, 2143, 2144, 2145, 2149, 2603, 2604, 2605, 2606, 2613, 2615, 2744, 2745, 2746, 2750, 2751, 2755, 2762, 2774, 2788, 2791, 2796, 2799, 2802, 2813, 2820, 2823, 2887, 2904, 2905, 2916, 3031, 3038, 3081, 3191, 3192, 3240, 3382, 3383, 3698, 3807, 3817, 3818, 3822, 3827, 3828, 3846, 3853, 3874, 3901, 3902, 3903, 3904, 3905, 3906, 3907, 3908, 3982, 4194, 4596, 5166, 6562, 36430, 481055, 813640, 813665, 813669, 813681, 813682, 813683, 813685, 813687, 813689, 813699, 813749, 813753, 813760, 813779, 813795, 813873, 813876, 813892, 813903, 813906, 813949, 813962, 813963, 814046, 814083, 814091, 814092, 814106, 814107, 814128, 814129, 814130, 814133, 814135, 814138, 814140, 814143, 814147, 814150, 814152, 814156, 814158, 814162, 814170, 814177, 814191, 814192, 814284, 814293, 814295, 814306, 814324, 814353, 814356, 814384, 814388, 814397, 814410, 814429, 814438, 814507, 814547, 814577, 814588, 814592, 814614, 814657, 814874, 814875, 814918, 814987, 814992, 815007, 815154, 815196, 815236, 815252, 815324, 815555, 815952, 815959, 815967, 816178, 816198, 816205, 816560, 816572, 818223, 818964, 820306, 896873, 929174, 1046355, 1046357, 1046358, 1046373, 1046415, 1046473, 1046506, 1046561, 1046578, 1046579, 1046654, 1046695, 1046913, 1047076, 1047144, 1047145, 1047146, 1047147, 1047434, 1047704, 1047831, 1048026, 1060640, 1060641, 1060689, 1060886, 1060909, 1081783, 1081790, 1081799, 1081805, 1081812, 1081818, 1081850, 1081870, 1085550, 1085551, 1085606, 1085617, 1117073, 1119112, 1136053, 1158334, 1158351, 1158371, 1158400, 1158403, 1166781, 1180098, 1182119, 1182137, 1182599, 1182609, 1213837, 1318703, 1439516, 1485933, 1486694, 1570874, 1576682, 1598703, 1601558, 1611147, 1611940, 1616249, 1621252, 1628092, 1628569, 1638999, 1640211, 1640456, 1642829, 1645601, 1645609, 1647309, 1658892, 1659981, 1660138, 1667866, 1668097, 1668559, 1668572, 1668576, 1668579, 1668585, 1668592, 1668616, 1668617, 1668634, 1668723, 1668843, 1669097, 1669162, 1669214, 1669275, 1669312, 1669482, 1671448, 1671481, 1671593, 1673235, 1673269, 1673528, 1673898, 1674027, 1675027, 1675077, 1675275, 1675650, 1676662, 1676743, 1676744, 1676971, 1677432, 1678032, 1678036, 1678120, 1678362, 1678363, 1678564, 1678565, 1678568, 1678836, 1679060, 1680024, 1681483, 1681543, 1681896, 1681963, 1682110, 1682154, 1682274, 1682486, 1682558, 1682643, 1683269, 1683539, 1683837, 1683840, 1683841, 1683844] + [1, 2, 3, 4, 5, 6, 7, 8, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 47, 48, 49, 50, 51, 53, 54, 55, 56, 57, 59, 60, 61, 62, 63, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 89, 90, 91, 92, 93, 95, 96, 97, 98, 99, 101, 102, 103, 104, 105, 107, 108, 109, 110, 111, 113, 114, 115, 116, 117, 118, 121, 122, 123, 124, 125, 126, 127, 128, 133, 135, 136, 137, 138, 139, 140, 142, 143, 144, 145, 146, 147, 148, 151, 153, 154, 155, 163, 173, 182, 183, 211, 214, 230, 231, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 360, 364, 366, 367, 368, 369, 371, 450, 451, 613, 618, 619, 620, 626, 655, 665, 666, 730, 762, 763, 788, 797, 983, 998, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1066, 1238, 1239, 1300, 1302, 1310, 1311, 1312, 1313, 1314, 1363, 1365, 1494, 1500, 1927, 1928, 1929, 1930, 1931, 1932, 1933, 1934, 1935, 1936, 1937, 1938, 1939, 1940, 1968, 1970, 1971, 1972, 1974, 1975, 1976, 1977, 1978, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 2051, 2052, 2053, 2054, 2055, 2056, 2057, 2058, 2059, 2060, 2061, 2062, 2063, 2064, 2080, 2081, 2082, 2083, 2084, 2085, 2086, 2087, 2088, 2089, 2090, 2091, 2092, 2093, 2095, 2096, 2097, 2098, 2099, 2101, 2103, 2575, 2576, 2577, 2578, 2585, 2587, 2721, 2722, 2723, 2726, 2727, 2730, 2733, 2738, 2742, 2746, 2748, 2751, 2755, 2756, 2769, 2771, 2772, 2825, 2837, 2840, 2870, 2942, 2944, 2968, 3060, 3070, 3072, 3077, 3083, 3089, 3126, 3161, 3266, 3267, 3572, 3573, 3588, 3592, 3641, 3645, 3651, 3652, 3654, 3663, 3666, 3679, 3687, 3713, 3740, 3741, 3742, 3743, 3744, 3745, 3746, 3747, 3814, 4045, 4361, 4405, 4976, 5095, 5102, 5112, 5113, 5116, 5118, 5120, 5130, 5186, 5190, 5197, 5240, 5254, 5343, 5347, 5361, 5373, 5377, 5412, 5425, 5426, 5517, 5536, 5544, 5553, 5577, 5578, 5580, 5584, 5586, 5588, 5589, 5591, 5597, 5599, 5605, 5606, 5608, 5611, 5613, 5630, 5648, 5658, 5721, 5747, 5748, 5749, 5756, 5781, 5811, 5828, 5837, 5843, 5852, 5861, 5869, 5905, 5946, 5969, 5979, 6000, 6010, 6012, 6066, 6123, 6450, 6462, 6484, 6489, 6491, 6717, 6813, 6964, 6968, 6996, 7007, 7042, 7049, 7057, 7071, 7087, 7194, 7434, 7827, 8190, 8333, 9253, 9933, 10091, 10509, 10855, 11265, 11716, 13164, 13577, 13787, 13981, 14168, 14196, 14337, 14387, 14553, 14667, 14668, 14669, 14676, 14682, 14683, 14709, 14828, 15075, 15954, 15968, 16023, 16025, 16085, 16112, 16250, 16289, 16291, 16314, 16367, 16384, 16400, 16567, 16635, 16779, 16784, 16891, 16961, 16984, 17037, 17123, 17146, 17147, 17271, 17305, 17325, 17327, 17330, 17377, 17403, 17425, 17507, 17592, 17606, 17807, 17872, 17982, 18081, 18083, 18084, 18098, 18153, 18199, 18234, 18281, 18294, 18295, 18378, 18621, 18657, 18717, 18891, 18892, 18893, 18894, 18895, 18898, 19036, 19076, 19167, 19205, 19531, 19739, 19846, 19918, 19934, 20098, 20238, 20602, 20627, 20723, 20838, 20975, 20984, 21281, 21506, 21507, 21647, 21741, 21744, 21745, 21748] >>> gl.processlist.get("1") {'cmdline': ['/sbin/init', 'splash'], 'cpu_percent': 0.0, - 'cpu_times': {'children_system': 11597.7, - 'children_user': 47323.97, + 'cpu_times': {'children_system': 15.5, + 'children_user': 18.55, 'iowait': 0.0, - 'system': 22.02, - 'user': 37.43}, + 'system': 2.62, + 'user': 3.5}, 'gids': {'effective': 0, 'real': 0, 'saved': 0}, 'io_counters': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'key': 'pid', - 'memory_info': {'data': 7282688, + 'memory_info': {'data': 6815744, 'dirty': 0, 'lib': 0, - 'rss': 11882496, - 'shared': 5230592, + 'rss': 16982016, + 'shared': 9801728, 'text': 45056, - 'vms': 26632192}, - 'memory_percent': 0.07235354019811552, + 'vms': 26165248}, + 'memory_percent': 0.10340493031515308, 'name': 'systemd', 'nice': 0, 'num_threads': 1, 'pid': 1, 'status': 'S', - 'time_since_update': 0.34056949615478516, + 'time_since_update': 0.6170315742492676, 'username': 'root'} Processlist fields description: @@ -819,11 +803,14 @@ Load stats: >>> type(gl.load) >>> gl.load - {'cpucore': 16, 'min1': 0.39453125, 'min15': 0.685546875, 'min5': 0.572265625} + {'cpucore': 16, + 'min1': 1.22802734375, + 'min15': 0.81689453125, + 'min5': 1.2333984375} >>> gl.load.keys() ['min1', 'min5', 'min15', 'cpucore'] >>> gl.load.get("min1") - 0.39453125 + 1.22802734375 Load fields description: @@ -862,7 +849,7 @@ Sensors stats: 'label': 'Ambient', 'type': 'temperature_core', 'unit': 'C', - 'value': 35, + 'value': 38, 'warning': 0} Sensors fields description: @@ -900,7 +887,7 @@ Uptime stats: >>> type(gl.uptime) >>> gl.uptime - '32 days, 15:52:36' + '21:48:53' Uptime limits: @@ -919,11 +906,11 @@ Now stats: >>> type(gl.now) >>> gl.now - {'custom': '2026-01-29 08:18:40 CET', 'iso': '2026-01-29T08:18:40+01:00'} + {'custom': '2026-01-30 19:45:06 CET', 'iso': '2026-01-30T19:45:06+01:00'} >>> gl.now.keys() ['iso', 'custom'] >>> gl.now.get("iso") - '2026-01-29T08:18:40+01:00' + '2026-01-30T19:45:06+01:00' Now fields description: @@ -952,14 +939,14 @@ Fs stats: ['/', '/zsfpool'] >>> gl.fs.get("/") {'device_name': '/dev/mapper/ubuntu--vg-ubuntu--lv', - 'free': 578879549440, + 'free': 581219987456, 'fs_type': 'ext4', 'key': 'mnt_point', 'mnt_point': '/', 'options': 'rw,relatime', - 'percent': 39.2, + 'percent': 39.0, 'size': 1003736440832, - 'used': 373794385920} + 'used': 371453947904} Fs fields description: @@ -999,8 +986,8 @@ Wifi stats: ['wlp0s20f3'] >>> gl.wifi.get("wlp0s20f3") {'key': 'ssid', - 'quality_level': -58.0, - 'quality_link': 52.0, + 'quality_level': -55.0, + 'quality_link': 55.0, 'ssid': 'wlp0s20f3'} Wifi limits: @@ -1024,11 +1011,11 @@ Ip stats: >>> type(gl.ip) >>> gl.ip - {'address': '172.17.0.1', 'mask': '255.255.0.0', 'mask_cidr': 16} + {'address': '10.62.208.39', 'mask': '255.255.255.0', 'mask_cidr': 24} >>> gl.ip.keys() ['address', 'mask', 'mask_cidr'] >>> gl.ip.get("address") - '172.17.0.1' + '10.62.208.39' Ip fields description: @@ -1081,7 +1068,7 @@ Psutilversion stats: >>> type(gl.psutilversion) >>> gl.psutilversion - '7.2.1' + '7.1.1' Psutilversion limits: @@ -1128,20 +1115,20 @@ Mem stats: >>> type(gl.mem) >>> gl.mem - {'active': 8421834752, - 'available': 3211081704, - 'buffers': 192659456, - 'cached': 3846081384, - 'free': 426901504, - 'inactive': 5558714368, - 'percent': 80.4, - 'shared': 936468480, - 'total': 16422825984, - 'used': 13211744280} + {'active': 10147979264, + 'available': 4180635640, + 'buffers': 248877056, + 'cached': 4653249528, + 'free': 208330752, + 'inactive': 4399124480, + 'percent': 74.5, + 'shared': 828289024, + 'total': 16422830080, + 'used': 12242194440} >>> gl.mem.keys() ['total', 'available', 'percent', 'used', 'free', 'active', 'inactive', 'buffers', 'cached', 'shared'] >>> gl.mem.get("total") - 16422825984 + 16422830080 Mem fields description: @@ -1209,32 +1196,32 @@ Quicklook stats: >>> gl.quicklook {'cpu': 6.5, 'cpu_hz': 4475000000.0, - 'cpu_hz_current': 789946562.5, + 'cpu_hz_current': 675745187.5, 'cpu_log_core': 16, 'cpu_name': '13th Gen Intel(R) Core(TM) i7-13620H', 'cpu_phys_core': 10, - 'load': 4.3, - 'mem': 80.4, + 'load': 5.1, + 'mem': 74.5, 'percpu': [{'cpu_number': 0, 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 24.0, + 'idle': 41.0, 'interrupt': None, 'iowait': 0.0, 'irq': 0.0, 'key': 'cpu_number', 'nice': 0.0, - 'softirq': 0.0, + 'softirq': 1.0, 'steal': 0.0, - 'system': 5.0, - 'total': 76.0, + 'system': 11.0, + 'total': 59.0, 'user': 0.0}, {'cpu_number': 1, 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 29.0, + 'idle': 53.0, 'interrupt': None, 'iowait': 0.0, 'irq': 0.0, @@ -1243,13 +1230,13 @@ Quicklook stats: 'softirq': 0.0, 'steal': 0.0, 'system': 0.0, - 'total': 71.0, + 'total': 47.0, 'user': 0.0}, {'cpu_number': 2, 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 29.0, + 'idle': 52.0, 'interrupt': None, 'iowait': 0.0, 'irq': 0.0, @@ -1258,13 +1245,13 @@ Quicklook stats: 'softirq': 0.0, 'steal': 0.0, 'system': 0.0, - 'total': 71.0, + 'total': 48.0, 'user': 0.0}, {'cpu_number': 3, 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 30.0, + 'idle': 53.0, 'interrupt': None, 'iowait': 0.0, 'irq': 0.0, @@ -1273,13 +1260,13 @@ Quicklook stats: 'softirq': 0.0, 'steal': 0.0, 'system': 0.0, - 'total': 70.0, + 'total': 47.0, 'user': 0.0}, {'cpu_number': 4, 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 28.0, + 'idle': 43.0, 'interrupt': None, 'iowait': 0.0, 'irq': 0.0, @@ -1287,14 +1274,14 @@ Quicklook stats: 'nice': 0.0, 'softirq': 0.0, 'steal': 0.0, - 'system': 1.0, - 'total': 72.0, - 'user': 0.0}, + 'system': 8.0, + 'total': 57.0, + 'user': 1.0}, {'cpu_number': 5, 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 30.0, + 'idle': 53.0, 'interrupt': None, 'iowait': 0.0, 'irq': 0.0, @@ -1303,28 +1290,28 @@ Quicklook stats: 'softirq': 0.0, 'steal': 0.0, 'system': 0.0, - 'total': 70.0, + 'total': 47.0, 'user': 0.0}, {'cpu_number': 6, 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 7.0, + 'idle': 25.0, 'interrupt': None, - 'iowait': 2.0, + 'iowait': 1.0, 'irq': 0.0, 'key': 'cpu_number', 'nice': 0.0, 'softirq': 0.0, 'steal': 0.0, - 'system': 11.0, - 'total': 93.0, - 'user': 8.0}, + 'system': 13.0, + 'total': 75.0, + 'user': 12.0}, {'cpu_number': 7, 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 30.0, + 'idle': 53.0, 'interrupt': None, 'iowait': 0.0, 'irq': 0.0, @@ -1333,13 +1320,13 @@ Quicklook stats: 'softirq': 0.0, 'steal': 0.0, 'system': 0.0, - 'total': 70.0, + 'total': 47.0, 'user': 0.0}, {'cpu_number': 8, 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 25.0, + 'idle': 50.0, 'interrupt': None, 'iowait': 0.0, 'irq': 0.0, @@ -1347,14 +1334,14 @@ Quicklook stats: 'nice': 0.0, 'softirq': 0.0, 'steal': 0.0, - 'system': 3.0, - 'total': 75.0, + 'system': 2.0, + 'total': 50.0, 'user': 1.0}, {'cpu_number': 9, 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 30.0, + 'idle': 54.0, 'interrupt': None, 'iowait': 0.0, 'irq': 0.0, @@ -1363,13 +1350,13 @@ Quicklook stats: 'softirq': 0.0, 'steal': 0.0, 'system': 0.0, - 'total': 70.0, + 'total': 46.0, 'user': 0.0}, {'cpu_number': 10, 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 29.0, + 'idle': 51.0, 'interrupt': None, 'iowait': 0.0, 'irq': 0.0, @@ -1378,13 +1365,13 @@ Quicklook stats: 'softirq': 0.0, 'steal': 0.0, 'system': 0.0, - 'total': 71.0, - 'user': 0.0}, + 'total': 49.0, + 'user': 2.0}, {'cpu_number': 11, 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 29.0, + 'idle': 53.0, 'interrupt': None, 'iowait': 0.0, 'irq': 0.0, @@ -1393,13 +1380,13 @@ Quicklook stats: 'softirq': 0.0, 'steal': 0.0, 'system': 0.0, - 'total': 71.0, + 'total': 47.0, 'user': 0.0}, {'cpu_number': 12, 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 30.0, + 'idle': 51.0, 'interrupt': None, 'iowait': 0.0, 'irq': 0.0, @@ -1407,29 +1394,14 @@ Quicklook stats: 'nice': 0.0, 'softirq': 0.0, 'steal': 0.0, - 'system': 0.0, - 'total': 70.0, - 'user': 0.0}, + 'system': 2.0, + 'total': 49.0, + 'user': 1.0}, {'cpu_number': 13, 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 29.0, - 'interrupt': None, - 'iowait': 0.0, - 'irq': 0.0, - 'key': 'cpu_number', - 'nice': 0.0, - 'softirq': 0.0, - 'steal': 0.0, - 'system': 0.0, - 'total': 71.0, - 'user': 0.0}, - {'cpu_number': 14, - 'dpc': None, - 'guest': 0.0, - 'guest_nice': 0.0, - 'idle': 29.0, + 'idle': 53.0, 'interrupt': None, 'iowait': 0.0, 'irq': 0.0, @@ -1438,13 +1410,13 @@ Quicklook stats: 'softirq': 0.0, 'steal': 0.0, 'system': 1.0, - 'total': 71.0, + 'total': 47.0, 'user': 0.0}, - {'cpu_number': 15, + {'cpu_number': 14, 'dpc': None, 'guest': 0.0, 'guest_nice': 0.0, - 'idle': 29.0, + 'idle': 52.0, 'interrupt': None, 'iowait': 0.0, 'irq': 0.0, @@ -1453,9 +1425,24 @@ Quicklook stats: 'softirq': 0.0, 'steal': 0.0, 'system': 0.0, - 'total': 71.0, + 'total': 48.0, + 'user': 0.0}, + {'cpu_number': 15, + 'dpc': None, + 'guest': 0.0, + 'guest_nice': 0.0, + 'idle': 53.0, + 'interrupt': None, + 'iowait': 0.0, + 'irq': 0.0, + 'key': 'cpu_number', + 'nice': 0.0, + 'softirq': 0.0, + 'steal': 0.0, + 'system': 1.0, + 'total': 47.0, 'user': 0.0}], - 'swap': 99.6} + 'swap': 0.0} >>> gl.quicklook.keys() ['cpu_name', 'cpu_hz_current', 'cpu_hz', 'cpu', 'percpu', 'mem', 'swap', 'cpu_log_core', 'cpu_phys_core', 'load'] >>> gl.quicklook.get("cpu_name") @@ -1505,13 +1492,13 @@ Memswap stats: >>> type(gl.memswap) >>> gl.memswap - {'free': 16232448, - 'percent': 99.6, - 'sin': 3649384448, - 'sout': 13578919936, - 'time_since_update': 0.3369176387786865, + {'free': 4293914624, + 'percent': 0.0, + 'sin': 0, + 'sout': 98304, + 'time_since_update': 0.5794928073883057, 'total': 4294963200, - 'used': 4278730752} + 'used': 1048576} >>> gl.memswap.keys() ['total', 'used', 'free', 'percent', 'sin', 'sout', 'time_since_update'] >>> gl.memswap.get("total") @@ -1546,10 +1533,10 @@ Use auto_unit() function to generate a human-readable string with the unit: .. code-block:: python >>> gl.mem.get("used") - 13211744280 + 12242194440 >>> gl.auto_unit(gl.mem.get("used")) - 12.3G + 11.4G Args: @@ -1575,7 +1562,7 @@ Use bar() function to generate a bar: .. code-block:: python >>> gl.bar(gl.mem["percent"]) - ■■■■■■■■■■■■■■□□□□ + ■■■■■■■■■■■■■□□□□□ Args: @@ -1605,7 +1592,7 @@ Use top_process() function to generate a list of top processes sorted by CPU or .. code-block:: python >>> gl.top_process() - [{'cpu_times': {'user': 1668.42, 'system': 88.0, 'children_user': 2.83, 'children_system': 2.5, 'iowait': 0.0}, 'gids': {'real': 1000, 'effective': 1000, 'saved': 1000}, 'memory_info': {'rss': 1103269888, 'vms': 1501589229568, 'shared': 26664960, 'text': 148733952, 'lib': 0, 'data': 2084085760, 'dirty': 0}, 'status': 'S', 'cpu_percent': 3.1, 'memory_percent': 6.717905244047917, 'io_counters': [357675008, 1413120, 357675008, 1413120, 1], 'num_threads': 16, 'nice': 0, 'name': 'code', 'pid': 1047434, 'key': 'pid', 'time_since_update': 0.34056949615478516, 'cmdline': ['/snap/code/211/usr/share/code/code', '/home/nicolargo/.vscode/extensions/ms-python.vscode-pylance-2025.10.4/dist/server.bundle.js', '--cancellationReceive=file:6f0e26e57de3d118bd143e07a60d69d9c0dcfafde4', '--node-ipc', '--clientProcessId=1046561'], 'username': 'nicolargo'}, {'cpu_times': {'user': 365.24, 'system': 168.04, 'children_user': 2.46, 'children_system': 1.91, 'iowait': 0.0}, 'gids': {'real': 1000, 'effective': 1000, 'saved': 1000}, 'memory_info': {'rss': 182128640, 'vms': 76532375552, 'shared': 24219648, 'text': 61407232, 'lib': 0, 'data': 75415621632, 'dirty': 0}, 'status': 'S', 'cpu_percent': 3.1, 'memory_percent': 1.1089969544671514, 'io_counters': [27238400, 21704704, 27238400, 21704704, 1], 'num_threads': 14, 'nice': 0, 'name': 'claude', 'pid': 1182119, 'key': 'pid', 'time_since_update': 0.34056949615478516, 'cmdline': ['/home/nicolargo/.vscode/extensions/anthropic.claude-code-2.0.75-linux-x64/resources/native-binary/claude', '--output-format', 'stream-json', '--verbose', '--input-format', 'stream-json', '--max-thinking-tokens', '0', '--model', 'default', '--permission-prompt-tool', 'stdio', '--setting-sources', 'user,project,local', '--permission-mode', 'default', '--include-partial-messages', '--debug', '--debug-to-stderr', '--enable-auth-status'], 'username': 'nicolargo'}, {'cpu_times': {'user': 240.4, 'system': 103.64, 'children_user': 49.85, 'children_system': 22.51, 'iowait': 0.0}, 'gids': {'real': 0, 'effective': 0, 'saved': 0}, 'memory_info': {'rss': 89559040, 'vms': 7925121024, 'shared': 9117696, 'text': 32280576, 'lib': 0, 'data': 814161920, 'dirty': 0}, 'status': 'S', 'cpu_percent': 3.1, 'memory_percent': 0.5453326978392953, 'io_counters': [0, 0, 0, 0, 0], 'num_threads': 74, 'nice': 0, 'name': 'dockerd', 'pid': 3807, 'key': 'pid', 'time_since_update': 0.34056949615478516, 'cmdline': ['/usr/bin/dockerd', '-H', 'fd://', '--containerd=/run/containerd/containerd.sock'], 'username': 'root'}] + [{'io_counters': [231424, 0, 231424, 0, 1], 'num_threads': 32, 'cpu_percent': 8.4, 'gids': {'real': 1000, 'effective': 1000, 'saved': 1000}, 'memory_percent': 3.814110557977593, 'memory_info': {'rss': 626384896, 'vms': 3592351744, 'shared': 118067200, 'text': 651264, 'lib': 0, 'data': 765480960, 'dirty': 0}, 'nice': 0, 'cpu_times': {'user': 172.18, 'system': 30.0, 'children_user': 0.0, 'children_system': 0.0, 'iowait': 0.0}, 'status': 'R', 'pid': 7087, 'name': 'Isolated Web Co', 'key': 'pid', 'time_since_update': 0.6170315742492676, 'cmdline': ['/snap/firefox/7720/usr/lib/firefox/firefox', '-contentproc', '-isForBrowser', '-prefsHandle', '0:35150', '-prefMapHandle', '1:280845', '-jsInitHandle', '2:223968', '-parentBuildID', '20260127070045', '-sandboxReporter', '3', '-chrootClient', '4', '-ipcHandle', '5', '-initialChannelId', '{fd83ae65-7a12-457a-a4db-22241f79d788}', '-parentPid', '6717', '-crashReporter', '6', '-crashHelper', '7', '-greomni', '/snap/firefox/7720/usr/lib/firefox/omni.ja', '-appomni', '/snap/firefox/7720/usr/lib/firefox/browser/omni.ja', '-appDir', '/snap/firefox/7720/usr/lib/firefox/browser', '9', 'tab'], 'username': 'nicolargo'}, {'io_counters': [633206784, 986939392, 633206784, 986939392, 1], 'num_threads': 150, 'cpu_percent': 1.7, 'gids': {'real': 1000, 'effective': 1000, 'saved': 1000}, 'memory_percent': 3.993784730189451, 'memory_info': {'rss': 655892480, 'vms': 21682479104, 'shared': 263532544, 'text': 651264, 'lib': 0, 'data': 1078788096, 'dirty': 0}, 'nice': 0, 'cpu_times': {'user': 646.01, 'system': 229.64, 'children_user': 0.14, 'children_system': 0.52, 'iowait': 0.0}, 'status': 'S', 'pid': 6717, 'name': 'firefox', 'key': 'pid', 'time_since_update': 0.6170315742492676, 'cmdline': ['/snap/firefox/7720/usr/lib/firefox/firefox'], 'username': 'nicolargo'}, {'io_counters': [54684672, 45056, 54684672, 45056, 1], 'num_threads': 24, 'cpu_percent': 1.7, 'gids': {'real': 1000, 'effective': 1000, 'saved': 1000}, 'memory_percent': 2.661143090874627, 'memory_info': {'rss': 437035008, 'vms': 5116706816, 'shared': 159236096, 'text': 8192, 'lib': 0, 'data': 502009856, 'dirty': 0}, 'nice': 0, 'cpu_times': {'user': 245.73, 'system': 128.86, 'children_user': 1.57, 'children_system': 1.13, 'iowait': 0.0}, 'status': 'S', 'pid': 5426, 'name': 'gnome-shell', 'key': 'pid', 'time_since_update': 0.6170315742492676, 'cmdline': ['/usr/bin/gnome-shell'], 'username': 'nicolargo'}] Args: diff --git a/docs/api/restful.rst b/docs/api/restful.rst index f4a63ec4..cb0029dd 100644 --- a/docs/api/restful.rst +++ b/docs/api/restful.rst @@ -253,7 +253,7 @@ Get plugin stats:: "refresh": 3.0, "regex": True, "result": None, - "timer": 0.2993171215057373}, + "timer": 0.5227251052856445}, {"count": 0, "countmax": 20.0, "countmin": None, @@ -262,7 +262,7 @@ Get plugin stats:: "refresh": 3.0, "regex": True, "result": None, - "timer": 0.29926037788391113}] + "timer": 0.5226263999938965}] Fields descriptions: @@ -290,7 +290,7 @@ Get a specific item when field matches the given value:: "refresh": 3.0, "regex": True, "result": None, - "timer": 0.2993171215057373}]} + "timer": 0.5227251052856445}]} GET cloud --------- @@ -331,29 +331,26 @@ GET containers Get plugin stats:: # curl http://localhost:61208/api/4/containers - [{"command": "/nats-server --config nats-server.conf", - "cpu": {"total": 0.0}, - "cpu_percent": 0.0, - "created": "2026-01-17T09:02:16.434433667Z", + [{"command": ["/bin/sh", "-c", "/venv/bin/python3 -m glances ${GLANCES_OPT}"], + "cpu": {}, + "cpu_percent": None, + "created": "2026-01-17T09:11:05.419895135Z", "engine": "docker", - "id": "2af41a66456c7bfdd014aa03e2696354f7aeabbda3a867ed5f7290b74824bd4d", - "image": ["nats:latest"], - "io": {"cumulative_ior": 16338944, "cumulative_iow": 0}, + "id": "d227c59360fec76058d7789af10265c4f75e62b8a96df0c7651a3ecff1327f60", + "image": ["nicolargo/glances:latest-full"], + "io": {}, "io_rx": None, "io_wx": None, "key": "name", - "memory": {"inactive_file": 376832, "limit": 16422825984, "usage": 8245248}, - "memory_inactive_file": 376832, - "memory_limit": 16422825984, + "memory": {}, "memory_percent": None, - "memory_usage": 8245248, - "name": "nats-for-glances", - "network": {"cumulative_rx": 596418, "cumulative_tx": 0}, + "name": "docker-compose-glances-1", + "network": {}, "network_rx": None, "network_tx": None, - "ports": "4222->4222/tcp,6222->6222/tcp,8222->8222/tcp", - "status": "running", - "uptime": "a week"}] + "ports": "", + "status": "healthy", + "uptime": None}] Fields descriptions: @@ -380,36 +377,34 @@ Fields descriptions: Get a specific field:: # curl http://localhost:61208/api/4/containers/name - {"name": ["nats-for-glances"]} + {"name": ["docker-compose-glances-1"]} Get a specific item when field matches the given value:: - # curl http://localhost:61208/api/4/containers/name/value/nats-for-glances - {"nats-for-glances": [{"command": "/nats-server --config nats-server.conf", - "cpu": {"total": 0.0}, - "cpu_percent": 0.0, - "created": "2026-01-17T09:02:16.434433667Z", - "engine": "docker", - "id": "2af41a66456c7bfdd014aa03e2696354f7aeabbda3a867ed5f7290b74824bd4d", - "image": ["nats:latest"], - "io": {"cumulative_ior": 16338944, "cumulative_iow": 0}, - "io_rx": None, - "io_wx": None, - "key": "name", - "memory": {"inactive_file": 376832, - "limit": 16422825984, - "usage": 8245248}, - "memory_inactive_file": 376832, - "memory_limit": 16422825984, - "memory_percent": None, - "memory_usage": 8245248, - "name": "nats-for-glances", - "network": {"cumulative_rx": 596418, "cumulative_tx": 0}, - "network_rx": None, - "network_tx": None, - "ports": "4222->4222/tcp,6222->6222/tcp,8222->8222/tcp", - "status": "running", - "uptime": "a week"}]} + # curl http://localhost:61208/api/4/containers/name/value/docker-compose-glances-1 + {"docker-compose-glances-1": [{"command": ["/bin/sh", + "-c", + "/venv/bin/python3 -m glances " + "${GLANCES_OPT}"], + "cpu": {}, + "cpu_percent": None, + "created": "2026-01-17T09:11:05.419895135Z", + "engine": "docker", + "id": "d227c59360fec76058d7789af10265c4f75e62b8a96df0c7651a3ecff1327f60", + "image": ["nicolargo/glances:latest-full"], + "io": {}, + "io_rx": None, + "io_wx": None, + "key": "name", + "memory": {}, + "memory_percent": None, + "name": "docker-compose-glances-1", + "network": {}, + "network_rx": None, + "network_tx": None, + "ports": "", + "status": "healthy", + "uptime": None}]} GET core -------- @@ -436,19 +431,19 @@ Get plugin stats:: # curl http://localhost:61208/api/4/cpu {"cpucore": 16, - "ctx_switches": 1091136161, + "ctx_switches": 47035131, "guest": 0.0, - "idle": 92.1, - "interrupts": 914051530, - "iowait": 0.6, + "idle": 92.6, + "interrupts": 34678523, + "iowait": 0.1, "irq": 0.0, "nice": 0.0, - "soft_interrupts": 386746769, + "soft_interrupts": 18834167, "steal": 0.0, "syscalls": 0, - "system": 3.0, + "system": 3.3, "total": 6.6, - "user": 4.4} + "user": 3.9} Fields descriptions: @@ -491,24 +486,24 @@ Get plugin stats:: # curl http://localhost:61208/api/4/diskio [{"disk_name": "nvme0n1", "key": "disk_name", - "read_bytes": 62299278848, - "read_count": 2480093, + "read_bytes": 5737572864, + "read_count": 193096, "read_latency": 0, - "read_time": 769456, - "write_bytes": 82179634176, - "write_count": 6045623, + "read_time": 29156, + "write_bytes": 3534861312, + "write_count": 187591, "write_latency": 0, - "write_time": 5815106}, + "write_time": 208989}, {"disk_name": "nvme0n1p1", "key": "disk_name", - "read_bytes": 19609600, - "read_count": 2519, + "read_bytes": 7402496, + "read_count": 578, "read_latency": 0, - "read_time": 2446, + "read_time": 354, "write_bytes": 1024, "write_count": 2, "write_latency": 0, - "write_time": 9}] + "write_time": 0}] Fields descriptions: @@ -550,14 +545,14 @@ 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": 62299278848, - "read_count": 2480093, + "read_bytes": 5737572864, + "read_count": 193096, "read_latency": 0, - "read_time": 769456, - "write_bytes": 82179634176, - "write_count": 6045623, + "read_time": 29156, + "write_bytes": 3534861312, + "write_count": 187591, "write_latency": 0, - "write_time": 5815106}]} + "write_time": 208989}]} GET folders ----------- @@ -584,14 +579,14 @@ Get plugin stats:: # curl http://localhost:61208/api/4/fs [{"device_name": "/dev/mapper/ubuntu--vg-ubuntu--lv", - "free": 578879565824, + "free": 581219282944, "fs_type": "ext4", "key": "mnt_point", "mnt_point": "/", "options": "rw,relatime", - "percent": 39.2, + "percent": 39.0, "size": 1003736440832, - "used": 373794369536}, + "used": 371454652416}, {"device_name": "zsfpool", "free": 41680896, "fs_type": "zfs", @@ -622,14 +617,14 @@ 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": 578879565824, + "free": 581219282944, "fs_type": "ext4", "key": "mnt_point", "mnt_point": "/", "options": "rw,relatime", - "percent": 39.2, + "percent": 39.0, "size": 1003736440832, - "used": 373794369536}]} + "used": 371454652416}]} GET gpu ------- @@ -662,7 +657,7 @@ GET ip Get plugin stats:: # curl http://localhost:61208/api/4/ip - {"address": "172.17.0.1", "mask": "255.255.0.0", "mask_cidr": 16} + {"address": "10.62.208.39", "mask": "255.255.255.0", "mask_cidr": 24} Fields descriptions: @@ -676,7 +671,7 @@ Fields descriptions: Get a specific field:: # curl http://localhost:61208/api/4/ip/address - {"address": "172.17.0.1"} + {"address": "10.62.208.39"} GET irq ------- @@ -697,7 +692,10 @@ GET load Get plugin stats:: # curl http://localhost:61208/api/4/load - {"cpucore": 16, "min1": 0.443359375, "min15": 0.6875, "min5": 0.57958984375} + {"cpucore": 16, + "min1": 1.5302734375, + "min15": 0.83984375, + "min5": 1.29638671875} Fields descriptions: @@ -709,7 +707,7 @@ Fields descriptions: Get a specific field:: # curl http://localhost:61208/api/4/load/min1 - {"min1": 0.443359375} + {"min1": 1.5302734375} GET mem ------- @@ -717,16 +715,16 @@ GET mem Get plugin stats:: # curl http://localhost:61208/api/4/mem - {"active": 8427999232, - "available": 3210090472, - "buffers": 192962560, - "cached": 3840908136, - "free": 412540928, - "inactive": 5561991168, - "percent": 80.5, - "shared": 918220800, - "total": 16422825984, - "used": 13212735512} + {"active": 10157383680, + "available": 4123176952, + "buffers": 245882880, + "cached": 4549309432, + "free": 283234304, + "inactive": 4249448448, + "percent": 74.9, + "shared": 830451712, + "total": 16422830080, + "used": 12299653128} Fields descriptions: @@ -745,7 +743,7 @@ Fields descriptions: Get a specific field:: # curl http://localhost:61208/api/4/mem/total - {"total": 16422825984} + {"total": 16422830080} GET memswap ----------- @@ -753,13 +751,13 @@ GET memswap Get plugin stats:: # curl http://localhost:61208/api/4/memswap - {"free": 16232448, - "percent": 99.6, - "sin": 3649384448, - "sout": 13578919936, + {"free": 4293914624, + "percent": 0.0, + "sin": 0, + "sout": 98304, "time_since_update": 1, "total": 4294963200, - "used": 4278730752} + "used": 1048576} Fields descriptions: @@ -784,32 +782,18 @@ Get plugin stats:: # curl http://localhost:61208/api/4/network [{"alias": None, "bytes_all": 0, - "bytes_all_gauge": 19232981477, + "bytes_all_gauge": 936837243, "bytes_all_rate_per_sec": 0, "bytes_recv": 0, - "bytes_recv_gauge": 16711432467, + "bytes_recv_gauge": 886548716, "bytes_recv_rate_per_sec": 0, "bytes_sent": 0, - "bytes_sent_gauge": 2521549010, + "bytes_sent_gauge": 50288527, "bytes_sent_rate_per_sec": 0, "interface_name": "wlp0s20f3", "key": "interface_name", "speed": 0, - "time_since_update": 0.3050692081451416}, - {"alias": None, - "bytes_all": 0, - "bytes_all_gauge": 596418, - "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": 596418, - "bytes_sent_rate_per_sec": 0, - "interface_name": "vethba20a37", - "key": "interface_name", - "speed": 10485760000, - "time_since_update": 0.3050692081451416}] + "time_since_update": 0.5328564643859863}] Fields descriptions: @@ -831,25 +815,25 @@ Fields descriptions: Get a specific field:: # curl http://localhost:61208/api/4/network/interface_name - {"interface_name": ["wlp0s20f3", "vethba20a37"]} + {"interface_name": ["wlp0s20f3"]} 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": 19232981477, + "bytes_all_gauge": 936837243, "bytes_all_rate_per_sec": 0, "bytes_recv": 0, - "bytes_recv_gauge": 16711432467, + "bytes_recv_gauge": 886548716, "bytes_recv_rate_per_sec": 0, "bytes_sent": 0, - "bytes_sent_gauge": 2521549010, + "bytes_sent_gauge": 50288527, "bytes_sent_rate_per_sec": 0, "interface_name": "wlp0s20f3", "key": "interface_name", "speed": 0, - "time_since_update": 0.3050692081451416}]} + "time_since_update": 0.5328564643859863}]} GET now ------- @@ -857,7 +841,7 @@ GET now Get plugin stats:: # curl http://localhost:61208/api/4/now - {"custom": "2026-01-29 08:18:44 CET", "iso": "2026-01-29T08:18:44+01:00"} + {"custom": "2026-01-30 19:45:11 CET", "iso": "2026-01-30T19:45:11+01:00"} Fields descriptions: @@ -867,7 +851,7 @@ Fields descriptions: Get a specific field:: # curl http://localhost:61208/api/4/now/iso - {"iso": "2026-01-29T08:18:44+01:00"} + {"iso": "2026-01-30T19:45:11+01:00"} GET npu ------- @@ -901,7 +885,7 @@ Get plugin stats:: "dpc": None, "guest": 0.0, "guest_nice": 0.0, - "idle": 25.0, + "idle": 40.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -909,14 +893,14 @@ Get plugin stats:: "nice": 0.0, "softirq": 0.0, "steal": 0.0, - "system": 4.0, - "total": 75.0, + "system": 11.0, + "total": 60.0, "user": 0.0}, {"cpu_number": 1, "dpc": None, "guest": 0.0, "guest_nice": 0.0, - "idle": 29.0, + "idle": 51.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -925,7 +909,7 @@ Get plugin stats:: "softirq": 0.0, "steal": 0.0, "system": 0.0, - "total": 71.0, + "total": 49.0, "user": 0.0}] Fields descriptions: @@ -957,12 +941,12 @@ Get plugin stats:: # curl http://localhost:61208/api/4/ports [{"description": "DefaultGateway", - "host": "192.168.1.1", + "host": "10.62.208.245", "indice": "port_0", "port": 0, "refresh": 30, "rtt_warning": None, - "status": 0.008446, + "status": 0.034779, "timeout": 3}] Fields descriptions: @@ -979,19 +963,19 @@ Fields descriptions: Get a specific field:: # curl http://localhost:61208/api/4/ports/host - {"host": ["192.168.1.1"]} + {"host": ["10.62.208.245"]} Get a specific item when field matches the given value:: - # curl http://localhost:61208/api/4/ports/host/value/192.168.1.1 - {"192.168.1.1": [{"description": "DefaultGateway", - "host": "192.168.1.1", - "indice": "port_0", - "port": 0, - "refresh": 30, - "rtt_warning": None, - "status": 0.008446, - "timeout": 3}]} + # curl http://localhost:61208/api/4/ports/host/value/10.62.208.245 + {"10.62.208.245": [{"description": "DefaultGateway", + "host": "10.62.208.245", + "indice": "port_0", + "port": 0, + "refresh": 30, + "rtt_warning": None, + "status": 0.034779, + "timeout": 3}]} GET processcount ---------------- @@ -999,7 +983,7 @@ GET processcount Get plugin stats:: # curl http://localhost:61208/api/4/processcount - {"pid_max": 0, "running": 1, "sleeping": 451, "thread": 2409, "total": 592} + {"pid_max": 0, "running": 1, "sleeping": 403, "thread": 1999, "total": 555} Fields descriptions: @@ -1012,7 +996,7 @@ Fields descriptions: Get a specific field:: # curl http://localhost:61208/api/4/processcount/total - {"total": 592} + {"total": 555} GET processlist --------------- @@ -1022,22 +1006,22 @@ Get plugin stats:: # curl http://localhost:61208/api/4/processlist [{"cmdline": ["/sbin/init", "splash"], "cpu_percent": 0.0, - "cpu_times": {"children_system": 11597.7, - "children_user": 47323.97, + "cpu_times": {"children_system": 15.5, + "children_user": 18.55, "iowait": 0.0, - "system": 22.02, - "user": 37.43}, + "system": 2.62, + "user": 3.5}, "gids": {"effective": 0, "real": 0, "saved": 0}, "io_counters": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "key": "pid", - "memory_info": {"data": 7282688, + "memory_info": {"data": 6815744, "dirty": 0, "lib": 0, - "rss": 11882496, - "shared": 5230592, + "rss": 16982016, + "shared": 9801728, "text": 45056, - "vms": 26632192}, - "memory_percent": 0.07235354019811552, + "vms": 26165248}, + "memory_percent": 0.10340493031515308, "name": "systemd", "nice": 0, "num_threads": 1, @@ -1050,7 +1034,7 @@ Get plugin stats:: "cpu_times": {"children_system": 0.0, "children_user": 0.0, "iowait": 0.0, - "system": 0.52, + "system": 0.03, "user": 0.0}, "gids": {"effective": 0, "real": 0, "saved": 0}, "io_counters": [0, 0, 0, 0, 0], @@ -1094,20 +1078,20 @@ GET programlist Get plugin stats:: # curl http://localhost:61208/api/4/programlist - [{"childrens": [1, 813665], + [{"childrens": [1, 5095], "cmdline": ["systemd"], "cpu_percent": 0, - "cpu_times": {"children_system": 12878.35, - "children_user": 55346.990000000005, - "system": 25.55, - "user": 64.05}, + "cpu_times": {"children_system": 18.56, + "children_user": 24.810000000000002, + "system": 3.18, + "user": 7.8}, "io_counters": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - "memory_info": {"data": 10772480, - "rss": 22867968, - "shared": 13119488, + "memory_info": {"data": 10776576, + "rss": 31371264, + "shared": 19591168, "text": 90112, - "vms": 49471488}, - "memory_percent": 0.13924502410412926, + "vms": 49475584}, + "memory_percent": 0.19102227720302883, "name": "systemd", "nice": 0, "nprocs": 2, @@ -1122,7 +1106,7 @@ Get plugin stats:: "cpu_times": {"children_system": 0.0, "children_user": 0.0, "iowait": 0.0, - "system": 0.52, + "system": 0.03, "user": 0.0}, "io_counters": [0, 0, 0, 0, 0], "memory_info": {"data": 0, @@ -1165,7 +1149,7 @@ GET psutilversion Get plugin stats:: # curl http://localhost:61208/api/4/psutilversion - "7.2.1" + "7.1.1" GET quicklook ------------- @@ -1175,17 +1159,17 @@ Get plugin stats:: # curl http://localhost:61208/api/4/quicklook {"cpu": 6.6, "cpu_hz": 4475000000.0, - "cpu_hz_current": 600809500.0000001, + "cpu_hz_current": 785183312.5000001, "cpu_log_core": 16, "cpu_name": "13th Gen Intel(R) Core(TM) i7-13620H", "cpu_phys_core": 10, - "load": 4.3, - "mem": 80.5, + "load": 5.2, + "mem": 74.9, "percpu": [{"cpu_number": 0, "dpc": None, "guest": 0.0, "guest_nice": 0.0, - "idle": 25.0, + "idle": 40.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1193,14 +1177,14 @@ Get plugin stats:: "nice": 0.0, "softirq": 0.0, "steal": 0.0, - "system": 4.0, - "total": 75.0, + "system": 11.0, + "total": 60.0, "user": 0.0}, {"cpu_number": 1, "dpc": None, "guest": 0.0, "guest_nice": 0.0, - "idle": 29.0, + "idle": 51.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1209,13 +1193,13 @@ Get plugin stats:: "softirq": 0.0, "steal": 0.0, "system": 0.0, - "total": 71.0, + "total": 49.0, "user": 0.0}, {"cpu_number": 2, "dpc": None, "guest": 0.0, "guest_nice": 0.0, - "idle": 28.0, + "idle": 51.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1224,13 +1208,13 @@ Get plugin stats:: "softirq": 0.0, "steal": 0.0, "system": 0.0, - "total": 72.0, - "user": 2.0}, + "total": 49.0, + "user": 0.0}, {"cpu_number": 3, "dpc": None, "guest": 0.0, "guest_nice": 0.0, - "idle": 29.0, + "idle": 52.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1239,13 +1223,13 @@ Get plugin stats:: "softirq": 0.0, "steal": 0.0, "system": 0.0, - "total": 71.0, + "total": 48.0, "user": 0.0}, {"cpu_number": 4, "dpc": None, "guest": 0.0, "guest_nice": 0.0, - "idle": 21.0, + "idle": 49.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1253,14 +1237,14 @@ Get plugin stats:: "nice": 0.0, "softirq": 0.0, "steal": 0.0, - "system": 8.0, - "total": 79.0, + "system": 0.0, + "total": 51.0, "user": 1.0}, {"cpu_number": 5, "dpc": None, "guest": 0.0, "guest_nice": 0.0, - "idle": 29.0, + "idle": 52.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1269,13 +1253,13 @@ Get plugin stats:: "softirq": 0.0, "steal": 0.0, "system": 0.0, - "total": 71.0, + "total": 48.0, "user": 0.0}, {"cpu_number": 6, "dpc": None, "guest": 0.0, "guest_nice": 0.0, - "idle": 17.0, + "idle": 47.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1283,29 +1267,14 @@ Get plugin stats:: "nice": 0.0, "softirq": 0.0, "steal": 0.0, - "system": 4.0, - "total": 83.0, - "user": 7.0}, + "system": 3.0, + "total": 53.0, + "user": 1.0}, {"cpu_number": 7, "dpc": None, "guest": 0.0, "guest_nice": 0.0, - "idle": 29.0, - "interrupt": None, - "iowait": 0.0, - "irq": 0.0, - "key": "cpu_number", - "nice": 0.0, - "softirq": 0.0, - "steal": 0.0, - "system": 0.0, - "total": 71.0, - "user": 0.0}, - {"cpu_number": 8, - "dpc": None, - "guest": 0.0, - "guest_nice": 0.0, - "idle": 25.0, + "idle": 17.0, "interrupt": None, "iowait": 2.0, "irq": 0.0, @@ -1313,14 +1282,14 @@ Get plugin stats:: "nice": 0.0, "softirq": 0.0, "steal": 0.0, - "system": 1.0, - "total": 75.0, - "user": 0.0}, - {"cpu_number": 9, + "system": 19.0, + "total": 83.0, + "user": 13.0}, + {"cpu_number": 8, "dpc": None, "guest": 0.0, "guest_nice": 0.0, - "idle": 29.0, + "idle": 50.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1329,13 +1298,28 @@ Get plugin stats:: "softirq": 0.0, "steal": 0.0, "system": 0.0, - "total": 71.0, + "total": 50.0, + "user": 1.0}, + {"cpu_number": 9, + "dpc": None, + "guest": 0.0, + "guest_nice": 0.0, + "idle": 51.0, + "interrupt": None, + "iowait": 0.0, + "irq": 0.0, + "key": "cpu_number", + "nice": 0.0, + "softirq": 0.0, + "steal": 0.0, + "system": 0.0, + "total": 49.0, "user": 0.0}, {"cpu_number": 10, "dpc": None, "guest": 0.0, "guest_nice": 0.0, - "idle": 29.0, + "idle": 50.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1344,13 +1328,13 @@ Get plugin stats:: "softirq": 0.0, "steal": 0.0, "system": 0.0, - "total": 71.0, + "total": 50.0, "user": 1.0}, {"cpu_number": 11, "dpc": None, "guest": 0.0, "guest_nice": 0.0, - "idle": 30.0, + "idle": 52.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1359,43 +1343,13 @@ Get plugin stats:: "softirq": 0.0, "steal": 0.0, "system": 0.0, - "total": 70.0, + "total": 48.0, "user": 0.0}, {"cpu_number": 12, "dpc": None, "guest": 0.0, "guest_nice": 0.0, - "idle": 29.0, - "interrupt": None, - "iowait": 0.0, - "irq": 0.0, - "key": "cpu_number", - "nice": 0.0, - "softirq": 0.0, - "steal": 0.0, - "system": 0.0, - "total": 71.0, - "user": 0.0}, - {"cpu_number": 13, - "dpc": None, - "guest": 0.0, - "guest_nice": 0.0, - "idle": 28.0, - "interrupt": None, - "iowait": 0.0, - "irq": 0.0, - "key": "cpu_number", - "nice": 0.0, - "softirq": 0.0, - "steal": 0.0, - "system": 0.0, - "total": 72.0, - "user": 0.0}, - {"cpu_number": 14, - "dpc": None, - "guest": 0.0, - "guest_nice": 0.0, - "idle": 30.0, + "idle": 51.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1404,13 +1358,13 @@ Get plugin stats:: "softirq": 0.0, "steal": 0.0, "system": 1.0, - "total": 70.0, + "total": 49.0, "user": 0.0}, - {"cpu_number": 15, + {"cpu_number": 13, "dpc": None, "guest": 0.0, "guest_nice": 0.0, - "idle": 30.0, + "idle": 51.0, "interrupt": None, "iowait": 0.0, "irq": 0.0, @@ -1419,9 +1373,39 @@ Get plugin stats:: "softirq": 0.0, "steal": 0.0, "system": 0.0, - "total": 70.0, + "total": 49.0, + "user": 0.0}, + {"cpu_number": 14, + "dpc": None, + "guest": 0.0, + "guest_nice": 0.0, + "idle": 50.0, + "interrupt": None, + "iowait": 0.0, + "irq": 0.0, + "key": "cpu_number", + "nice": 0.0, + "softirq": 0.0, + "steal": 0.0, + "system": 0.0, + "total": 50.0, + "user": 0.0}, + {"cpu_number": 15, + "dpc": None, + "guest": 0.0, + "guest_nice": 0.0, + "idle": 49.0, + "interrupt": None, + "iowait": 0.0, + "irq": 0.0, + "key": "cpu_number", + "nice": 0.0, + "softirq": 0.0, + "steal": 0.0, + "system": 1.0, + "total": 51.0, "user": 0.0}], - "swap": 99.6} + "swap": 0.0} Fields descriptions: @@ -1459,14 +1443,14 @@ Get plugin stats:: "label": "Ambient", "type": "temperature_core", "unit": "C", - "value": 35, + "value": 38, "warning": 0}, {"critical": None, "key": "label", "label": "Ambient 3", "type": "temperature_core", "unit": "C", - "value": 30, + "value": 32, "warning": 0}] Fields descriptions: @@ -1529,7 +1513,7 @@ Get a specific item when field matches the given value:: "label": "Ambient", "type": "temperature_core", "unit": "C", - "value": 35, + "value": 38, "warning": 0}]} GET smart @@ -1573,7 +1557,7 @@ GET uptime Get plugin stats:: # curl http://localhost:61208/api/4/uptime - "32 days, 15:52:40" + "21:48:58" GET version ----------- @@ -1618,8 +1602,8 @@ Get plugin stats:: # curl http://localhost:61208/api/4/wifi [{"key": "ssid", - "quality_level": -61.0, - "quality_link": 49.0, + "quality_level": -54.0, + "quality_link": 56.0, "ssid": "wlp0s20f3"}] Get a specific field:: @@ -1631,8 +1615,8 @@ Get a specific item when field matches the given value:: # curl http://localhost:61208/api/4/wifi/ssid/value/wlp0s20f3 {"wlp0s20f3": [{"key": "ssid", - "quality_level": -61.0, - "quality_link": 49.0, + "quality_level": -54.0, + "quality_link": 56.0, "ssid": "wlp0s20f3"}]} GET all stats @@ -1696,34 +1680,34 @@ GET stats history History of a plugin:: # curl http://localhost:61208/api/4/cpu/history - {"system": [["2026-01-29T07:18:45.516819+00:00", 3.0], - ["2026-01-29T07:18:46.585038+00:00", 0.8], - ["2026-01-29T07:18:47.617787+00:00", 0.8]], - "user": [["2026-01-29T07:18:45.516817+00:00", 4.4], - ["2026-01-29T07:18:46.585036+00:00", 1.3], - ["2026-01-29T07:18:47.617783+00:00", 1.3]]} + {"system": [["2026-01-30T18:45:12.086716+00:00", 3.3], + ["2026-01-30T18:45:13.186643+00:00", 1.5], + ["2026-01-30T18:45:14.227657+00:00", 1.5]], + "user": [["2026-01-30T18:45:12.086713+00:00", 3.9], + ["2026-01-30T18:45:13.186640+00:00", 1.7], + ["2026-01-30T18:45:14.227654+00:00", 1.7]]} Limit history to last 2 values:: # curl http://localhost:61208/api/4/cpu/history/2 - {"system": [["2026-01-29T07:18:46.585038+00:00", 0.8], - ["2026-01-29T07:18:47.617787+00:00", 0.8]], - "user": [["2026-01-29T07:18:46.585036+00:00", 1.3], - ["2026-01-29T07:18:47.617783+00:00", 1.3]]} + {"system": [["2026-01-30T18:45:13.186643+00:00", 1.5], + ["2026-01-30T18:45:14.227657+00:00", 1.5]], + "user": [["2026-01-30T18:45:13.186640+00:00", 1.7], + ["2026-01-30T18:45:14.227654+00:00", 1.7]]} History for a specific field:: # curl http://localhost:61208/api/4/cpu/system/history - {"system": [["2026-01-29T07:18:44.377180+00:00", 3.0], - ["2026-01-29T07:18:45.516819+00:00", 3.0], - ["2026-01-29T07:18:46.585038+00:00", 0.8], - ["2026-01-29T07:18:47.617787+00:00", 0.8]]} + {"system": [["2026-01-30T18:45:10.837497+00:00", 3.3], + ["2026-01-30T18:45:12.086716+00:00", 3.3], + ["2026-01-30T18:45:13.186643+00:00", 1.5], + ["2026-01-30T18:45:14.227657+00:00", 1.5]]} Limit history for a specific field to last 2 values:: # curl http://localhost:61208/api/4/cpu/system/history - {"system": [["2026-01-29T07:18:46.585038+00:00", 0.8], - ["2026-01-29T07:18:47.617787+00:00", 0.8]]} + {"system": [["2026-01-30T18:45:13.186643+00:00", 1.5], + ["2026-01-30T18:45:14.227657+00:00", 1.5]]} GET limits (used for thresholds) -------------------------------- diff --git a/docs/cmds.rst b/docs/cmds.rst index 6b9d0887..91ff6fa5 100644 --- a/docs/cmds.rst +++ b/docs/cmds.rst @@ -98,10 +98,6 @@ Command-Line Options start Glances in mean GPU mode -.. option:: --enable-history - - enable the history mode - .. option:: --disable-bold disable bold mode in the terminal diff --git a/docs/man/glances.1 b/docs/man/glances.1 index 5302d29c..84931726 100644 --- a/docs/man/glances.1 +++ b/docs/man/glances.1 @@ -29,7 +29,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "GLANCES" "1" "Jan 29, 2026" "4.5.0_dev1" "Glances" +.TH "GLANCES" "1" "Jan 30, 2026" "4.5.0_dev1" "Glances" .SH NAME glances \- An eye on your system .SH SYNOPSIS @@ -165,11 +165,6 @@ start Glances in mean GPU mode .UNINDENT .INDENT 0.0 .TP -.B \-\-enable\-history -enable the history mode -.UNINDENT -.INDENT 0.0 -.TP .B \-\-disable\-bold disable bold mode in the terminal .UNINDENT