• Stars
    star
    197
  • Rank 197,722 (Top 4 %)
  • Language
    C
  • License
    MIT License
  • Created over 3 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Graphs the disk IO in a linux terminal.

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.

Known issues

  • Shows garbage on terminals that do not support 24 bit colour.
  • Does not work on older linux kernels.
  • Missing manual page.
  • Assumes 512 byte sectors.
  • 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.

More Repositories

1

GPGOAP

General Purpose Goal Oriented Action Planning
C
556
star
2

imcat

Show any image in a terminal window.
C
322
star
3

chiaharvestgraph

Graphs the activity of a chia harvester in a linux terminal.
C
205
star
4

sotrace

Traces the shared-object dependencies of a binary, and graphs them.
Python
161
star
5

energygraph

Graphs the energy use of a host inside a text terminal, using intel-rapl data from the /sys filesystem.
C
124
star
6

ThreadTracer

Lightweight inline profiler that measures wall-time, cpu-time and premptive context switches for threads.
C
72
star
7

ifgraph

Network Interface Grapher.
C
67
star
8

chiaplotgraph

Chia Plot Graph
C
55
star
9

forvor

Fortune's Voronoi Generator
C
31
star
10

sino

sino - a Simplex Noise implementation in C.
C
30
star
11

freqtop

Monitor for the CPU Frequency Scaling under Linux.
C
29
star
12

dutch-blunt

Low poly font rendering system. Uses triangles not textures, for always sharp edges.
C
17
star
13

icmp_watch

Send batch requests for ICMP and show results in a console window to monitor availability of hosts.
C
14
star
14

turboledz

Daemon for Turbo LEDz devices.
C
12
star
15

chiaheightgraph

Graphs the progress of block height in your Chia Full Node.
C
9
star
16

ip2ensign

Converts an IP number to a flag image in a texture atlas.
Python
8
star
17

GBase

Minimalistic Basis for Game Development.
C++
8
star
18

MinimalVulkanCompute

Minimal code to do vulkan compute.
C
6
star
19

allrgb

My entry for the allRGB challenge: image where each 24b colour is used for one pixel, and one pixel only.
C
6
star
20

hidscan

Scan for HID devices, and print out their usages.
C
5
star
21

little_kiss_fft

A port of KISS FFT that targets μcontrollers.
C
4
star
22

objsplitv

Splits Wavefront OBJ vertices that suffer from inappropriate sharing.
Python
4
star
23

hsvbench

Benchmarking HSV to RGB conversions.
C
3
star
24

no-noise-android

Filters out the noisiest spam from the device log of Android devices.
Python
2
star
25

colourfactory

Generates distinct colours.
Python
2
star
26

Blocher

WEBGL visualization of quantum gates operating on the Bloch Sphere.
JavaScript
2
star
27

airQplot

CO2 meter
C++
1
star
28

NBody

N-Body simulation, 2D.
C
1
star
29

osino

Open Simplex Noise for Enoki/CUDA
C
1
star
30

twinprimetest

Test the twin primes like Thomas Nicely did, but on AVX.
C
1
star
31

vmtest

Demonstrate that virtual memory is cheap.
C
1
star
32

ZeroToSnake

Zero To Snake in 3600 seconds.
Python
1
star
33

gbmtest

Test program to see which formats can be used by libgbm.
C
1
star