Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 5 days 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 (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-01T08:06:04.000Z (over 1 year ago)
- Last Synced: 2024-08-02T15:48:08.110Z (3 months ago)
- Topics: cli, cpu, disk, memory, monitoring, network, resource, resources, system, visualization
- Language: Go
- Homepage:
- Size: 1.99 MB
- Stars: 36
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gokrazy/stat
[![Go Report Card](https://goreportcard.com/badge/github.com/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.![webstat screenshot](2020-06-27-midna-webstat.jpg)
## 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:![stat terminal output](2020-06-27-scan2drive-scan-gokrazy-stat.jpg)