GithubHelp home page GithubHelp logo

gokrazy / stat Goto Github PK

View Code? Open in Web Editor NEW
36.0 36.0 3.0 2.04 MB

program to visualize resource usage, very similar to Dag Wieers’s dstat default output

License: BSD 3-Clause "New" or "Revised" License

Go 100.00%
cli cpu disk memory monitoring network resource resources system visualization

stat's Introduction

GitHub Actions CI Go Report Card

Overview

With gokrazy, you can deploy your Go programs as appliances to a Raspberry Pi or PC (→ supported platforms).

For a long time, we were unhappy with having to care about security issues and Linux distribution maintenance on our various Raspberry Pis.

Then, we had a crazy idea: what if we got rid of memory-unsafe languages and all software we don’t strictly need?

Turns out this is feasible. gokrazy is the result.

→ Learn more at gokrazy.org

GitHub Repository structure

Documentation

gokrazy.org uses hugo for creating and generating the website. You can find the hugo install instructions here: Install Hugo. With hugo you can write documentation in Markdown and generate a static website from it.

The website subdirectory is hugo’s root directory. In order to preview the documentation or to re-generate the website, switch the directory to website.

To preview the website, run the hugo webserver:

hugo serve

Generate the website:

hugo

The updated website content will be stored in the ./docs directory. Do not update anything here manually.

stat's People

Contributors

brunoteixeira1996 avatar stapelberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

stat's Issues

disk stats seem double-counted, at least in some setups

Observing this on the SolidRun ClearFog CX LX2, where /proc/diskstats looks like so:

cat /proc/diskstats
   1       0 ram0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   1       1 ram1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   1       2 ram2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   1       3 ram3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   1       4 ram4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   1       5 ram5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   1       6 ram6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   1       7 ram7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   1       8 ram8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   1       9 ram9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   1      10 ram10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   1      11 ram11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   1      12 ram12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   1      13 ram13 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   1      14 ram14 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   1      15 ram15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   7       0 loop0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   7       1 loop1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   7       2 loop2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   7       3 loop3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   7       4 loop4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   7       5 loop5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   7       6 loop6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
   7       7 loop7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 259       0 nvme0n1 697766 37 251506378 52241 124213 1849 125962704 204363 0 307452 256966 0 0 0 0 196 362
 259       1 nvme0n1p1 7 0 128 0 0 0 0 0 0 12 0 0 0 0 0 0 0
 259       2 nvme0n1p2 1839 0 214184 533 0 0 0 0 0 2340 533 0 0 0 0 0 0
 259       3 nvme0n1p3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 259       4 nvme0n1p4 695909 37 251291954 51706 124213 1849 125962704 204363 0 305312 256070 0 0 0 0 0 0
  31       0 mtdblock0 12 0 384 17 0 0 0 0 0 72 17 0 0 0 0 0 0
  31       1 mtdblock1 12 0 384 96 0 0 0 0 0 144 96 0 0 0 0 0 0
 179       0 mmcblk1 571 775 61780 370 61 23 664 166 0 544 546 0 0 0 0 3 8
 179       1 mmcblk1p1 558 775 61388 347 60 23 664 163 0 472 510 0 0 0 0 0 0
 179      64 mmcblk1boot1 12 0 384 17 0 0 0 0 0 56 17 0 0 0 0 0 0
 179      32 mmcblk1boot0 12 0 384 17 0 0 0 0 0 84 17 0 0 0 0 0 0

cpu temp

Just wondering if its possible to get cpu temp using the webstat in gokrazy and in stat from terminal?

Thanks

Underscore in the name doesn't looks alright.

Michael,

What is the rationale behind that naming scheme??? It looks ugly and pointless. Could you please correct them to plain, strip off the underscore.

Believe me, it will look much saner, than what is looking now.

I know, it's bloody nit-picking ..but hoping it worth one.YMMV. OR did I grossly missed the "importance" of those underscores???? Not sure though.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.