Skip to content
Projekte

Über uns

Graphs the disk IO in a linux terminal.

Entwicklerwerkzeuge

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

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.

Ähnliche Projekte entdecken

Wird geladen…