From a7f2de2a1d1fb7b5c8b3ba277ea66f01e692dd18 Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Mon, 31 Jul 2000 10:43:44 +0000 Subject: [lcd4linux @ 2000-07-31 10:43:44 by reinelt] some changes to support kernel-2.4 (different layout of various files in /proc) --- system.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'system.h') 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); -- cgit v1.2.3