Package oshi.jna.platform.unix
Interface OpenBsdLibc
-
- All Superinterfaces:
CLibrary,com.sun.jna.platform.unix.LibCAPI,com.sun.jna.Library,com.sun.jna.platform.unix.Reboot,com.sun.jna.platform.unix.Resource
public interface OpenBsdLibc extends CLibrary
C library. This class should be considered non-API as it may be removed if/when its code is incorporated into the JNA project.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOpenBsdLibc.BcachestatsOpenBSD Cache stats for memorystatic classOpenBsdLibc.TimevalReturn type for BSD sysctl kern.boottime-
Nested classes/interfaces inherited from interface oshi.jna.platform.unix.CLibrary
CLibrary.Addrinfo, CLibrary.BsdIp6stat, CLibrary.BsdIpstat, CLibrary.BsdTcpstat, CLibrary.BsdUdpstat, CLibrary.Sockaddr
-
-
Field Summary
Fields Modifier and Type Field Description static intCP_IDLEstatic intCP_INTRstatic intCP_NICEstatic intCP_SYSstatic intCP_USERstatic intCPUSTATESstatic intCTL_HWstatic intCTL_KERNstatic intCTL_MACHDEPstatic intCTL_VFSstatic intCTL_VMstatic intHW_CPUSPEEDstatic intHW_MACHINEstatic intHW_MODELstatic intHW_NCPUFOUNDstatic intHW_NCPUONLINEstatic intHW_PAGESIZEstatic intHW_SMTstatic OpenBsdLibcINSTANCEstatic intINT_SIZEstatic intKERN_ARGMAXstatic intKERN_CPTIMEstatic intKERN_CPTIME2static intKERN_MAXPROCstatic intKERN_MAXVNODESstatic intKERN_OSRELEASEstatic intKERN_OSREVstatic intKERN_OSTYPEstatic intKERN_VERSIONstatic intUINT64_SIZEstatic intVFS_BCACHESTATstatic intVFS_GENERICstatic intVM_UVMEXP-
Fields inherited from interface oshi.jna.platform.unix.CLibrary
AI_CANONNAME, LOGIN_PROCESS, USER_PROCESS, UT_HOSTSIZE, UT_LINESIZE, UT_NAMESIZE
-
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_SYMBOL_PROVIDER, OPTION_TYPE_MAPPER
-
Fields inherited from interface com.sun.jna.platform.unix.Reboot
RB_AUTOBOOT, RB_DISABLE_CAD, RB_ENABLE_CAD, RB_HALT_SYSTEM, RB_KEXEC, RB_POWER_OFF, RB_SW_SUSPEND
-
Fields inherited from interface com.sun.jna.platform.unix.Resource
RLIMIT_AS, RLIMIT_CORE, RLIMIT_CPU, RLIMIT_DATA, RLIMIT_FSIZE, RLIMIT_LOCKS, RLIMIT_MEMLOCK, RLIMIT_MSGQUEUE, RLIMIT_NICE, RLIMIT_NLIMITS, RLIMIT_NOFILE, RLIMIT_NPROC, RLIMIT_RSS, RLIMIT_RTPRIO, RLIMIT_RTTIME, RLIMIT_SIGPENDING, RLIMIT_STACK
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetthrid()Returns the thread ID of the calling thread.-
Methods inherited from interface oshi.jna.platform.unix.CLibrary
endutxent, freeaddrinfo, gai_strerror, getaddrinfo, getpid, open, pread, setutxent, sysctl, sysctlbyname, sysctlnametomib
-
-
-
-
Field Detail
-
INSTANCE
static final OpenBsdLibc INSTANCE
-
CTL_KERN
static final int CTL_KERN
- See Also:
- Constant Field Values
-
CTL_VM
static final int CTL_VM
- See Also:
- Constant Field Values
-
CTL_HW
static final int CTL_HW
- See Also:
- Constant Field Values
-
CTL_MACHDEP
static final int CTL_MACHDEP
- See Also:
- Constant Field Values
-
CTL_VFS
static final int CTL_VFS
- See Also:
- Constant Field Values
-
KERN_OSTYPE
static final int KERN_OSTYPE
- See Also:
- Constant Field Values
-
KERN_OSRELEASE
static final int KERN_OSRELEASE
- See Also:
- Constant Field Values
-
KERN_OSREV
static final int KERN_OSREV
- See Also:
- Constant Field Values
-
KERN_VERSION
static final int KERN_VERSION
- See Also:
- Constant Field Values
-
KERN_MAXVNODES
static final int KERN_MAXVNODES
- See Also:
- Constant Field Values
-
KERN_MAXPROC
static final int KERN_MAXPROC
- See Also:
- Constant Field Values
-
KERN_ARGMAX
static final int KERN_ARGMAX
- See Also:
- Constant Field Values
-
KERN_CPTIME
static final int KERN_CPTIME
- See Also:
- Constant Field Values
-
KERN_CPTIME2
static final int KERN_CPTIME2
- See Also:
- Constant Field Values
-
VM_UVMEXP
static final int VM_UVMEXP
- See Also:
- Constant Field Values
-
HW_MACHINE
static final int HW_MACHINE
- See Also:
- Constant Field Values
-
HW_MODEL
static final int HW_MODEL
- See Also:
- Constant Field Values
-
HW_PAGESIZE
static final int HW_PAGESIZE
- See Also:
- Constant Field Values
-
HW_CPUSPEED
static final int HW_CPUSPEED
- See Also:
- Constant Field Values
-
HW_NCPUFOUND
static final int HW_NCPUFOUND
- See Also:
- Constant Field Values
-
HW_SMT
static final int HW_SMT
- See Also:
- Constant Field Values
-
HW_NCPUONLINE
static final int HW_NCPUONLINE
- See Also:
- Constant Field Values
-
VFS_GENERIC
static final int VFS_GENERIC
- See Also:
- Constant Field Values
-
VFS_BCACHESTAT
static final int VFS_BCACHESTAT
- See Also:
- Constant Field Values
-
CPUSTATES
static final int CPUSTATES
- See Also:
- Constant Field Values
-
CP_USER
static final int CP_USER
- See Also:
- Constant Field Values
-
CP_NICE
static final int CP_NICE
- See Also:
- Constant Field Values
-
CP_SYS
static final int CP_SYS
- See Also:
- Constant Field Values
-
CP_INTR
static final int CP_INTR
- See Also:
- Constant Field Values
-
CP_IDLE
static final int CP_IDLE
- See Also:
- Constant Field Values
-
UINT64_SIZE
static final int UINT64_SIZE
-
INT_SIZE
static final int INT_SIZE
-
-