Advertisement
FengShui

glances --issue

Nov 4th, 2023
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.32 KB | Fixit | 0 0
  1. # glances --issue
  2. ===============================================================================
  3. Glances 3.4.0.3 (/app/glances/__init__.py)
  4. Python 3.11.6 (/venv/bin/python3)
  5. PsUtil 5.9.5 (/venv/lib/python3.11/site-packages/psutil/__init__.py)
  6. ===============================================================================
  7. alert [OK] 0.00033s
  8. []
  9. amps [OK] 0.00009s
  10. []
  11. cloud [OK] 0.00006s
  12. {}
  13. connections [OK] 0.02624s
  14. {'ESTABLISHED': 37,
  15. 'LISTEN': 49,
  16. 'SYN_RECV': 0,
  17. 'SYN_SENT': 0,
  18. 'initiated': 0,
  19. 'net_connections_enabled': True,
  20. 'nf_conntrack_count': 284.0,
  21. 'nf_conntrack_enabled': True,
  22. 'nf_conntrack_max': 262144.0,
  23. 'nf_conntrack_percent': 0.10833740234375,
  24. 'terminated': 0}
  25. containers [OK] 0.02990s key=name
  26. [{'Command': ['/bin/sh', '-c', '/venv/bin/python3 -m glances -C /etc/glances.conf $GLANCES_OPT'],
  27. 'Created': '2023-11-04T19:31:54.158452181Z',
  28. 'Id': '2ddd9daaa282b4ce537cd916eec85fdef5ab13b1895d512988cd455687c34f44',
  29. 'Image': ['nicolargo/glances:latest-full'],
  30. 'Status': 'running',
  31. 'Uptime': '2 mins',
  32. 'cpu_percent': 2.4707068,
  33. 'engine': 'docker',
  34. 'io_r': None,
  35. 'io_w': None,
  36. 'key': 'name',
  37. 'memory_usage': 71479296,
  38. 'name': 'glances',
  39. 'network_rx': None,
  40. 'network_tx': None}, ...]
  41. core [OK] 0.00140s
  42. {'log': 4, 'phys': 4}
  43. cpu [OK] 0.00127s
  44. {'cpucore': 4,
  45. 'ctx_switches': 25157,
  46. 'guest': 0.0,
  47. 'guest_nice': 0.0,
  48. 'idle': 65.9,
  49. 'interrupts': 38056,
  50. 'iowait': 0.3,
  51. 'irq': 0.0,
  52. 'nice': 0.0,
  53. 'soft_interrupts': 28164,
  54. 'softirq': 0.5,
  55. 'steal': 0.0,
  56. 'syscalls': 0,
  57. 'system': 5.2,
  58. 'time_since_update': 3.1365244388580322,
  59. 'total': 33.8,
  60. 'user': 28.1}
  61. diskio [OK] 0.00543s key=disk_name
  62. [{'disk_name': 'nvme0n1',
  63. 'key': 'disk_name',
  64. 'read_bytes': 13991936,
  65. 'read_count': 369,
  66. 'time_since_update': 3.1390328407287598,
  67. 'write_bytes': 0,
  68. 'write_count': 0}, ...]
  69. folders [OK] 0.00007s
  70. []
  71. fs [OK] 0.00160s key=mnt_point
  72. [{'device_name': '/dev/mapper/cachedev_0',
  73. 'free': 15743168577536,
  74. 'fs_type': 'btrfs',
  75. 'key': 'mnt_point',
  76. 'mnt_point': '/',
  77. 'percent': 76.6,
  78. 'size': 67171570524160,
  79. 'used': 51428401946624}, ...]
  80. gpu [OK] 0.00005s
  81. []
  82. help [OK] 0.00001s
  83. None
  84. ip [OK] 0.00312s
  85. {'address': '***',
  86. 'gateway': '***',
  87. 'mask': '***',
  88. 'mask_cidr': '***',
  89. 'public_address': '***',
  90. 'public_info_human': '***'}
  91. irq [OK] 0.00135s key=irq_line
  92. [{'irq_line': 'RES', 'irq_rate': 10071, 'key': 'irq_line', 'time_since_update': 2.5787272453308105}, ...]
  93. load [OK] 0.00010s
  94. {'cpucore': 4, 'min1': 1.2333984375, 'min15': 1.533203125, 'min5': 1.55615234375}
  95. mem [OK] 0.00056s
  96. {'active': 4945850368,
  97. 'available': 14239825920,
  98. 'buffers': 29175808,
  99. 'cached': 14404599808,
  100. 'free': 14239825920,
  101. 'inactive': 9341280256,
  102. 'percent': 14.3,
  103. 'shared': 30810112,
  104. 'total': 16624132096,
  105. 'used': 2384306176}
  106. memswap [OK] 0.00069s
  107. {'free': 11744612352,
  108. 'percent': 3.1,
  109. 'sin': 4251836416,
  110. 'sout': 3360563200,
  111. 'time_since_update': 2.579338312149048,
  112. 'total': 12125646848,
  113. 'used': 381034496}
  114. network [OK] 0.00384s key=interface_name
  115. [{'alias': None,
  116. 'cumulative_cx': 0,
  117. 'cumulative_rx': 0,
  118. 'cumulative_tx': 0,
  119. 'cx': 0,
  120. 'interface_name': 'tun0',
  121. 'is_up': True,
  122. 'key': 'interface_name',
  123. 'rx': 0,
  124. 'speed': 10485760,
  125. 'time_since_update': 2.08166766166687,
  126. 'tx': 0}, ...]
  127. now [OK] 0.00005s
  128. '2023-11-04 19:34:14 UTC'
  129. percpu [OK] 0.00013s key=cpu_number
  130. [{'cpu_number': 0,
  131. 'guest': 0.0,
  132. 'guest_nice': 0.0,
  133. 'idle': 17.2,
  134. 'iowait': 2.2,
  135. 'irq': 0.0,
  136. 'key': 'cpu_number',
  137. 'nice': 0.0,
  138. 'softirq': 0.0,
  139. 'steal': 0.0,
  140. 'system': 11.9,
  141. 'total': 82.8,
  142. 'user': 68.7}, ...]
  143. ports [OK] 0.00059s
  144. []
  145. processcount [OK] 0.27204s
  146. {'pid_max': 0, 'running': 2, 'sleeping': 359, 'thread': 611, 'total': 361}
  147. processlist [OK] 0.00080s key=pid
  148. [{'cmdline': ['/venv/bin/python3', '-m', 'glances', '-C', '/etc/glances.conf', '-w', '--password', '-u', 'ha',
  149. '--disable-plugin', 'sensors,folders,connections'],
  150. 'cpu_percent': 44.0,
  151. 'cpu_times': pcputimes(user=76.27, system=2.86, children_user=0.0, children_system=0.0, iowait=0.31),
  152. 'gids': pgids(real=0, effective=0, saved=0),
  153. 'io_counters': [63152128, 1167360, 63152128, 1167360, 1],
  154. 'key': 'pid',
  155. 'memory_info': pmem(rss=48005120, vms=59944960, shared=10276864, text=8192, lib=0, data=43126784, dirty=0),
  156. 'memory_percent': 0.28876767654866453,
  157. 'name': 'python3',
  158. 'nice': 0,
  159. 'num_threads': 4,
  160. 'pid': 13023,
  161. 'status': 'S',
  162. 'time_since_update': 2.5791192054748535,
  163. 'username': 'root'}, ...]
  164. psutilversion [OK] 0.00010s
  165. (5, 9, 5)
  166. quicklook [OK] 0.00090s
  167. {'cpu': 33.8,
  168. 'cpu_hz': 1501000000.0,
  169. 'cpu_hz_current': 1501000000.0,
  170. 'cpu_name': 'Intel(R) Celeron(R) CPU J3455 @ 1.50GHz',
  171. 'mem': 14.3,
  172. 'percpu': [{...}, {...}, {...}, {...}],
  173. 'swap': 3.1}
  174. raid [OK] 0.00087s
  175. {'md0': {'available': '4', 'components': {...}, 'config': 'UUUU', 'status': 'active', 'type': 'raid1', 'used': '4'},
  176. 'md1': {'available': '4', 'components': {...}, 'config': 'UUUU', 'status': 'active', 'type': 'raid1', 'used': '4'},
  177. 'md2': {'available': '1', 'components': {...}, 'config': 'U', 'status': 'active', 'type': 'raid1', 'used': '1'},
  178. 'md3': {'available': '9',
  179. 'components': {...},
  180. 'config': 'UUUUUUUUU',
  181. 'status': 'active',
  182. 'type': 'raid6',
  183. 'used': '9'}}
  184. sensors [OK] 0.00002s key=label
  185. [{'critical': 105,
  186. 'key': 'label',
  187. 'label': 'Physical id 0',
  188. 'type': 'temperature_core',
  189. 'unit': 'C',
  190. 'value': 55,
  191. 'warning': 105}, ...]
  192. smart [OK] 0.09219s
  193. []
  194. system [OK] 0.00003s
  195. {'hostname': 'DS918Plus',
  196. 'hr_name': 'Alpine Linux 3.18.0 64bit',
  197. 'linux_distro': 'Alpine Linux 3.18.0',
  198. 'os_name': 'Linux',
  199. 'os_version': '4.4.302+',
  200. 'platform': '64bit'}
  201. uptime [OK] 0.00051s
  202. {'seconds': 1202593}
  203. wifi [OK] 0.00005s
  204. []
  205. ===============================================================================
  206. Total time to update all stats: 0.45442s
  207. ===============================================================================
Tags: glances
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement