gitrev.sh: disable dirty-tree check
[dragonfly.git] / contrib / top / layout.h
blob0faa8d5a4ed09507263841a7f948ee37b17e824e
1 /*
2 * Top - a top users display for Berkeley Unix
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 */
9 #define x_lastpid 10
10 #define y_lastpid 0
11 #define x_loadave 33
12 #define x_loadave_nompid 15
13 #define y_loadave 0
14 #define x_procstate 0
15 #define y_procstate 1
16 #define x_brkdn 15
17 #define y_brkdn 1
18 #define x_mem 5
19 #define y_mem (y_cpustates+(smart_terminal?n_cpus:1))
20 #define x_swap 6
21 #define y_swap (y_mem+1)
22 #define y_message (y_swap+1)
23 #define x_header 0
24 #define y_header (y_message+1)
25 #define x_idlecursor 0
26 #define y_idlecursor (y_message)
27 #define y_procs (y_header+1)
29 #define y_cpustates 2