Giter VIP home page Giter VIP logo

gpu-monitoring's Introduction

gpu-monitoring

ssh instance nvidia-gpu monitoring on macOS with BitBar

Screen Shot 2020-04-10 at 1 17 16 PM

Installation

  1. brew cask install bitbar
  2. git clone https://github.com/arnav-gudibande/gpu-monitoring.git
  3. cd /your/save/path/gpu_monitoring
  4. chmod +x server_logs.5s.py
  5. open -a BitBar
  6. set bitbar plugin directory to /your/save/path/gpu_monitoring
  7. bitbar -> preferences -> refresh all

Configuration

  • Adding ssh instances

    • say you want to monitor nvidia-gpu utilization on example_user_name@example_instance_name
    • make sure you can ssh to this instance using an ssh key
    • to add an instance, set user_name="example_user_name" and instance_name="example_instance_name" in server_logs.5s.py
  • GPU configuration

    • the current setup can monitor 1 GPU
    • find GPU ID using nvidia-smi on remote machine
    • set gpu_id={GPU_ID} to configure which gpu to monitor
  • Custom Refresh Rate

    • BitBar refreshes according to the script name, in this case: server_logs.{timeout}.py
    • Use BitBar to set a custom refresh

gpu-monitoring's People

Contributors

arnav-gudibande avatar

Stargazers

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