All Projects â†’ wookayin â†’ Gpustat

wookayin / Gpustat

Licence: mit
📊 A simple command-line utility for querying and monitoring GPU status

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Gpustat

gpu-monitor
Script to remotely check GPU servers for free GPUs
Stars: ✭ 85 (-96.81%)
Mutual labels:  gpu, nvidia-smi
Gonvml
NVIDIA Management Library (NVML) bindings for Go
Stars: ✭ 82 (-96.92%)
Mutual labels:  gpu, monitoring
Nvtop
NVIDIA GPUs htop like monitoring tool
Stars: ✭ 3,604 (+35.39%)
Mutual labels:  gpu, monitoring
Nvidia Htop
A tool for enriching the output of nvidia-smi.
Stars: ✭ 213 (-92%)
Mutual labels:  command-line, gpu
Gpustat Web
👓 A web interface of gpustat: monitor GPU clusters at a look
Stars: ✭ 171 (-93.58%)
Mutual labels:  gpu, monitoring
Speedtest
Command line client for speedtest.net written in Go
Stars: ✭ 361 (-86.44%)
Mutual labels:  command-line, monitoring
Pm2
Node.js Production Process Manager with a built-in Load Balancer.
Stars: ✭ 36,126 (+1257.1%)
Mutual labels:  command-line, monitoring
Sampler
Tool for shell commands execution, visualization and alerting. Configured with a simple YAML file.
Stars: ✭ 9,203 (+245.72%)
Mutual labels:  command-line, monitoring
Ctop
Top-like interface for container metrics
Stars: ✭ 12,188 (+357.85%)
Mutual labels:  command-line, monitoring
Nvidia gpu prometheus exporter
NVIDIA GPU Prometheus Exporter
Stars: ✭ 138 (-94.82%)
Mutual labels:  gpu, monitoring
Gpuprofiler
GPUProfiler - Understand your application and workflow resource requirements
Stars: ✭ 181 (-93.2%)
Mutual labels:  gpu, monitoring
Cointop
A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀
Stars: ✭ 2,912 (+9.39%)
Mutual labels:  command-line, monitoring
Goaccess
GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
Stars: ✭ 14,096 (+429.53%)
Mutual labels:  command-line, monitoring
Nagios Plugins Rabbitmq
A set of nagios checks for RabbitMQ using the management interface
Stars: ✭ 194 (-92.71%)
Mutual labels:  monitoring
Librenms
Community-based GPL-licensed network monitoring system
Stars: ✭ 2,567 (-3.57%)
Mutual labels:  monitoring
Golib
Go Library [DEPRECATED]
Stars: ✭ 194 (-92.71%)
Mutual labels:  monitoring
Sematext Agent Docker
Sematext Docker Agent - host + container metrics, logs & event collector
Stars: ✭ 194 (-92.71%)
Mutual labels:  monitoring
Ruplacer
Find and replace text in source files
Stars: ✭ 201 (-92.45%)
Mutual labels:  command-line
Neovide
No Nonsense Neovim Client in Rust
Stars: ✭ 5,678 (+113.3%)
Mutual labels:  gpu
Sdk
Library for using Grafana' structures in Go programs and client for Grafana REST API.
Stars: ✭ 193 (-92.75%)
Mutual labels:  monitoring

gpustat

pypi Build Status license

Just less than nvidia-smi?

Screenshot: gpustat -cp

NOTE: This works with NVIDIA Graphics Devices only, no AMD support as of now. Contributions are welcome!

Self-Promotion: A web interface of gpustat is available (in alpha)! Check out gpustat-web.

Usage

$ gpustat

Options:

  • --color : Force colored output (even when stdout is not a tty)
  • --no-color : Suppress colored output
  • -u, --show-user : Display username of the process owner
  • -c, --show-cmd : Display the process name
  • -f, --show-full-cmd : Display full command and cpu stats of running process
  • -p, --show-pid : Display PID of the process
  • -F, --show-fan : Display GPU fan speed
  • -e, --show-codec : Display encoder and/or decoder utilization
  • -P, --show-power : Display GPU power usage and/or limit (draw or draw,limit)
  • -a, --show-all : Display all gpu properties above
  • --watch, -i, --interval : Run in watch mode (equivalent to watch gpustat) if given. Denotes interval between updates. (#41)
  • --json : JSON Output (Experimental, #10)

Tips

  • To periodically watch, try gpustat --watch or gpustat -i (#41).
    • For older versions, one may use watch --color -n1.0 gpustat --color.
  • Running nvidia-smi daemon (root privilege required) will make the query much faster and use less CPU (#54).
  • The GPU ID (index) shown by gpustat (and nvidia-smi) is PCI BUS ID, while CUDA differently assigns the fastest GPU with the lowest ID by default. Therefore, in order to make CUDA and gpustat use same GPU index, configure the CUDA_DEVICE_ORDER environment variable to PCI_BUS_ID (before setting CUDA_VISIBLE_DEVICES for your CUDA program): export CUDA_DEVICE_ORDER=PCI_BUS_ID.

Quick Installation

Install from PyPI:

pip install gpustat

If you don't have root privilege, please try to install on user namespace: pip install --user gpustat.

To install the latest version (master branch) via pip:

pip install git+https://github.com/wookayin/gpustat.git@master

Note that starting from v1.0, gpustat will support only Python 3.4+. For older versions (python 2.7, <3.4), you can continue using gpustat v0.x.

Default display

[0] GeForce GTX Titan X | 77'C, 96 % | 11848 / 12287 MB | python/52046(11821M)

  • [0]: GPUindex (starts from 0) as PCI_BUS_ID
  • GeForce GTX Titan X: GPU name
  • 77'C: Temperature
  • 96 %: Utilization
  • 11848 / 12287 MB: GPU Memory Usage
  • python/...: Running processes on GPU (and their memory usage)

Changelog

See CHANGELOG.md

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].