Changeset View
Changeset View
Standalone View
Standalone View
top.h
/* | /* | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
/* | /* | ||||
* Top - a top users display for Berkeley Unix | * Top - a top users display for Berkeley Unix | ||||
* | * | ||||
* General (global) definitions | * General (global) definitions | ||||
*/ | */ | ||||
#ifndef TOP_H | |||||
#define TOP_H | |||||
/* Current major version number */ | /* Current major version number */ | ||||
#define VERSION 3 | #define VERSION 3 | ||||
/* Number of lines of header information on the standard screen */ | /* Number of lines of header information on the standard screen */ | ||||
extern int Header_lines; /* 7 */ | extern int Header_lines; /* 7 */ | ||||
/* Maximum number of columns allowed for display */ | /* Maximum number of columns allowed for display */ | ||||
#define MAX_COLS 512 | #define MAX_COLS 512 | ||||
Show All 24 Lines | |||||
/* | /* | ||||
* Format modifiers | * Format modifiers | ||||
*/ | */ | ||||
#define FMT_SHOWARGS 0x00000001 | #define FMT_SHOWARGS 0x00000001 | ||||
extern enum displaymodes displaymode; | extern enum displaymodes displaymode; | ||||
extern int pcpu_stats; | extern int pcpu_stats; | ||||
#endif /* TOP_H */ |