https://github.com/gokrazy/stat
program to visualize resource usage, very similar to Dag Wieers’s dstat default output
https://github.com/gokrazy/stat
cli cpu disk memory monitoring network resource resources system visualization
Last synced: about 1 year ago
JSON representation
program to visualize resource usage, very similar to Dag Wieers’s dstat default output
- Host: GitHub
- URL: https://github.com/gokrazy/stat
- Owner: gokrazy
- License: bsd-3-clause
- Created: 2020-06-27T07:23:02.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-08-01T08:06:04.000Z (almost 3 years ago)
- Last Synced: 2025-04-08T17:06:36.490Z (about 1 year ago)
- Topics: cli, cpu, disk, memory, monitoring, network, resource, resources, system, visualization
- Language: Go
- Homepage:
- Size: 1.99 MB
- Stars: 36
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gokrazy/stat
[](https://goreportcard.com/report/github.com/gokrazy/stat)
`gokrazy/stat` is a program to visualize resource usage, producing output that
looks very similar to [Dag Wieers’s
`dstat`](https://github.com/dstat-real/dstat) default output.
As the repository path implies, this program is meant to be used on the
https://gokrazy.org/ Raspberry Pi platform, so it does not have any external
runtime dependencies and is implemented natively in Go (not using any cgo). The
resulting static binary might come in handy in other Linux environments, too!
## github.com/gokrazy/stat/cmd/gokr-webstat
`gokr-webstat` displays system resource usage in your browser, with output
matching `gokr-stat` or `dstat`!
It uses the [EventSource
API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource) to stream new
lines into your browser.

## github.com/gokrazy/stat/cmd/gokr-stat
The `gokr-stat` program is a terminal program that displays system resource
usage, like `dstat`.
Here is the `gokr-stat` terminal output (via
[`gokrazy/breakglass`](https://github.com/gokrazy/breakglass)) when scanning one
double-sided piece of A4 paper with
[scan2drive](https://github.com/stapelberg/scan2drive) on a Raspberry Pi 4:
