Skip to main content

A tool aimed at controlling NVIDIA GPU fans on Linux.

Project description

NVIFAN

Python 3.7+ PyPI Python Package using Conda Upload Python Package GitHub Repo Stars License

A tool aimed at controlling NVIDIA GPU fans on Linux.

中文版README

The program has been developed in Python, and its source code is conveniently hosted on GitHub.

Written by: Haomin Kong

If this program turns out to be beneficial for you, kindly consider showing your support by starring it on GitHub. Your recognition is greatly appreciated!

Usage

Install

pip install nvifan

Direct Run

sudo nvifan

or

# Use 'su' to run as root
su
nvifan

Tips

  • You can use nvifan --help to see the usage.
  • (Not recommended)You can use screen or tmux to keep the program running when you close the terminal.

Upgrade

We recommend using the official PyPI repository to upgrade the package. The third party PyPI mirrors are used to improve the download speed. But may an older version,so you can use this command to upgrade to the latest version.

pip install --upgrade nvifan -i https://pypi.python.org/simple

By the way, if you are using systemd, you can use the following command to restart the service after upgrading.

sudo systemctl restart nvifan

Install as Service(Recommended)

Install Service

sudo nvifan-install

Uninstall Service

sudo nvifan-uninstall

Install from Source

chmod +x install.sh
./install.sh

Build Wheel

chmod +x build.sh
./build.sh

Log

The log file is located at /var/log/nvi/nvifan.log.

If you want to view the log, you can use the following command:

sudo journalctl -u nvifan

or

cat /var/log/nvi/nvifan.log

If you want to report a bug, you should provide the log file. You can make an Issue on GitHub and attach the log file.

Gitee

We have a Gitee repository, which is a mirror of the GitHub repository.

https://gitee.com/a645162/nvi-fan-control

This repository is used to improve the download speed in China.

So that:

  • Please do not use this repository for development or make a Pull Request.
  • Please do not make an Issue on Gitee, because we do not check the Issue on Gitee.

Ref

Based on CoolGPUs and nvitop. Thanks for their work.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nvifan-1.3.0.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

nvifan-1.3.0-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file nvifan-1.3.0.tar.gz.

File metadata

  • Download URL: nvifan-1.3.0.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for nvifan-1.3.0.tar.gz
Algorithm Hash digest
SHA256 55f5f2766466f3a5aebb680c84e38e90351ed42b1108042e3edc98d224ede486
MD5 2b059f21fb37ef5cd3561d8874c1cb65
BLAKE2b-256 d0b41226dfda8c97a070666c662685d9abbddfceb9d8e22ef390cd20532c2d43

See more details on using hashes here.

File details

Details for the file nvifan-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: nvifan-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for nvifan-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30717b5a8eda18d3c650f1ccfd16887a293fe176ec6e2e56c5f8b60b885db295
MD5 4aaf87a1b4fd8dc1524ca1e1f0e3f4ed
BLAKE2b-256 00985a430045f7f9932b2d6ae67b3b3671de7a7b1e795b0c6c0d8567eff37d6c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page