Giter Site home page Giter Site logo

system-monitor's Introduction

system-monitor

基于(siger)开发的SpringBoot项目,java获取服务器信息

该项目为 Java探针 运行前提是 有Jvm环境,集成了Swagger接口

场景: 在没有使用 分布式的项目,进行集群管理时,有时候来了做服务器监控的需求

如果没有特殊要求 阿里开源的 Arthas 是非常好用的java诊断工具

但是 如果要做 监控数据化的话 就需要自己开发了

这里我分享一套 最近刚写的Java探针

运行起来后查看接口

#API接口文档

127.0.0.1:7000/doc.html

使用主服务 去定时抓接口,即可做到,集群下多服务器监控

  # 运行
  nohup java -jar system-monitor.jar &
  
  # 有能力的 可以配置一下 开机启动

Windows

需要把 sigar对应的插件 放入 jdk bin 目录下

Linux

需要把 对应的 so 文件 放在 java.library.path 下

详情链接 https://www.arcinbj.com/archives/systemmonitor

monitor-2

monitor-3

monitor-4

monitor-5

monitor-1

system-monitor's People

Contributors

hiparker 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.