Registry / utility / dswarbrick-smart

dswarbrick-smart

JSON →
library0.0.0-20230625164221-6fe037e2b05fgogounverified

Pure Go library for reading SMART data from storage devices.

go get github.com/dswarbrick/smart
INSTALL
IMPORT
SIG · DSWARBRICK-SMART
D
dswarbrick-smart
utilitygov0.0.0-20230625164221-6fe037e2b05f
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

smart
github.com/dswarbrick/smart

Retrieves SMART device information for a given disk.

package main import ( "fmt" "github.com/dswarbrick/smart" ) func main() { device := "/dev/sda" info, err := smart.GetDeviceInfo(device) if err != nil { panic(err) } fmt.Printf("Model: %s\n", info.Model) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230625164221-6fe037e2b05flatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
dswarbrick-smart — go get dswarbrick-smart · libregistry