Skip to content
Projets

À propos

Graphs the disk IO in a linux terminal.

Outils de développement

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

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.

Explorer des projets similaires

Chargement…