mirror of
https://github.com/nicolargo/glances.git
synced 2026-06-20 11:38:42 -04:00
Update docs
This commit is contained in:
@@ -22,25 +22,25 @@ use the following code:
|
||||
>>> gl = api.GlancesAPI()
|
||||
>>> gl.cpu
|
||||
{'cpucore': 16,
|
||||
'ctx_switches': 1015851053,
|
||||
'ctx_switches': 1081162869,
|
||||
'guest': 0.0,
|
||||
'idle': 91.2,
|
||||
'interrupts': 859341127,
|
||||
'iowait': 0.4,
|
||||
'idle': 93.1,
|
||||
'interrupts': 907471396,
|
||||
'iowait': 0.5,
|
||||
'irq': 0.0,
|
||||
'nice': 0.0,
|
||||
'soft_interrupts': 362872854,
|
||||
'soft_interrupts': 383687418,
|
||||
'steal': 0.0,
|
||||
'syscalls': 0,
|
||||
'system': 5.4,
|
||||
'total': 13.0,
|
||||
'user': 3.0}
|
||||
'system': 4.4,
|
||||
'total': 6.1,
|
||||
'user': 2.0}
|
||||
>>> gl.cpu.get("total")
|
||||
13.0
|
||||
6.1
|
||||
>>> gl.mem.get("used")
|
||||
11730307096
|
||||
13140776984
|
||||
>>> gl.auto_unit(gl.mem.get("used"))
|
||||
10.9G
|
||||
12.2G
|
||||
|
||||
If the stats return a list of items (like network interfaces or processes), you can
|
||||
access them by their name:
|
||||
@@ -51,19 +51,19 @@ access them by their name:
|
||||
['wlp0s20f3', 'vethba20a37']
|
||||
>>> gl.network["wlp0s20f3"]
|
||||
{'alias': None,
|
||||
'bytes_all': 0,
|
||||
'bytes_all_gauge': 18885389314,
|
||||
'bytes_all_rate_per_sec': 0.0,
|
||||
'bytes_recv': 0,
|
||||
'bytes_recv_gauge': 16420882784,
|
||||
'bytes_recv_rate_per_sec': 0.0,
|
||||
'bytes_sent': 0,
|
||||
'bytes_sent_gauge': 2464506530,
|
||||
'bytes_sent_rate_per_sec': 0.0,
|
||||
'bytes_all': 250,
|
||||
'bytes_all_gauge': 19020572996,
|
||||
'bytes_all_rate_per_sec': 1412.0,
|
||||
'bytes_recv': 164,
|
||||
'bytes_recv_gauge': 16507803055,
|
||||
'bytes_recv_rate_per_sec': 926.0,
|
||||
'bytes_sent': 86,
|
||||
'bytes_sent_gauge': 2512769941,
|
||||
'bytes_sent_rate_per_sec': 486.0,
|
||||
'interface_name': 'wlp0s20f3',
|
||||
'key': 'interface_name',
|
||||
'speed': 0,
|
||||
'time_since_update': 0.2173159122467041}
|
||||
'time_since_update': 0.17694664001464844}
|
||||
|
||||
Init Glances Python API
|
||||
-----------------------
|
||||
@@ -95,30 +95,30 @@ Alert stats:
|
||||
>>> type(gl.alert)
|
||||
<class 'glances.plugins.alert.AlertPlugin'>
|
||||
>>> gl.alert
|
||||
[{'avg': 95.92570869990224,
|
||||
'begin': 1769266786,
|
||||
[{'avg': 99.71752139808788,
|
||||
'begin': 1769359723,
|
||||
'count': 2,
|
||||
'desc': '',
|
||||
'end': -1,
|
||||
'global_msg': 'High swap (paging) usage',
|
||||
'max': 95.92570869990224,
|
||||
'min': 95.92570869990224,
|
||||
'max': 99.71752139808788,
|
||||
'min': 99.71752139808788,
|
||||
'sort': 'memory_percent',
|
||||
'state': 'CRITICAL',
|
||||
'sum': 191.8514173998045,
|
||||
'top': ['code', 'code', 'Isolated Web Co'],
|
||||
'sum': 199.43504279617576,
|
||||
'top': ['code', 'code', 'code'],
|
||||
'type': 'MEMSWAP'},
|
||||
{'avg': 71.38267854400472,
|
||||
'begin': 1769266786,
|
||||
{'avg': 79.97414391893248,
|
||||
'begin': 1769359723,
|
||||
'count': 2,
|
||||
'desc': '',
|
||||
'end': -1,
|
||||
'global_msg': 'High swap (paging) usage',
|
||||
'max': 71.42684887137145,
|
||||
'min': 71.33850821663799,
|
||||
'max': 80.01532133874188,
|
||||
'min': 79.93296649912308,
|
||||
'sort': 'memory_percent',
|
||||
'state': 'WARNING',
|
||||
'sum': 142.76535708800944,
|
||||
'sum': 159.94828783786497,
|
||||
'top': [],
|
||||
'type': 'MEM'}]
|
||||
|
||||
@@ -156,12 +156,12 @@ Ports stats:
|
||||
<class 'glances.plugins.ports.PortsPlugin'>
|
||||
>>> gl.ports
|
||||
[{'description': 'DefaultGateway',
|
||||
'host': '192.168.0.254',
|
||||
'host': '192.168.1.1',
|
||||
'indice': 'port_0',
|
||||
'port': 0,
|
||||
'refresh': 30,
|
||||
'rtt_warning': None,
|
||||
'status': 0.011215,
|
||||
'status': 0.005,
|
||||
'timeout': 3}]
|
||||
|
||||
Ports fields description:
|
||||
@@ -202,14 +202,14 @@ Diskio stats:
|
||||
>>> gl.diskio.get("nvme0n1")
|
||||
{'disk_name': 'nvme0n1',
|
||||
'key': 'disk_name',
|
||||
'read_bytes': 57745099264,
|
||||
'read_count': 2171387,
|
||||
'read_bytes': 59929319936,
|
||||
'read_count': 2321710,
|
||||
'read_latency': 0,
|
||||
'read_time': 687746,
|
||||
'write_bytes': 75212284928,
|
||||
'write_count': 5535152,
|
||||
'read_time': 745355,
|
||||
'write_bytes': 80205739008,
|
||||
'write_count': 5979499,
|
||||
'write_latency': 0,
|
||||
'write_time': 5278413}
|
||||
'write_time': 5732100}
|
||||
|
||||
Diskio fields description:
|
||||
|
||||
@@ -320,11 +320,11 @@ Processcount stats:
|
||||
>>> type(gl.processcount)
|
||||
<class 'glances.plugins.processcount.ProcesscountPlugin'>
|
||||
>>> gl.processcount
|
||||
{'pid_max': 0, 'running': 1, 'sleeping': 441, 'thread': 2330, 'total': 594}
|
||||
{'pid_max': 0, 'running': 1, 'sleeping': 449, 'thread': 2419, 'total': 597}
|
||||
>>> gl.processcount.keys()
|
||||
['total', 'running', 'sleeping', 'thread', 'pid_max']
|
||||
>>> gl.processcount.get("total")
|
||||
594
|
||||
597
|
||||
|
||||
Processcount fields description:
|
||||
|
||||
@@ -351,7 +351,17 @@ Gpu stats:
|
||||
>>> type(gl.gpu)
|
||||
<class 'glances.plugins.gpu.GpuPlugin'>
|
||||
>>> gl.gpu
|
||||
[]
|
||||
Return a dict of dict with key=<gpu_id>
|
||||
>>> gl.gpu.keys()
|
||||
['amd0']
|
||||
>>> gl.gpu.get("amd0")
|
||||
{'fan_speed': None,
|
||||
'gpu_id': 'amd0',
|
||||
'key': 'gpu_id',
|
||||
'mem': 1,
|
||||
'name': 'AMD GPU',
|
||||
'proc': 10,
|
||||
'temperature': 24}
|
||||
|
||||
Gpu fields description:
|
||||
|
||||
@@ -389,7 +399,17 @@ Npu stats:
|
||||
>>> type(gl.npu)
|
||||
<class 'glances.plugins.npu.NpuPlugin'>
|
||||
>>> gl.npu
|
||||
[]
|
||||
[{'freq': 53,
|
||||
'freq_current': 800000000,
|
||||
'freq_max': 1500000000,
|
||||
'load': None,
|
||||
'mem': None,
|
||||
'memory_total': None,
|
||||
'memory_used': None,
|
||||
'name': 'AMD NPU (Strix Point)',
|
||||
'npu_id': 'amd_1',
|
||||
'power': None,
|
||||
'temperature': None}]
|
||||
|
||||
Npu fields description:
|
||||
|
||||
@@ -437,7 +457,7 @@ Percpu stats:
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 35.0,
|
||||
'idle': 27.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
@@ -446,7 +466,7 @@ Percpu stats:
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 9.0,
|
||||
'total': 65.0,
|
||||
'total': 73.0,
|
||||
'user': 0.0}
|
||||
|
||||
Percpu fields description:
|
||||
@@ -537,18 +557,18 @@ Network stats:
|
||||
>>> gl.network.get("wlp0s20f3")
|
||||
{'alias': None,
|
||||
'bytes_all': 0,
|
||||
'bytes_all_gauge': 18885389314,
|
||||
'bytes_all_gauge': 19020572996,
|
||||
'bytes_all_rate_per_sec': 0.0,
|
||||
'bytes_recv': 0,
|
||||
'bytes_recv_gauge': 16420882784,
|
||||
'bytes_recv_gauge': 16507803055,
|
||||
'bytes_recv_rate_per_sec': 0.0,
|
||||
'bytes_sent': 0,
|
||||
'bytes_sent_gauge': 2464506530,
|
||||
'bytes_sent_gauge': 2512769941,
|
||||
'bytes_sent_rate_per_sec': 0.0,
|
||||
'interface_name': 'wlp0s20f3',
|
||||
'key': 'interface_name',
|
||||
'speed': 0,
|
||||
'time_since_update': 0.003389120101928711}
|
||||
'time_since_update': 0.002484560012817383}
|
||||
|
||||
Network fields description:
|
||||
|
||||
@@ -589,23 +609,23 @@ Cpu stats:
|
||||
<class 'glances.plugins.cpu.CpuPlugin'>
|
||||
>>> gl.cpu
|
||||
{'cpucore': 16,
|
||||
'ctx_switches': 1015851053,
|
||||
'ctx_switches': 1081162869,
|
||||
'guest': 0.0,
|
||||
'idle': 91.2,
|
||||
'interrupts': 859341127,
|
||||
'iowait': 0.4,
|
||||
'idle': 93.1,
|
||||
'interrupts': 907471396,
|
||||
'iowait': 0.5,
|
||||
'irq': 0.0,
|
||||
'nice': 0.0,
|
||||
'soft_interrupts': 362872854,
|
||||
'soft_interrupts': 383687418,
|
||||
'steal': 0.0,
|
||||
'syscalls': 0,
|
||||
'system': 5.4,
|
||||
'total': 13.0,
|
||||
'user': 3.0}
|
||||
'system': 4.4,
|
||||
'total': 6.1,
|
||||
'user': 2.0}
|
||||
>>> gl.cpu.keys()
|
||||
['total', 'user', 'nice', 'system', 'idle', 'iowait', 'irq', 'steal', 'guest', 'ctx_switches', 'interrupts', 'soft_interrupts', 'syscalls', 'cpucore']
|
||||
>>> gl.cpu.get("total")
|
||||
13.0
|
||||
6.1
|
||||
|
||||
Cpu fields description:
|
||||
|
||||
@@ -677,7 +697,7 @@ Amps stats:
|
||||
'refresh': 3.0,
|
||||
'regex': True,
|
||||
'result': None,
|
||||
'timer': 0.3187551498413086}
|
||||
'timer': 0.19056487083435059}
|
||||
|
||||
Amps fields description:
|
||||
|
||||
@@ -708,32 +728,32 @@ Processlist stats:
|
||||
>>> gl.processlist
|
||||
Return a dict of dict with key=<pid>
|
||||
>>> 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, 3181, 3182, 3186, 3191, 3192, 3240, 3382, 3383, 3670, 3671, 3695, 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, 1300201, 1304473, 1314746, 1318703, 1438249, 1438258, 1439516, 1482241, 1485933, 1486694, 1498986, 1499967, 1500040, 1500326, 1525118, 1525294, 1527944, 1528280, 1532016, 1534204, 1534935, 1535982, 1537632, 1540951, 1541077, 1541078, 1541147, 1543414, 1545828, 1546058, 1547107, 1547208, 1547948, 1548050, 1548919, 1549566, 1550162, 1550198, 1550412, 1553035, 1553406, 1555903, 1555905, 1555940, 1556357, 1556358, 1556359, 1556916, 1557037, 1557038, 1557229, 1557947, 1558218, 1558369, 1559446, 1559583, 1559615, 1559719, 1560951, 1561060, 1561061, 1561062, 1561063, 1561064, 1561065, 1561186, 1561408, 1561565, 1561936, 1562008, 1562196, 1562687, 1562771, 1562922, 1562950, 1563177, 1563271, 1563618, 1563881, 1563884, 1563885, 1563888, 1563905]
|
||||
[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, 3181, 3182, 3186, 3191, 3192, 3240, 3382, 3383, 3670, 3671, 3695, 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, 1314746, 1318703, 1438249, 1438258, 1439516, 1485933, 1486694, 1559615, 1570874, 1576682, 1584189, 1598703, 1600590, 1601558, 1601671, 1601800, 1602059, 1609895, 1611147, 1611940, 1615476, 1616249, 1619957, 1621252, 1621982, 1623991, 1624242, 1625935, 1627199, 1628092, 1628569, 1628649, 1629504, 1629545, 1630412, 1637312, 1638007, 1638999, 1640165, 1640178, 1640179, 1640211, 1640456, 1640459, 1642237, 1642829, 1642993, 1645601, 1645609, 1647309, 1650451, 1651847, 1651956, 1651958, 1654986, 1655735, 1656222, 1656414, 1656764, 1657068, 1657431, 1657716, 1658892, 1659981, 1660136, 1660137, 1660138, 1660139, 1660140, 1660141, 1660158, 1660209, 1660582, 1660971, 1660998, 1660999, 1661032, 1661089, 1661478, 1661934, 1664237, 1664242, 1665968, 1665971, 1665972, 1665975]
|
||||
>>> gl.processlist.get("1")
|
||||
{'cmdline': ['/sbin/init', 'splash'],
|
||||
'cpu_percent': 0.0,
|
||||
'cpu_times': {'children_system': 11430.29,
|
||||
'children_user': 47200.42,
|
||||
'cpu_times': {'children_system': 11434.28,
|
||||
'children_user': 47203.22,
|
||||
'iowait': 0.0,
|
||||
'system': 19.1,
|
||||
'user': 31.53},
|
||||
'system': 19.94,
|
||||
'user': 32.47},
|
||||
'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,
|
||||
'dirty': 0,
|
||||
'lib': 0,
|
||||
'rss': 12267520,
|
||||
'shared': 5718016,
|
||||
'rss': 11141120,
|
||||
'shared': 4952064,
|
||||
'text': 45056,
|
||||
'vms': 26632192},
|
||||
'memory_percent': 0.07469798445134641,
|
||||
'memory_percent': 0.06783923796583047,
|
||||
'name': 'systemd',
|
||||
'nice': 0,
|
||||
'num_threads': 1,
|
||||
'pid': 1,
|
||||
'status': 'S',
|
||||
'time_since_update': 0.6580536365509033,
|
||||
'time_since_update': 0.4083402156829834,
|
||||
'username': 'root'}
|
||||
|
||||
Processlist fields description:
|
||||
@@ -820,13 +840,13 @@ Load stats:
|
||||
<class 'glances.plugins.load.LoadPlugin'>
|
||||
>>> gl.load
|
||||
{'cpucore': 16,
|
||||
'min1': 1.39501953125,
|
||||
'min15': 1.00927734375,
|
||||
'min5': 1.0234375}
|
||||
'min1': 0.712890625,
|
||||
'min15': 0.5927734375,
|
||||
'min5': 0.60302734375}
|
||||
>>> gl.load.keys()
|
||||
['min1', 'min5', 'min15', 'cpucore']
|
||||
>>> gl.load.get("min1")
|
||||
1.39501953125
|
||||
0.712890625
|
||||
|
||||
Load fields description:
|
||||
|
||||
@@ -903,7 +923,7 @@ Uptime stats:
|
||||
>>> type(gl.uptime)
|
||||
<class 'glances.plugins.uptime.UptimePlugin'>
|
||||
>>> gl.uptime
|
||||
'27 days, 23:33:44'
|
||||
'29 days, 1:22:39'
|
||||
|
||||
Uptime limits:
|
||||
|
||||
@@ -922,11 +942,11 @@ Now stats:
|
||||
>>> type(gl.now)
|
||||
<class 'glances.plugins.now.NowPlugin'>
|
||||
>>> gl.now
|
||||
{'custom': '2026-01-24 15:59:47 CET', 'iso': '2026-01-24T15:59:47+01:00'}
|
||||
{'custom': '2026-01-25 17:48:43 CET', 'iso': '2026-01-25T17:48:43+01:00'}
|
||||
>>> gl.now.keys()
|
||||
['iso', 'custom']
|
||||
>>> gl.now.get("iso")
|
||||
'2026-01-24T15:59:47+01:00'
|
||||
'2026-01-25T17:48:43+01:00'
|
||||
|
||||
Now fields description:
|
||||
|
||||
@@ -955,14 +975,14 @@ Fs stats:
|
||||
['/', '/zsfpool']
|
||||
>>> gl.fs.get("/")
|
||||
{'device_name': '/dev/mapper/ubuntu--vg-ubuntu--lv',
|
||||
'free': 578632065024,
|
||||
'free': 578540687360,
|
||||
'fs_type': 'ext4',
|
||||
'key': 'mnt_point',
|
||||
'mnt_point': '/',
|
||||
'options': 'rw,relatime',
|
||||
'percent': 39.3,
|
||||
'size': 1003736440832,
|
||||
'used': 374041870336}
|
||||
'used': 374133248000}
|
||||
|
||||
Fs fields description:
|
||||
|
||||
@@ -1002,8 +1022,8 @@ Wifi stats:
|
||||
['wlp0s20f3']
|
||||
>>> gl.wifi.get("wlp0s20f3")
|
||||
{'key': 'ssid',
|
||||
'quality_level': -68.0,
|
||||
'quality_link': 42.0,
|
||||
'quality_level': -57.0,
|
||||
'quality_link': 53.0,
|
||||
'ssid': 'wlp0s20f3'}
|
||||
|
||||
Wifi limits:
|
||||
@@ -1065,7 +1085,7 @@ Version stats:
|
||||
>>> type(gl.version)
|
||||
<class 'glances.plugins.version.VersionPlugin'>
|
||||
>>> gl.version
|
||||
'4.4.2_dev1'
|
||||
'4.5.0_dev1'
|
||||
|
||||
Version limits:
|
||||
|
||||
@@ -1131,16 +1151,16 @@ Mem stats:
|
||||
>>> type(gl.mem)
|
||||
<class 'glances.plugins.mem.MemPlugin'>
|
||||
>>> gl.mem
|
||||
{'active': 7158104064,
|
||||
'available': 4692518888,
|
||||
'buffers': 199892992,
|
||||
'cached': 4171627368,
|
||||
'free': 1226715136,
|
||||
'inactive': 5936738304,
|
||||
'percent': 71.4,
|
||||
'shared': 801046528,
|
||||
{'active': 3400482816,
|
||||
'available': 3282049000,
|
||||
'buffers': 170029056,
|
||||
'cached': 3658005352,
|
||||
'free': 536829952,
|
||||
'inactive': 10466312192,
|
||||
'percent': 80.0,
|
||||
'shared': 859062272,
|
||||
'total': 16422825984,
|
||||
'used': 11730307096}
|
||||
'used': 13140776984}
|
||||
>>> gl.mem.keys()
|
||||
['total', 'available', 'percent', 'used', 'free', 'active', 'inactive', 'buffers', 'cached', 'shared']
|
||||
>>> gl.mem.get("total")
|
||||
@@ -1210,19 +1230,19 @@ Quicklook stats:
|
||||
>>> type(gl.quicklook)
|
||||
<class 'glances.plugins.quicklook.QuicklookPlugin'>
|
||||
>>> gl.quicklook
|
||||
{'cpu': 13.0,
|
||||
{'cpu': 6.1,
|
||||
'cpu_hz': 4475000000.0,
|
||||
'cpu_hz_current': 621277312.5,
|
||||
'cpu_hz_current': 804293625.0,
|
||||
'cpu_log_core': 16,
|
||||
'cpu_name': '13th Gen Intel(R) Core(TM) i7-13620H',
|
||||
'cpu_phys_core': 10,
|
||||
'load': 6.3,
|
||||
'mem': 71.4,
|
||||
'load': 3.7,
|
||||
'mem': 80.0,
|
||||
'percpu': [{'cpu_number': 0,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 35.0,
|
||||
'idle': 27.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
@@ -1231,28 +1251,28 @@ Quicklook stats:
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 9.0,
|
||||
'total': 65.0,
|
||||
'total': 73.0,
|
||||
'user': 0.0},
|
||||
{'cpu_number': 1,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 44.0,
|
||||
'idle': 37.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
'key': 'cpu_number',
|
||||
'nice': 0.0,
|
||||
'softirq': 1.0,
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 1.0,
|
||||
'total': 56.0,
|
||||
'user': 0.0},
|
||||
'total': 63.0,
|
||||
'user': 1.0},
|
||||
{'cpu_number': 2,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 46.0,
|
||||
'idle': 37.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
@@ -1261,13 +1281,13 @@ Quicklook stats:
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 0.0,
|
||||
'total': 54.0,
|
||||
'user': 0.0},
|
||||
'total': 63.0,
|
||||
'user': 1.0},
|
||||
{'cpu_number': 3,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 46.0,
|
||||
'idle': 38.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
@@ -1276,28 +1296,28 @@ Quicklook stats:
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 0.0,
|
||||
'total': 54.0,
|
||||
'total': 62.0,
|
||||
'user': 0.0},
|
||||
{'cpu_number': 4,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 18.0,
|
||||
'idle': 12.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'iowait': 1.0,
|
||||
'irq': 0.0,
|
||||
'key': 'cpu_number',
|
||||
'nice': 0.0,
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 3.0,
|
||||
'total': 82.0,
|
||||
'user': 24.0},
|
||||
'system': 14.0,
|
||||
'total': 88.0,
|
||||
'user': 6.0},
|
||||
{'cpu_number': 5,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 28.0,
|
||||
'idle': 37.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
@@ -1305,14 +1325,14 @@ Quicklook stats:
|
||||
'nice': 0.0,
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 4.0,
|
||||
'total': 72.0,
|
||||
'user': 14.0},
|
||||
'system': 0.0,
|
||||
'total': 63.0,
|
||||
'user': 0.0},
|
||||
{'cpu_number': 6,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 19.0,
|
||||
'idle': 37.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
@@ -1320,14 +1340,14 @@ Quicklook stats:
|
||||
'nice': 0.0,
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 8.0,
|
||||
'total': 81.0,
|
||||
'user': 17.0},
|
||||
'system': 0.0,
|
||||
'total': 63.0,
|
||||
'user': 0.0},
|
||||
{'cpu_number': 7,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 43.0,
|
||||
'idle': 37.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
@@ -1335,14 +1355,14 @@ Quicklook stats:
|
||||
'nice': 0.0,
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 2.0,
|
||||
'total': 57.0,
|
||||
'system': 0.0,
|
||||
'total': 63.0,
|
||||
'user': 0.0},
|
||||
{'cpu_number': 8,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 40.0,
|
||||
'idle': 36.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
@@ -1350,14 +1370,14 @@ Quicklook stats:
|
||||
'nice': 0.0,
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 5.0,
|
||||
'total': 60.0,
|
||||
'system': 0.0,
|
||||
'total': 64.0,
|
||||
'user': 1.0},
|
||||
{'cpu_number': 9,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 46.0,
|
||||
'idle': 37.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
@@ -1366,13 +1386,13 @@ Quicklook stats:
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 0.0,
|
||||
'total': 54.0,
|
||||
'user': 1.0},
|
||||
'total': 63.0,
|
||||
'user': 0.0},
|
||||
{'cpu_number': 10,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 44.0,
|
||||
'idle': 36.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
@@ -1381,13 +1401,13 @@ Quicklook stats:
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 0.0,
|
||||
'total': 56.0,
|
||||
'total': 64.0,
|
||||
'user': 1.0},
|
||||
{'cpu_number': 11,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 46.0,
|
||||
'idle': 37.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
@@ -1396,13 +1416,13 @@ Quicklook stats:
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 0.0,
|
||||
'total': 54.0,
|
||||
'total': 63.0,
|
||||
'user': 0.0},
|
||||
{'cpu_number': 12,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 44.0,
|
||||
'idle': 36.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
@@ -1411,13 +1431,13 @@ Quicklook stats:
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 1.0,
|
||||
'total': 56.0,
|
||||
'user': 2.0},
|
||||
'total': 64.0,
|
||||
'user': 1.0},
|
||||
{'cpu_number': 13,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 45.0,
|
||||
'idle': 36.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
@@ -1426,13 +1446,13 @@ Quicklook stats:
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 0.0,
|
||||
'total': 55.0,
|
||||
'user': 0.0},
|
||||
'total': 64.0,
|
||||
'user': 1.0},
|
||||
{'cpu_number': 14,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 45.0,
|
||||
'idle': 37.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
@@ -1441,13 +1461,13 @@ Quicklook stats:
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 1.0,
|
||||
'total': 55.0,
|
||||
'user': 1.0},
|
||||
'total': 63.0,
|
||||
'user': 0.0},
|
||||
{'cpu_number': 15,
|
||||
'dpc': None,
|
||||
'guest': 0.0,
|
||||
'guest_nice': 0.0,
|
||||
'idle': 45.0,
|
||||
'idle': 37.0,
|
||||
'interrupt': None,
|
||||
'iowait': 0.0,
|
||||
'irq': 0.0,
|
||||
@@ -1456,9 +1476,9 @@ Quicklook stats:
|
||||
'softirq': 0.0,
|
||||
'steal': 0.0,
|
||||
'system': 0.0,
|
||||
'total': 55.0,
|
||||
'total': 63.0,
|
||||
'user': 0.0}],
|
||||
'swap': 95.9}
|
||||
'swap': 99.7}
|
||||
>>> 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")
|
||||
@@ -1508,13 +1528,13 @@ Memswap stats:
|
||||
>>> type(gl.memswap)
|
||||
<class 'glances.plugins.memswap.MemswapPlugin'>
|
||||
>>> gl.memswap
|
||||
{'free': 174989312,
|
||||
'percent': 95.9,
|
||||
'sin': 3156148224,
|
||||
'sout': 12925386752,
|
||||
'time_since_update': 0.6026771068572998,
|
||||
{'free': 12132352,
|
||||
'percent': 99.7,
|
||||
'sin': 3607220224,
|
||||
'sout': 13537800192,
|
||||
'time_since_update': 0.39128684997558594,
|
||||
'total': 4294963200,
|
||||
'used': 4119973888}
|
||||
'used': 4282830848}
|
||||
>>> gl.memswap.keys()
|
||||
['total', 'used', 'free', 'percent', 'sin', 'sout', 'time_since_update']
|
||||
>>> gl.memswap.get("total")
|
||||
@@ -1549,10 +1569,10 @@ Use auto_unit() function to generate a human-readable string with the unit:
|
||||
.. code-block:: python
|
||||
|
||||
>>> gl.mem.get("used")
|
||||
11730307096
|
||||
13140776984
|
||||
|
||||
>>> gl.auto_unit(gl.mem.get("used"))
|
||||
10.9G
|
||||
12.2G
|
||||
|
||||
|
||||
Args:
|
||||
@@ -1578,7 +1598,7 @@ Use bar() function to generate a bar:
|
||||
.. code-block:: python
|
||||
|
||||
>>> gl.bar(gl.mem["percent"])
|
||||
■■■■■■■■■■■■■□□□□□
|
||||
■■■■■■■■■■■■■■□□□□
|
||||
|
||||
|
||||
Args:
|
||||
@@ -1608,7 +1628,7 @@ Use top_process() function to generate a list of top processes sorted by CPU or
|
||||
.. code-block:: python
|
||||
|
||||
>>> gl.top_process()
|
||||
[{'io_counters': [70178816, 131072, 70178816, 131072, 1], 'memory_info': {'rss': 656224256, 'vms': 1519223476224, 'shared': 93794304, 'text': 148733952, 'lib': 0, 'data': 2070220800, 'dirty': 0}, 'status': 'S', 'cpu_percent': 8.1, 'nice': 0, 'cpu_times': {'user': 6061.16, 'system': 462.48, 'children_user': 0.0, 'children_system': 0.0, 'iowait': 0.0}, 'pid': 1046473, 'gids': {'real': 1000, 'effective': 1000, 'saved': 1000}, 'num_threads': 26, 'name': 'code', 'memory_percent': 3.9958059388763476, 'key': 'pid', 'time_since_update': 0.6580536365509033, 'cmdline': ['/snap/code/211/usr/share/code/code', '--type=zygote', '--no-sandbox'], 'username': 'nicolargo'}, {'io_counters': [1669373952, 911003648, 1669373952, 910999552, 1], 'memory_info': {'rss': 1128423424, 'vms': 1501662539776, 'shared': 40337408, 'text': 148733952, 'lib': 0, 'data': 2895360000, 'dirty': 0}, 'status': 'S', 'cpu_percent': 4.9, 'nice': 0, 'cpu_times': {'user': 2697.19, 'system': 1039.83, 'children_user': 851.55, 'children_system': 870.05, 'iowait': 0.0}, 'pid': 1046561, 'gids': {'real': 1000, 'effective': 1000, 'saved': 1000}, 'num_threads': 23, 'name': 'code', 'memory_percent': 6.871067288293567, 'key': 'pid', 'time_since_update': 0.6580536365509033, 'cmdline': ['/proc/self/exe', '--type=utility', '--utility-sub-type=node.mojom.NodeService', '--lang=en-US', '--service-sandbox-type=none', '--no-sandbox', '--dns-result-order=ipv4first', '--experimental-network-inspection', '--inspect-port=0', '--crashpad-handler-pid=1046373', '--enable-crash-reporter=864d4bb7-dd20-4851-830f-29e81dd93517,no_channel', '--user-data-dir=/home/nicolargo/.config/Code', '--standard-schemes=vscode-webview,vscode-file', '--secure-schemes=vscode-webview,vscode-file', '--cors-schemes=vscode-webview,vscode-file', '--fetch-schemes=vscode-webview,vscode-file', '--service-worker-schemes=vscode-webview', '--code-cache-schemes=vscode-webview,vscode-file', '--shared-files=v8_context_snapshot_data:100', '--field-trial-handle=3,i,17809207692588680227,6048650121133861189,262144', '--enable-features=DocumentPolicyIncludeJSCallStacksInCrashReports,EarlyEstablishGpuChannel,EstablishGpuChannelAsync', '--disable-features=CalculateNativeWinOcclusion,FontationsLinuxSystemFonts,ScreenAIOCREnabled,SpareRendererForSitePerProcess', '--variations-seed-version'], 'username': 'nicolargo'}, {'io_counters': [73125888, 21639168, 73125888, 21639168, 1], 'memory_info': {'rss': 241561600, 'vms': 76465262592, 'shared': 52674560, 'text': 61407232, 'lib': 0, 'data': 75265404928, 'dirty': 0}, 'status': 'S', 'cpu_percent': 3.2, 'nice': 0, 'cpu_times': {'user': 274.73, 'system': 119.5, 'children_user': 2.08, 'children_system': 1.18, 'iowait': 0.0}, 'pid': 1182609, 'gids': {'real': 1000, 'effective': 1000, 'saved': 1000}, 'num_threads': 14, 'name': 'claude', 'memory_percent': 1.4708893599392838, 'key': 'pid', 'time_since_update': 0.6580536365509033, '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', '--mcp-config', '{"mcpServers":{"claude-vscode":{"type":"sdk","name":"claude-vscode"}}}', '--setting-sources', 'user,project,local', '--permission-mode', 'default', '--include-partial-messages', '--debug', '--debug-to-stderr', '--enable-auth-status'], 'username': 'nicolargo'}]
|
||||
[{'io_counters': [1789727744, 1042509824, 1789727744, 1042509824, 1], 'memory_info': {'rss': 1376223232, 'vms': 1501663428608, 'shared': 38875136, 'text': 148733952, 'lib': 0, 'data': 3162791936, 'dirty': 0}, 'pid': 1046561, 'name': 'code', 'memory_percent': 8.379941633314452, 'num_threads': 23, 'nice': 0, 'gids': {'real': 1000, 'effective': 1000, 'saved': 1000}, 'cpu_times': {'user': 3052.89, 'system': 1193.84, 'children_user': 947.66, 'children_system': 1015.48, 'iowait': 0.0}, 'status': 'S', 'cpu_percent': 2.6, 'key': 'pid', 'time_since_update': 0.4083402156829834, 'cmdline': ['/proc/self/exe', '--type=utility', '--utility-sub-type=node.mojom.NodeService', '--lang=en-US', '--service-sandbox-type=none', '--no-sandbox', '--dns-result-order=ipv4first', '--experimental-network-inspection', '--inspect-port=0', '--crashpad-handler-pid=1046373', '--enable-crash-reporter=864d4bb7-dd20-4851-830f-29e81dd93517,no_channel', '--user-data-dir=/home/nicolargo/.config/Code', '--standard-schemes=vscode-webview,vscode-file', '--secure-schemes=vscode-webview,vscode-file', '--cors-schemes=vscode-webview,vscode-file', '--fetch-schemes=vscode-webview,vscode-file', '--service-worker-schemes=vscode-webview', '--code-cache-schemes=vscode-webview,vscode-file', '--shared-files=v8_context_snapshot_data:100', '--field-trial-handle=3,i,17809207692588680227,6048650121133861189,262144', '--enable-features=DocumentPolicyIncludeJSCallStacksInCrashReports,EarlyEstablishGpuChannel,EstablishGpuChannelAsync', '--disable-features=CalculateNativeWinOcclusion,FontationsLinuxSystemFonts,ScreenAIOCREnabled,SpareRendererForSitePerProcess', '--variations-seed-version'], 'username': 'nicolargo'}, {'io_counters': [69005312, 0, 69005312, 0, 1], 'memory_info': {'rss': 523079680, 'vms': 4503519232, 'shared': 104763392, 'text': 708608, 'lib': 0, 'data': 801980416, 'dirty': 0}, 'pid': 816205, 'name': 'Isolated Web Co', 'memory_percent': 3.185077163392052, 'num_threads': 33, 'nice': 0, 'gids': {'real': 1000, 'effective': 1000, 'saved': 1000}, 'cpu_times': {'user': 1491.37, 'system': 167.85, 'children_user': 0.0, 'children_system': 0.0, 'iowait': 0.0}, 'status': 'S', 'cpu_percent': 2.6, 'key': 'pid', 'time_since_update': 0.4083402156829834, 'cmdline': ['/snap/firefox/7559/usr/lib/firefox/firefox', '-contentproc', '-isForBrowser', '-prefsHandle', '0:45796', '-prefMapHandle', '1:280269', '-jsInitHandle', '2:223356', '-parentBuildID', '20251217233610', '-sandboxReporter', '3', '-chrootClient', '4', '-ipcHandle', '5', '-initialChannelId', '{9d32b0c3-0383-4497-8d41-70450152d0b9}', '-parentPid', '814875', '-crashReporter', '6', '-crashHelper', '7', '-greomni', '/snap/firefox/7559/usr/lib/firefox/omni.ja', '-appomni', '/snap/firefox/7559/usr/lib/firefox/browser/omni.ja', '-appDir', '/snap/firefox/7559/usr/lib/firefox/browser', '11', 'tab'], 'username': 'nicolargo'}, {'io_counters': [2899968, 21729280, 2899968, 21729280, 1], 'memory_info': {'rss': 223498240, 'vms': 76846993408, 'shared': 50962432, 'text': 61407232, 'lib': 0, 'data': 74437554176, 'dirty': 0}, 'pid': 1182137, 'name': 'claude', 'memory_percent': 1.3609000072079191, 'num_threads': 17, 'nice': 0, 'gids': {'real': 1000, 'effective': 1000, 'saved': 1000}, 'cpu_times': {'user': 234.97, 'system': 105.63, 'children_user': 2.37, 'children_system': 1.9, 'iowait': 0.0}, 'status': 'S', 'cpu_percent': 2.6, 'key': 'pid', 'time_since_update': 0.4083402156829834, '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', '--mcp-config', '{"mcpServers":{"claude-vscode":{"type":"sdk","name":"claude-vscode"}}}', '--setting-sources', 'user,project,local', '--permission-mode', 'default', '--include-partial-messages', '--debug', '--debug-to-stderr', '--enable-auth-status'], 'username': 'nicolargo'}]
|
||||
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user