Giter Site home page Giter Site logo

nstat's Introduction

nstat

原理

环境要求

  • gpustat: 查询显卡统计信息,客户端必选
  • json2html: 将 .json 数据转换为可视化 .html 文本,服务器端必选
  • pyinstaller: 将 .py 文件连同环境打包为可执行文件,可选
  • pyyaml: 读取 .yaml 配置文件,必选
  • requests: 发送 HTTP 请求,客户端必选

所有这些 Python 第三方包都可以简单地使用 pip 进行安装:

$ pip install -r requirements.txt

GPU 服务器端

$ python nstat-c.py nstat-c.yaml

其中 nstat-c.yaml 为配置文件,需要手动修改,详见模板 nstat-c.yaml

云服务器端

$ python nstat-s.py nstat-s.yaml

其中 nstat-s.yaml 为配置文件,正常情况下不需要手动修改,详见模板 nstat-s.yaml

构建

$ pyinstaller -F nstat-c.py
$ pyinstaller -F nstat-s.py

nstat's People

Contributors

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