diff options
author | reinelt <> | 2000-07-31 10:43:44 +0000 |
---|---|---|
committer | reinelt <> | 2000-07-31 10:43:44 +0000 |
commit | a7f2de2a1d1fb7b5c8b3ba277ea66f01e692dd18 (patch) | |
tree | a9166e080f3ac5e3675bfa3fad68942d47ff955d /system.h | |
parent | 06b37e4a51870eca00dc50dfb12d8b2dae027071 (diff) | |
download | lcd4linux-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.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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); |