Giter VIP home page Giter VIP logo

sigar_monitor's Introduction

使用sigar和websocket实现主机实时参数的网页展示

使用sigar.jar来检测主机的内存、cpu、系统等参数,websocket实现在不更新网页的情况下实时显示服务器发来的数据

效果图

效果图

备注

  • demo目前能够显示CPU总使用率、当前内存使用率、当前内存空闲率、当前时间,本demo目前只是实现基本功能的展示,后续会更新其他功能

  • 本例目前提供windows系统的相应dll文件

  • 运行代码

System.out.println(System.getProperty("java.class.path"));

  • 把resources/sigar-amd64-winnt/X64/1.6.4.104/sigar-amd64-winnt.dll中放到刚才代码显示的一个classpath中

sigar_monitor's People

Contributors

lhf2018 avatar

Stargazers

 avatar

Watchers

 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.