- fixed totally bogus rates

- tweaked bar graph scale
- added basic kb handler
- split out sent/recv lines
This commit is contained in:
pdw
2002-03-25 22:35:38 +00:00
parent 067ad4dc6a
commit 513f146b57
4 changed files with 245 additions and 37 deletions

View File

@@ -6,9 +6,9 @@
#ifndef __IFTOP_H_ /* include guard */
#define __IFTOP_H_
/* 5 * 60 / 3 */
#define HISTORY_LENGTH 100
#define RESOLUTION 3
/* 60 / 3 */
#define HISTORY_LENGTH 20
#define RESOLUTION 1
typedef struct {
long recv[HISTORY_LENGTH];