doxygenate
This commit is contained in:
+15
-15
@@ -7,19 +7,19 @@
|
|||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
unsigned long total;
|
unsigned long total; /**< total # of processes (since last call) */
|
||||||
unsigned long user;
|
unsigned long user; /**< # of processes in user mode (since last call) */
|
||||||
unsigned long system;
|
unsigned long system; /**< # of processes in kernel mode (since last call) */
|
||||||
unsigned long nice;
|
unsigned long nice; /**< # of 'niced' processes in user mode (since last call) */
|
||||||
unsigned long idle;
|
unsigned long idle; /**< # of processes idling (since last call) */
|
||||||
} load_type;
|
} load_type;
|
||||||
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
char dev[256]; /**< device */
|
char dev[256]; /**< device name */
|
||||||
char type[64]; /**< file system type (as string) */
|
char type[64]; /**< file system type (as string) */
|
||||||
char mpoint[256]; /**< mount point */
|
char mpoint[256]; /**< mount point name */
|
||||||
long bsize; /**< transfer block size */
|
long bsize; /**< transfer block size */
|
||||||
long blocks; /**< total data blocks in file system */
|
long blocks; /**< total data blocks in file system */
|
||||||
long bfree; /**< free blocks in fs */
|
long bfree; /**< free blocks in fs */
|
||||||
@@ -30,19 +30,19 @@ typedef struct
|
|||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
int total;
|
int total; /**< total memory (in kB) */
|
||||||
int cache;
|
int cache; /**< memory in page cache (in kB) */
|
||||||
int buffers;
|
int buffers; /**< memory in buffer cache (in kB) */
|
||||||
int free;
|
int free; /**< free memory (in kB) */
|
||||||
int shared;
|
int shared; /**< ??? (in KB) */
|
||||||
} meminfo_type;
|
} meminfo_type;
|
||||||
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
char name[16];
|
char name[16]; /**< process name */
|
||||||
int totl;
|
int totl; /**< process memory usage (in kB) */
|
||||||
int number;
|
int number; /**< incstances of the process */
|
||||||
} procinfo_type;
|
} procinfo_type;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user