{"id":29605773,"url":"https://github.com/abinthomasonline/gpu-stat","last_synced_at":"2025-08-19T14:08:22.687Z","repository":{"id":283845124,"uuid":"953035246","full_name":"abinthomasonline/gpu-stat","owner":"abinthomasonline","description":"A simple tool to monitor NVIDIA GPU usage on remote machines","archived":false,"fork":false,"pushed_at":"2025-03-25T18:09:28.000Z","size":144,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-20T16:42:13.591Z","etag":null,"topics":["click","gpu","mlops","nvidia-smi","paramiko","python","ssh","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abinthomasonline.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-22T12:23:28.000Z","updated_at":"2025-03-25T18:09:31.000Z","dependencies_parsed_at":"2025-03-22T15:40:13.581Z","dependency_job_id":null,"html_url":"https://github.com/abinthomasonline/gpu-stat","commit_stats":null,"previous_names":["abinthomasonline/gpu-stat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abinthomasonline/gpu-stat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abinthomasonline%2Fgpu-stat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abinthomasonline%2Fgpu-stat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abinthomasonline%2Fgpu-stat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abinthomasonline%2Fgpu-stat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abinthomasonline","download_url":"https://codeload.github.com/abinthomasonline/gpu-stat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abinthomasonline%2Fgpu-stat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271166320,"owners_count":24710464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["click","gpu","mlops","nvidia-smi","paramiko","python","ssh","streamlit"],"created_at":"2025-07-20T16:36:11.771Z","updated_at":"2025-08-19T14:08:22.679Z","avatar_url":"https://github.com/abinthomasonline.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GPU Stat Monitor\n\nA simple tool to monitor NVIDIA GPU usage on remote machines with minimal setup.\n\n![GPU Stat Dashboard](demo.png)\n\n## Overview\n\nGPU Stat Monitor is a Python-based tool that:\n1. Connects to remote machines via SSH\n2. Collects GPU stats by running `nvidia-smi` commands remotely\n3. Stores the data locally in CSV format\n4. Provides a web-based dashboard for visualization\n\n## Features\n\n- Single command to start monitoring: `gpu-stat run`\n- Multiple remote machine support\n- Simple SSH configuration\n- Zero setup on remote machines (only requires NVIDIA drivers)\n- Metrics tracked:\n  - GPU utilization\n  - Memory usage\n  - Temperature\n  - Power consumption\n  - Running processes\n\n## Installation\n\n```bash\n# install from git url\npip install git+https://github.com/abinthomasonline/gpu-stat.git\n```\n\n```bash\n# or clone and install\ngit clone https://github.com/abinthomasonline/gpu-stat.git\ncd gpu-stat\npip install .\n```\n\n## Usage\n\n### Basic Usage\n\n```bash\n# Start monitoring with interactive setup\ngpu-stat run --config config.yaml\n```\n\n### Configuration File\n\nCreate a `config.yaml` file:\n\n```yaml\nservers:\n  - name: ML Server 1\n    host: ml1.example.com\n    user: researcher\n    key_path: ~/.ssh/ml_key\n    interval: 5  # seconds\n    port: 12889\n\n  - name: ML Server 2\n    host: ml2.example.com\n    user: researcher\n    key_path: ~/.ssh/ml_key\n    interval: 10\n    port: 22\n\nsettings:\n  data_dir: ./data\n  default_interval: 5\n```\n\n## Project Structure\n\n```\ngpu-stat/\n├── gpu_stat/\n│   ├── __init__.py\n│   ├── cli.py            # Command-line interface\n│   ├── ssh_client.py     # SSH connection handler\n│   ├── data_collector.py # Remote data collection\n│   ├── data_store.py     # Local data storage client\n│   ├── dashboard.py      # Streamlit dashboard\n└── setup.py\n```\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabinthomasonline%2Fgpu-stat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabinthomasonline%2Fgpu-stat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabinthomasonline%2Fgpu-stat/lists"}