Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Prettify vmstats in your browser

License

NotificationsYou must be signed in to change notification settings

joewalnes/web-vmstats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 calledvmstat for monitoring system stats.

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

$ vmstat 1procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa3  0  43652 2742600 453820 2829164    0    0     1    10    0    0  6  1 93  01  0  43652 2742784 453820 2829164    0    0     0     0 3106 5701 11  1 87  00  0  43652 2742908 453820 2829164    0    0     0     0 3898 6703 11  2 87  01  0  43652 2743672 453820 2829164    0    0     0    32 3844 6708 11  2 87  02  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 usingwebsocketd and charts themusingSmoothieCharts.

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 greatlittle demo.

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

Running

See./run script for instructions.

About

Prettify vmstats in your browser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp