1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 153 unchanged lines hidden (view full) --- 162 uint32_t totalswap; /* Total swap space size */ 163 uint32_t freeswap; /* swap space still available */ 164 uint16_t procs; /* Number of current processes */ 165 uint32_t totalhigh; /* Total high memory size */ 166 uint32_t freehigh; /* Available high memory size */ 167 uint32_t mem_unit; /* Memory unit size in bytes */ 168 } tgt_sysinfo; 169 |
170 /// Resource constants for getrlimit() (overide some generics). 171 static const unsigned TGT_RLIMIT_NPROC = 7; 172 static const unsigned TGT_RLIMIT_NOFILE = 6; |
173}; 174 175#endif |