Class: Sys::ProcTableStructs::KInfoLWP

Inherits:
FFI::Struct
  • Object
show all
Includes:
Sys::ProcTableConstants
Defined in:
lib/bsd/sys/dragonfly/sys/proctable/structs.rb

Constant Summary

Constants included from Sys::ProcTableConstants

Sys::ProcTableConstants::KERN_PROC_ALL, Sys::ProcTableConstants::KERN_PROC_PID, Sys::ProcTableConstants::MAXCOMLEN, Sys::ProcTableConstants::MAXLOGNAME, Sys::ProcTableConstants::NGROUPS, Sys::ProcTableConstants::WMESGLEN

Instance Method Summary collapse

Instance Method Details

#commObject



235
236
237
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 235

def comm
  self[:kl_comm].to_s
end

#cpticksObject



191
192
193
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 191

def cpticks
  self[:kl_cpticks]
end

#cpuidObject



211
212
213
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 211

def cpuid
  self[:kl_cpuid]
end

#estcpuObject



207
208
209
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 207

def estcpu
  self[:kl_estcpu]
end

#flagsObject



151
152
153
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 151

def flags
  self[:kl_flags]
end

#iticksObject



187
188
189
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 187

def iticks
  self[:kl_iticks]
end

#lockObject



159
160
161
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 159

def lock
  self[:kl_lock]
end

#origcpuObject



203
204
205
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 203

def origcpu
  self[:kl_origcpu]
end

#pctcpuObject



195
196
197
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 195

def pctcpu
  self[:kl_pctcpu]
end

#pidObject



143
144
145
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 143

def pid
  self[:kl_pid]
end

#prioObject



167
168
169
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 167

def prio
  self[:kl_prio]
end

#rtprioObject



175
176
177
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 175

def rtprio
  self[:kl_rtprio]
end

#ruObject



215
216
217
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 215

def ru
  self[:kl_ru]
end

#siglistObject



219
220
221
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 219

def siglist
  self[:kl_siglist]
end

#sigmaskObject



223
224
225
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 223

def sigmask
  self[:kl_sigmask]
end

#slptimeObject



199
200
201
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 199

def slptime
  self[:kl_slptime]
end

#statObject



155
156
157
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 155

def stat
  self[:kl_stat]
end

#sticksObject



183
184
185
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 183

def sticks
  self[:kl_sticks]
end

#tdflagsObject



163
164
165
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 163

def tdflags
  self[:kl_tdflags]
end

#tdprioObject



171
172
173
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 171

def tdprio
  self[:kl_tdprio]
end

#tidObject



147
148
149
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 147

def tid
  self[:kl_tid]
end

#uticksObject



179
180
181
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 179

def uticks
  self[:kl_uticks]
end

#wchanObject



227
228
229
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 227

def wchan
  self[:kl_wchan]
end

#wmesgObject



231
232
233
# File 'lib/bsd/sys/dragonfly/sys/proctable/structs.rb', line 231

def wmesg
  self[:kl_wmesg].to_s
end