https://github.com/alttch/shd
Show pretty HDD/SSD list
https://github.com/alttch/shd
hdd management monitoring smart ssd system table
Last synced: about 2 months ago
JSON representation
Show pretty HDD/SSD list
- Host: GitHub
- URL: https://github.com/alttch/shd
- Owner: alttch
- License: mit
- Created: 2020-02-20T00:54:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-04T18:38:14.000Z (6 months ago)
- Last Synced: 2025-03-30T08:11:25.582Z (about 2 months ago)
- Topics: hdd, management, monitoring, smart, ssd, system, table
- Language: Rust
- Homepage:
- Size: 114 KB
- Stars: 49
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Show pretty HDD/SSD list
Long time ago when I've switched from Solaris to Linux, I missed the "hd"
utility. In Linux "hd" command is used for hex dump, in Solaris it displayed a
pretty table with HDD info.I had written "shd" shell script with a similar functionality. After I rewrote
it in Python, added options and pretty colors. The current version 0.1 comes in
Rust, as statically built binaries for x86\_64 Linux, i686, ARM and AARCH64.
## Installation
Install *smartmontools (>=7.0)*, then download the appropriate binary from the
[releases](https://github.com/alttch/shd/releases) page, chmod +x and enjoy.## Usage
```
shd [-h] [--temp-warn TEMP] [--temp-crit TEMP] [-R] [-y] [-e] [-s] [-f]--temp-warn TEMP Warning temperature, default: 40 C
--temp-crit TEMP Critical temperature, default: 45 C
-f, --fahrenheit Temperature in Fahrenheit
-R, --raw Suppress colors
-y, --full Display full disk info
-e, --errors Display only disks with errors / critical temperature
-s, --no-header Suppress header
```## Exit codes
* **1** critical temperature
* **2** errors detected
* **3** smartctl errorThe tool considers a drive has errors if its smart status is either not
reported or reported as passed=false.