Skip to content

arnav-gudibande/gpu-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages