ddn.util.monaco.platform.linux
Types 3
structsysinfo_t
Fields
long uptimeulong[3] loadsulong totalramulong freeramulong sharedramulong bufferramulong totalswapulong freeswapushort procsulong totalhighulong freehighuint mem_unitchar[20 - 2 * long.sizeof - int.sizeof] _fstructrusage_t
Fields
timeval_t ru_utimetimeval_t ru_stimelong ru_maxrsslong ru_ixrsslong ru_idrsslong ru_isrsslong ru_minfltlong ru_majfltlong ru_nswaplong ru_inblocklong ru_oublocklong ru_msgsndlong ru_msgrcvlong ru_nsignalslong ru_nvcswlong ru_nivcswNested Templates
timeval_tstructTuple(T...)
Helper struct for tuple return.
Fields
T valuesFunctions 13
fn
int sysinfo(sysinfo_t * info)fn
int getrusage(int who, rusage_t * usage)fn
rusage_t getResourceUsage(int who = RUSAGE_SELF) @trustedGets resource usage for the current process.fn
string[string] parseKeyValuePairs(string content) @safe nothrowParses a /proc file and extracts key-value pairs.Variables 3
enumvar
RUSAGE_SELF = 0enumvar
RUSAGE_CHILDREN = - 1enumvar
RUSAGE_THREAD = 1