aboutsummaryrefslogtreecommitdiffstats
path: root/system.h
diff options
context:
space:
mode:
authorreinelt <>2000-07-31 10:43:44 +0000
committerreinelt <>2000-07-31 10:43:44 +0000
commita7f2de2a1d1fb7b5c8b3ba277ea66f01e692dd18 (patch)
treea9166e080f3ac5e3675bfa3fad68942d47ff955d /system.h
parent06b37e4a51870eca00dc50dfb12d8b2dae027071 (diff)
downloadlcd4linux-a7f2de2a1d1fb7b5c8b3ba277ea66f01e692dd18.tar.gz
[lcd4linux @ 2000-07-31 10:43:44 by reinelt]
some changes to support kernel-2.4 (different layout of various files in /proc)
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 d8870f9..90b48f3 100644
--- a/system.h
+++ b/system.h
@@ -1,4 +1,4 @@
-/* $Id: system.h,v 1.7 2000/05/21 06:20:35 reinelt Exp $
+/* $Id: system.h,v 1.8 2000/07/31 10:43:44 reinelt Exp $
*
* system status retreivement
*
@@ -20,6 +20,10 @@
*
*
* $Log: system.h,v $
+ * Revision 1.8 2000/07/31 10:43:44 reinelt
+ *
+ * some changes to support kernel-2.4 (different layout of various files in /proc)
+ *
* Revision 1.7 2000/05/21 06:20:35 reinelt
*
* added ppp throughput
@@ -65,7 +69,7 @@ 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);
-int Net (int *rx, int *tx);
+int Net (int *rx, int *tx, int *bytes);
int PPP (int unit, int *rx, int *tx);
int Sensor (int index, double *val, double *min, double *max);