Documentation ¶
Overview ¶
Package parted extracts useful info from the lsscsi on linux
Csv output is particularly supported, so that a csvfile-based enterprise's ETL tools can also monitor its servers and desktops
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Keys_String2PtrScsidata ¶
Keys_String2PtrScsidata is generic
func SortedKeys_String2PtrScsidata ¶
SortedKeys_String2PtrScsidata is generic
Types ¶
type Scsidata ¶
type Scsidata struct { Device_ string // e.g. /dev/sda Generic_ string // e.g. /dev/sg0 Host_ string // e.g. scsi0 Channel_ string // e.g. 0 Target_ string // e.g. 01 LUN_ string // e.g. 0 Devicetype_ string // e.g. disk Vendor_ string // e.g. ATA Model_ string // e.g. ST4000DM000-1F21 Revision_ string // e.g. CC52 Device_blocked_ string // e.g. 0 Iocounterbits_ string // e.g. 32 Iodone_cnt_ string // e.g. 0x2816e7 Ioerr_cnt_ string // e.g. 0x13a74 Iorequest_cnt_ string // e.g. 0x284812 Queue_depth_ string // e.g. 31 Queue_type_ string // e.g. simple Scsi_level_ string // e.g. 6 State_ string // e.g. running Timeout_ string // e.g. 30 Type_ string // e.g. 0 Transport_ string // e.g. ISCSI or sata Targetname_ string }
Scsdidata holds scsi data
Click to show internal directories.
Click to hide internal directories.