Skip to content
项目

关于

Graphs the disk IO in a linux terminal.

开发工具

这些数字如何统计

实测星标增长

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

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

README.md

原文

diskgraph

Monitor for disk IO

screenshot

Introduction

The diskgraph tool will graph disk IO under linux, in a terminal.

Examples:

$ ./diskgraph /dev/nvme0n1

$ ./diskgraph /dev/sda

You can also leave out the dev prefix and do:

$ ./diskgraph sda

Periodically (500ms intervals) it will read the statistics from /sys/block/DEVICE/stat and see how many sectors are read and written since last sample.

These are converted to bandwidth, by dividing by time.

It also shows (in orange) the number of operations that are in-flight at the moment the sample was taken.

Keys

Press ESCAPE or Q to exit diskgraph.

Shell completion

Tab completion for block device names is installed for bash, zsh and fish when diskgraph is installed system-wide (the scripts read /sys/block).

Known issues

  • Shows garbage on terminals that do not support 24 bit colour.
  • Does not work on older linux kernels.
  • Uses a lot of bandwidth when used over network, due to frequent screen-redraws. To mitigate: use small term size.

Copyright

diskgraph is (c)2021 by Bram Stolk and licensed under the MIT license. Thank you to PQCraft for improving resize functionality and other changes.

探索相关项目

加载中…