aboutsummaryrefslogtreecommitdiffstats
path: root/system.h
diff options
context:
space:
mode:
authorreinelt <>2000-03-17 09:21:42 +0000
committerreinelt <>2000-03-17 09:21:42 +0000
commit460091fb43bca600d3839eacfe43034146f3e957 (patch)
treeb272ca66f110226c95ebe528e2bfabfbe3139853 /system.h
parentc97b6d95897c59e2098e45ee58aab61ec3703d22 (diff)
downloadlcd4linux-460091fb43bca600d3839eacfe43034146f3e957.tar.gz
[lcd4linux @ 2000-03-17 09:21:42 by reinelt]
various memory statistics added
Diffstat (limited to 'system.h')
-rw-r--r--system.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/system.h b/system.h
index 50246e6..5cb5e0e 100644
--- a/system.h
+++ b/system.h
@@ -1,4 +1,4 @@
-/* $Id: system.h,v 1.4 2000/03/10 17:36:02 reinelt Exp $
+/* $Id: system.h,v 1.5 2000/03/17 09:21:42 reinelt Exp $
*
* system status retreivement
*
@@ -20,6 +20,10 @@
*
*
* $Log: system.h,v $
+ * Revision 1.5 2000/03/17 09:21:42 reinelt
+ *
+ * various memory statistics added
+ *
* Revision 1.4 2000/03/10 17:36:02 reinelt
*
* first unstable but running release
@@ -32,7 +36,6 @@
*
* minor cleanups
*
- *
*/
#ifndef _SYSTEM_H_
@@ -44,6 +47,7 @@ char *System (void);
char *Release (void);
char *Processor (void);
int Memory (void);
+int Ram (int *total, int *free, int *shared, int *buffered, int *cached);
int Load (double *load1, double *load2, double *load3);
int Busy (double *user, double *nice, double *system, double *idle);
int Disk (int *r, int *w);