Glances 是一款用 Python 编写的跨平台系统资源总览工具,能在终端和网页两种模式下实时查看 CPU、内存、磁盘、网络等运行状态,还提供 REST 接口方便二次集成。它轻量、启动快,适合运维人员、开发者以及自托管爱好者快速掌握服务器健康状况。
核心亮点:
- 终端与网页双模式,随时切换查看
- 跨平台支持,覆盖主流操作系统
- 内置 REST 接口,便于集成与自动化
- 实时汇总 CPU、内存、磁盘与网络状态
当前版本 v4.5.8(2026-10-11 发布),开源协议 LGPL-3.0,GitHub 33,906 star。
![]()


核心信息
| 软件名称 | Glances(nicolargo/glances) |
| 当前版本 | v4.5.8 |
| 更新日期 | 2026-10-11 |
| 开源协议 | LGPL-3.0 |
| 软件分类 | 自托管服务 |
| 关键词 | monitoring、multi-platform、python、restful、restful-api、system |
本次更新内容
- 修复了导出功能的多项问题,包括CSV数据错位、JSON文件丢失最后样本、InfluxDB标签截断等,确保数据导出准确完整。
- 解决了Web界面和容器监控的缺陷,如重启容器时界面报错、静态文件缓存问题,并让容器列表可按状态排序,提升使用体验。
- 优化了进程列表性能,仅渲染屏幕内可见的进程,并修复了长期运行时的内存泄漏问题。
- 修正了网络、云平台和硬件监控的准确性,如IP插件异常、云平台误报、SNMP运行时间导出等。
- 增强了配置兼容性,避免因可选配置缺失导致模块默认值被覆盖,并修复了MQTT导出启动崩溃等问题。
查看官方英文更新日志(原文)
Bugs corrected: * Stdout: CSV data blocks use the first list item's fields instead of each item's own #3746 * Stdout: raw selector with a dotted item key (network.eth0.100.bytes_recv) raises UnboundLocalError #3748 * Folders: a second configured FolderList appends its entries to the first instance #3750 * JSON export: --stop-after leaves an empty file, the last sample is lost on shutdown #3752 * DuckDB export turns the string 'False' into TRUE #3754 * InfluxDB export truncates dotted list item identifiers (VLAN interfaces lose their tags) #3756 * IP plugin: a non-object public IP response raises AttributeError in the main thread #3758 * CSV export: rows are shifted under another device's column when the field order changes #3760 * Export: exporters mutate the live plugin statistics when merging limits #3766 * Elasticsearch export: a mapping type per plugin is rejected by ES 6/7/8+, only the first plugin is stored #3780 * Exports: an optional key missing from the config overwrote the module default with None #3781 * MQTT export: crash at startup when port or callback_api_version is omitted #3777 * Uptime: export the SNMP uptime instead of the local one #3779 * Cloud: do not report a platform whose metadata API returns nothing (OpenStack reported on Amazon EC2) #3778 * IRQ: divide the interrupt count by the refresh time (Rate/s was multiplied by the refresh time) #3771 * Programs: KeyError when a process stat is listed in [processlist] disable_stats #3776 * Containers: WebUI throws on a restarting container whose cpu/mem stats are empty #3768 * WebUI: the browser caches glances.js heuristically, revalidate the static files #3763 * Processes: io_old keeps one entry per pid ever seen (slow memory leak on hosts spawning short-lived processes) * Smart: a missing smartctl (pySMART >= 1.4) crashes the server at startup Enhancements: * WebUI: make the container table sortable by status #3763 * Processlist: only build curses rows for the processes that fit on screen (performance) #3762 Continuous integration and documentation: * Mark regression test assertions for Bandit Thanks to all the contributors for this version: Luis Figueroa, Param Tanna, Iain, Juice-de-Orange, xu91102, Artem Lytkin and Hassan Rady.
下载地址
该项目由官方站点分发,本站提供版本追踪与中文教程:
✅ 官方原包直发,版本同步更新。
快速上手
- 首次启动后,在终端输入 glances 命令即可打开实时监控仪表盘,查看 CPU、内存、磁盘与网络等状态。
- 按键盘上对应的功能键切换显示模块,可查看进程、传感器、容器或虚拟机等监控信息。
- 如需在浏览器中查看,启动时加上 –web 参数,再用浏览器访问本机对应地址即可打开网页仪表盘。
- 需要远程监控时,在服务端以服务器模式启动,客户端连接该服务端地址即可读取同一套监控数据。
提示:启动前可先确认终端窗口足够大,仪表盘显示更完整。
讨论(0 条)