Giter Site home page Giter Site logo

ipmi-fan-control's Introduction

ipmi-fan-control

GitHub license

A tool to control the fan speed by monitoring the temperature of CPU via IPMI.

Why

Our Dell R730 server's iDRAC is not works as expected. The fan always run full speed. And is very noisy, We digged but didn't fix out. So I build this to control the fan speed programmatically. And use RUST just for practice. Any contribute are welcome.

Usage

Download from release page (prebuilt binary via github actions), or build from source code.

cargo build --release

Install dependency, install (debian/pve):

apt install ipmitool

use ipmi-fan-control --help to see the usage.

ipmi-fan-control --help
USAGE:
    ipmi-fan-control [OPTIONS] <SUBCOMMAND>

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information
        --verbose    Verbose output

SUBCOMMANDS:
    auto     Auto adjust fan speed by interval checking CPU temperature
    fixed    Set fixed RPM percentage for fan
    help     Print this message or the help of the given subcommand(s)
    info     Print CPU temperature and fan RPM

Resource

ipmi-fan-control's People

Contributors

dependabot[bot] avatar yinheli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

qaison

ipmi-fan-control's Issues

ipmi-fan-control info shows only CPUs temp, and no FANs RPM.

I have 2 CPUs with own fans and 6 case fans. ipmi-fan-control info shows only CPUs temp, and no FANs RPM.

:~# ./ipmi-fan-control info
CPU1 Temperature | 50 degrees C      | ok
CPU2 Temperature | 54 degrees C      | ok
:~# ipmitool sdr type fan
CPU_FAN1         | A0h | ok  |  0.0 | 1360 RPM
CPU_FAN2         | A1h | ok  |  0.0 | 1360 RPM
FRNT_FAN1        | A2h | ok  |  0.0 | 880 RPM
FRNT_FAN2        | A3h | ok  |  0.0 | 2080 RPM
FRNT_FAN3        | A4h | lcr |  0.0 | 720 RPM
FRNT_FAN4        | A5h | lcr |  0.0 | 720 RPM
REAR_FAN1        | A6h | ok  |  0.0 | 1360 RPM
REAR_FAN2        | A7h | ok  |  0.0 | 1280 RPM

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.