Coder Social home page Coder Social logo

nhm91135 / hddtemp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from slowpeek/hddtemp

0.0 0.0 0.0 32 KB

A very basic replacement for hddtemp tool removed from the official repositories of Ubuntu (since 22.04) and Debian (since 12)

License: MIT License

Shell 100.00%

hddtemp's Introduction

Motivation

The original hddtemp is not maintained far too long. Due to that it was removed from the official repositories of Ubuntu (since 22.04) and Debian (since 12). This tool can be used instead to print the temps:

$ sudo hddtemp-lt
/dev/sda:  WDC WD10EFRX-68FYTN0  28
/dev/sdb:  KINGSTON SHFS37A240G  30

Requirements

  • smartctl (smartmontools package)
    • NVMe support: smartctl v6.5+

Usage

hddtemp-lt
Show temps for all sd and nvme disks.
hddtemp-lt /dev/sda ..
Show temps for selected disks

Options:

-h, --help
Show usage
-q
Suppress warnings
-u, --units=C|F
Use Celsius (default) or Fahrenheit scale
-V, --version
Show version

Output is aligned into columns. Device models can contain spaces like WDC WD10EFRX-68FYTN0 or Samsung SSD 950 PRO 256GB so fields are separated with at least two spaces.

Installation

Fetch the archive either from releases or from the development branch, extract it and put hddtemp-lt under /usr/local/bin/

In case you downloaded the script alone from github by a raw link, be sure to manually make it executable.

If you’d like point a hddtemp symlink to it:

sudo ln -s hddtemp-lt /usr/local/bin/hddtemp

hddtemp's People

Contributors

slowpeek avatar nhm91135 avatar

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.