...

Source file src/github.com/shirou/gopsutil/disk/disk_openbsd_amd64.go

Documentation: github.com/shirou/gopsutil/disk

     1  // Code generated by cmd/cgo -godefs; DO NOT EDIT.
     2  // cgo -godefs types_openbsd.go
     3  
     4  package disk
     5  
     6  const (
     7  	DEVSTAT_NO_DATA = 0x00
     8  	DEVSTAT_READ    = 0x01
     9  	DEVSTAT_WRITE   = 0x02
    10  	DEVSTAT_FREE    = 0x03
    11  )
    12  
    13  const (
    14  	sizeOfDiskstats = 0x70
    15  )
    16  
    17  type Diskstats struct {
    18  	Name       [16]int8
    19  	Busy       int32
    20  	Pad_cgo_0  [4]byte
    21  	Rxfer      uint64
    22  	Wxfer      uint64
    23  	Seek       uint64
    24  	Rbytes     uint64
    25  	Wbytes     uint64
    26  	Attachtime Timeval
    27  	Timestamp  Timeval
    28  	Time       Timeval
    29  }
    30  type Timeval struct {
    31  	Sec  int64
    32  	Usec int64
    33  }
    34  
    35  type Diskstat struct{}
    36  type Bintime struct{}
    37  

View as plain text