Skip to content
项目

关于

用于实时监控 Linux 系统资源的命令行工具。

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

🔍 What is Dool?

Dool is a command line tool to monitor many aspects of your Linux system: CPU, Memory, Network, Load Average, etc. It also includes a robust plug-in architecture to allow monitoring other system metrics.

Dool is a Python3 compatible fork of Dstat.

📦 Installation

  1. Download the latest release archive file or clone the Git repo
  2. Copy dool into your $PATH
  3. Copy plugins/* to ~/.dool/ (optional)

✨ Usage

dool [--preset] [--plugin] [delay]

My most common usage of Dool is:

dool --more 15

which uses the --more preset and outputs data every 15 seconds. Available presets are --defaults, --more, or --all. If no delay is specified, Dool will default to outputting every second.

🖼️ Screenshots

Dark mode (default) Dool Light

Light mode Dool Light

🔌 Plugins:

Dool ships with many plug-ins to configure the output to your taste.

dool --cpu --net --time --full # Show CPU usage, and each network interface
dool --disk -D total,sda,sdd   # Show the total disk IO, and /dev/sda and /dev/sdd
dool --net -N eth0,eth1        # Show the network traffic for eth0 and eth1

On Linux with sysfs thermal zones, dool --thermal lists all zones in numeric order. Set DOOL_THERMAL_ZONES to a comma-separated list of zone IDs to show a subset. For example, DOOL_THERMAL_ZONES=2,10 dool --thermal displays tz2 and tz10 when those zones are present.

A list of available plug-ins are available when you run dool --version

🎨 Colors

Dool expects a 256 color compatible terminal. Most modern terminal emulators support this automatically. A --color16 option is available if you only have a 16 color terminal.

📈 Bits vs Bytes

One of the changes in dool is measurement of network and disk bandwidth in bits instead of bytes. This can be confusing if you're used to seeing lower numbers in dstat. If you would rather see bandwidth reported in bytes you can use the --bytes option.

🧰 Other tools similar to Dool

🎁 Packaging Dool for your distro

If you want to build a Dool package for your favorite distribution check out our simple instructions. Currently we have scripts to build rpm, deb, and .tar.gz packages.

🌿 Pull Requests and Branches

The latest stable release (plus bugfixes) will live on the master branch. Development of new features will occur on the next branch. Please have pull requests target the next branch.

Various feature/bug branches may come and go as we work on more complex functionality, but those can be safely ignored.

Do you want to write your own plugin? Check out the skel plugin which should be well documented and serve as a good starting point.

👨 Team

Username Role
@scottchiefbaker Primary author
@dagwieers Original dstat author
@raylu Pip release manager

探索相关项目

加载中…