Documentation
¶
Overview ¶
Package drive reports storage information for the jarvisfriends devices-* family: physical disks and their specs as static values, volume usage and I/O rates as dynamic ones. Works without cgo on Windows and Linux.
Sources: ghw for the physical disk inventory (model, size, drive type, controller, serial), gopsutil for volumes, usage, and I/O counters. Synthetic block devices (snap loops, device-mapper views, zram) are filtered out the same way harvest's inventory does, and each exclusion is reported as a gap so a short list is explainable.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector implements devices.Collector for the drive category.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
devices-drive
command
Command devices-drive reports storage specs and live readings using the shared devices-common CLI: one-shot, --json, --every 0.25, --tui, --web.
|
Command devices-drive reports storage specs and live readings using the shared devices-common CLI: one-shot, --json, --every 0.25, --tui, --web. |
Click to show internal directories.
Click to hide internal directories.