Git Product home page Git Product logo

web-vmstats's Introduction

Web VMStat

Display live Linux system stats (memory, CPU, IO, etc) in a pretty web-page, with charts and everything.

Screenshot

Overview

Linux (and many other UNIXy operating systems) have a command line tool called vmstat for monitoring system stats.

It looks like this (a new line is output every second showing the latest values):

$ vmstat 1
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
3  0  43652 2742600 453820 2829164    0    0     1    10    0    0  6  1 93  0
1  0  43652 2742784 453820 2829164    0    0     0     0 3106 5701 11  1 87  0
0  0  43652 2742908 453820 2829164    0    0     0     0 3898 6703 11  2 87  0
1  0  43652 2743672 453820 2829164    0    0     0    32 3844 6708 11  2 87  0
2  0  43652 2743980 453820 2829164    0    0     0    80 4130 7164 11  2 87  0

Useful, but fugly.

This is a tiny application that streams these stats over a WebSocket using websocketd and charts them using SmoothieCharts.

Why?

Why not? A handy little process to install on machines you care about. After building this for my own needs, I thought it would make a great little demo.

And if you want to use it or hack on it yourself, here it is.

Running

See ./run script for instructions.

web-vmstats's People

Contributors

joewalnes avatar bitdeli-chef avatar

Watchers

James Cloos avatar

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.