1997-03-23 18:51:21 +00:00
|
|
|
/*
|
|
|
|
* Top - a top users display for Berkeley Unix
|
|
|
|
*
|
|
|
|
* This file defines the locations on tne screen for various parts of the
|
|
|
|
* display. These definitions are used by the routines in "display.c" for
|
|
|
|
* cursor addressing.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define x_lastpid 10
|
|
|
|
#define y_lastpid 0
|
|
|
|
#define x_loadave 33
|
|
|
|
#define x_loadave_nompid 15
|
|
|
|
#define y_loadave 0
|
|
|
|
#define x_procstate 0
|
|
|
|
#define y_procstate 1
|
|
|
|
#define x_brkdn 15
|
|
|
|
#define y_brkdn 1
|
1997-03-23 18:53:01 +00:00
|
|
|
#define x_mem 5
|
1997-03-23 18:51:21 +00:00
|
|
|
#define y_mem 3
|
1997-03-23 18:53:01 +00:00
|
|
|
#define x_swap 6
|
|
|
|
#define y_swap 4
|
|
|
|
#define y_message 5
|
1997-03-23 18:51:21 +00:00
|
|
|
#define x_header 0
|
1997-03-23 18:53:01 +00:00
|
|
|
#define y_header 6
|
1997-03-23 18:51:21 +00:00
|
|
|
#define x_idlecursor 0
|
1997-03-23 18:53:01 +00:00
|
|
|
#define y_idlecursor 5
|
|
|
|
#define y_procs 7
|
1997-03-23 18:51:21 +00:00
|
|
|
|
|
|
|
#define y_cpustates 2
|