xref: /freebsd/usr.bin/top/layout.h (revision a64729f5077d77e13b9497cb33ecb3c82e606ee8)
1 /*
2  *  Top - a top users display for Berkeley Unix
3  *
4  *  This file defines the locations on tne screen for various parts of the
5  *  display.  These definitions are used by the routines in "display.c" for
6  *  cursor addressing.
7  */
8 
9 extern int  x_lastpid;		/* 10 */
10 extern int  y_lastpid;		/* 0 */
11 extern int  x_loadave;		/* 33 */
12 extern int  x_loadave_nompid;	/* 15 */
13 extern int  y_loadave;		/* 0 */
14 extern int  x_procstate;	/* 0 */
15 extern int  y_procstate;	/* 1 */
16 extern int  x_brkdn;		/* 15 */
17 extern int  y_brkdn;		/* 1 */
18 extern int  x_mem;		/* 5 */
19 extern int  y_mem;		/* 3 */
20 extern int  x_arc;		/* 5 */
21 extern int  y_arc;		/* 4 */
22 extern int  x_carc;		/* 5 */
23 extern int  y_carc;		/* 5 */
24 extern int  x_swap;		/* 6 */
25 extern int  y_swap;		/* 4 */
26 extern int  y_message;		/* 5 */
27 extern int  x_header;		/* 0 */
28 extern int  y_header;		/* 6 */
29 extern int  x_idlecursor;	/* 0 */
30 extern int  y_idlecursor;	/* 5 */
31 extern int  y_procs;		/* 7 */
32 
33 extern int  y_cpustates;	/* 2 */
34