linux.hh (6415:d6f1c81980e2) | linux.hh (6640:30d92d2b66a1) |
---|---|
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007-2008 The Florida State University 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 133 unchanged lines hidden (view full) --- 142 uint32_t st_atime_nsec; 143 uint32_t st_mtimeX; 144 uint32_t st_mtime_nsec; 145 uint32_t st_ctimeX; 146 uint32_t st_ctime_nsec; 147 uint64_t st_ino; 148 } tgt_stat64; 149 | 1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007-2008 The Florida State University 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 133 unchanged lines hidden (view full) --- 142 uint32_t st_atime_nsec; 143 uint32_t st_mtimeX; 144 uint32_t st_mtime_nsec; 145 uint32_t st_ctimeX; 146 uint32_t st_ctime_nsec; 147 uint64_t st_ino; 148 } tgt_stat64; 149 |
150 typedef struct { 151 int32_t uptime; /* Seconds since boot */ 152 uint32_t loads[3]; /* 1, 5, and 15 minute load averages */ 153 uint32_t totalram; /* Total usable main memory size */ 154 uint32_t freeram; /* Available memory size */ 155 uint32_t sharedram; /* Amount of shared memory */ 156 uint32_t bufferram; /* Memory used by buffers */ 157 uint32_t totalswap; /* Total swap space size */ 158 uint32_t freeswap; /* swap space still available */ 159 uint16_t procs; /* Number of current processes */ 160 uint32_t totalhigh; /* Total high memory size */ 161 uint32_t freehigh; /* Available high memory size */ 162 uint32_t mem_unit; /* Memory unit size in bytes */ 163 } tgt_sysinfo; 164 |
|
150 151}; 152 153#endif | 165 166}; 167 168#endif |