Skip to main content

Manager your Dell PowerEdge Fan Speed with this handy tool!

Project description

Fan-Manager

Version: 0.4.0

Manager your Dell PowerEdge Fan Speed with this handy tool!

Usage:

Short Flag Long Flag Description
-h --help See usage for fan-manager
-i --intensity Intensity of Fan Speed - Scales Logarithmically (0-10)
-c --cold Minimum Temperature for Fan Speed
-w --warm Maximum Temperature for Fan Speed
-s --slow Minimum Fan Speed
-f --fast Maximum Fan Speed
-p --poll-rate Poll Rate for CPU Temperature in Seconds

Example:

Python

fan-manager --intensity 5 --cold 50 --warm 80 --slow 5 --fast 100 --poll-rate 24

Dockerfile

FROM ubuntu:latest AS ubuntu
RUN apt update && apt upgrade -y && apt install -y dos2unix lm-sensors ipmitool wget curl git python3 python-is-python3 python3-pip gcc
RUN python -m pip install --upgrade pip
RUN python -m pip install --upgrade fan-manager
CMD ["fan-manager --intensity 5 --cold 50 --warm 80 --slow 5 --fast 100 --poll-rate 24"]

Docker Compose

---
version: '3.9'

services:
  server_fan_speed:
    build: .
    container_name: server_fan_speed
    privileged: true
    volumes:
      - /dev/ipmi0:/dev/ipmi0
    restart: unless-stopped

Docker Run

docker run -it -d server_fan_speed fan-manager

Docker Compose

docker-compose up --build -d

Install Instructions

Install Python Package

python -m pip install fan-manager

Build Instructions

Build Python Package

sudo chmod +x ./*.py
sudo pip install .
python3 setup.py bdist_wheel --universal
# Test Pypi
twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose -u "Username" -p "Password"
# Prod Pypi
twine upload dist/* --verbose -u "Username" -p "Password"

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

fan_manager-0.4.0-py2.py3-none-any.whl (16.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file fan_manager-0.4.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for fan_manager-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 108a3b5c4ee5ab4ce7ec2a8172238cd6171814a64d3e59df82b9582d0cad8969
MD5 44a1835923bbf6dd6565a7ff20661203
BLAKE2b-256 9e217850f952fe511a9c491365c9b9acd641e27a37324f85af0b7c798d968f09

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