Glances是一個跨平台的系統監視工具

Glances是一個跨平台的系統監視工具,它可以提供關於系統狀態的實時信息,如CPU、內存、網絡、磁盤、進程等。它可以以互動方式顯示統計信息,也可以通過網絡進行遠程監視。Glances是用Python編寫的,它使用psutil庫來獲取系統信息,因此它支持幾乎所有主流的操作系統,包括Linux、Windows、Mac OS X、FreeBSD和OpenBSD。

My image title

Glances的特點包括:

只需要安裝一個Python包,無需其他依賴庫。
快速:使用低級別的API來獲取系統信息,所以它非常快速。
可擴展性:支持插件和擴展,可以自定義添加新的特性和功能。
多種顯示方式:支持互動式終端、Web界面和CSV、JSON等格式輸出。
跨平台:支持幾乎所有主流的操作系統。

Glances還支持警報系統,可以在某些條件下發送電子郵件或通知,這讓它成為一個非常強大的監視工具。

github地址:

https://github.com/nicolargo/glances

glances工具的功能如下:

  • CPU使用率
  • 記憶體使用率
  • 核心統計資訊和執行佇列資訊
  • 磁碟I/O速度、傳輸和讀/寫比率
  • 磁碟介面卡
  • 網路I/O速度、傳輸和讀/寫比率
  • 頁面監控
  • 程序監控-消耗資源最多的程序
  • 計算機資訊和系統資源

Glances具有以下優點:

輕量級:Glances 很小巧,不需要佔用太多的系統資源,可以在各種硬體設備上運行。

跨平台:Glances 可以在 Linux、Windows 和 MacOS 上運行,並支持多種硬體架構。

多功能:Glances 可以顯示各種系統資訊,包括 CPU、記憶體、網路、磁碟、進程和 Docker 容器等。

可擴展性:Glances 允許用戶通過插件擴展其功能,例如添加支援其他應用程式的監控指標。

可遠程監控:Glances 支持遠程監控,使得用戶可以遠程監控多個系統,並將其資訊彙總在一個地方。

使用簡單:Glances 很容易使用,並且提供了豐富的文檔和教程,以幫助用戶了解如何使用它。


Glances is a cross-platform, open-source system monitoring tool that provides real-time monitoring of CPU usage, memory usage, disk I/O, network traffic, and other important system metrics. It is designed to be a lightweight and easy-to-use replacement for tools like top, htop, and iotop.

Glances can be run from the command line or accessed via a web interface. The web interface allows users to monitor remote systems from any device with a web browser, making it a convenient tool for monitoring servers and other networked systems.

Glances supports a wide range of platforms, including Linux, FreeBSD, macOS, and Windows. It can be installed using package managers like apt-get, yum, and Homebrew, or downloaded directly from the Glances website.

In addition to its real-time monitoring capabilities, Glances also supports alerts and notifications when system metrics exceed certain thresholds. It also provides a variety of plugins and extensions that can be used to extend its functionality, including support for monitoring Docker containers and virtual machines.