@Name(value="struct sysinfo") @Properties(inherit=linux.class) public class sysinfo extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
sysinfo()
Default native constructor.
|
sysinfo(long size)
Native array allocator.
|
sysinfo(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
BytePointer |
_f() |
long |
bufferram() |
sysinfo |
bufferram(long setter) |
long |
freehigh() |
sysinfo |
freehigh(long setter) |
long |
freeram() |
sysinfo |
freeram(long setter) |
long |
freeswap() |
sysinfo |
freeswap(long setter) |
CLongPointer |
loads() |
long |
loads(int i) |
sysinfo |
loads(int i,
long setter) |
int |
mem_unit() |
sysinfo |
mem_unit(int setter) |
short |
pad() |
sysinfo |
pad(short setter) |
sysinfo |
position(long position) |
short |
procs() |
sysinfo |
procs(short setter) |
long |
sharedram() |
sysinfo |
sharedram(long setter) |
long |
totalhigh() |
sysinfo |
totalhigh(long setter) |
long |
totalram() |
sysinfo |
totalram(long setter) |
long |
totalswap() |
sysinfo |
totalswap(long setter) |
long |
uptime() |
sysinfo |
uptime(long setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public sysinfo()
public sysinfo(long size)
Pointer.position(long)
.public sysinfo(Pointer p)
Pointer.Pointer(Pointer)
.public long uptime()
public sysinfo uptime(long setter)
public sysinfo loads(int i, long setter)
@MemberGetter @Cast(value="unsigned long*") public CLongPointer loads()
public sysinfo totalram(long setter)
public sysinfo freeram(long setter)
public sysinfo sharedram(long setter)
public sysinfo bufferram(long setter)
public sysinfo totalswap(long setter)
public sysinfo freeswap(long setter)
public sysinfo procs(short setter)
public sysinfo pad(short setter)
public sysinfo totalhigh(long setter)
public sysinfo freehigh(long setter)
public sysinfo mem_unit(int setter)
@MemberGetter @Cast(value="char*") public BytePointer _f()
Copyright © 2020. All rights reserved.