xref: /freebsd/usr.bin/top/layout.h (revision ebacd8013fe5f7fdf9f6a5b286f6680dd2891036)
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  * $FreeBSD$
9  */
10 
11 extern int  x_lastpid;		/* 10 */
12 extern int  y_lastpid;		/* 0 */
13 extern int  x_loadave;		/* 33 */
14 extern int  x_loadave_nompid;	/* 15 */
15 extern int  y_loadave;		/* 0 */
16 extern int  x_procstate;	/* 0 */
17 extern int  y_procstate;	/* 1 */
18 extern int  x_brkdn;		/* 15 */
19 extern int  y_brkdn;		/* 1 */
20 extern int  x_mem;		/* 5 */
21 extern int  y_mem;		/* 3 */
22 extern int  x_arc;		/* 5 */
23 extern int  y_arc;		/* 4 */
24 extern int  x_carc;		/* 5 */
25 extern int  y_carc;		/* 5 */
26 extern int  x_swap;		/* 6 */
27 extern int  y_swap;		/* 4 */
28 extern int  y_message;		/* 5 */
29 extern int  x_header;		/* 0 */
30 extern int  y_header;		/* 6 */
31 extern int  x_idlecursor;	/* 0 */
32 extern int  y_idlecursor;	/* 5 */
33 extern int  y_procs;		/* 7 */
34 
35 extern int  y_cpustates;	/* 2 */
36