diff options
author | joerg <joerg@FreeBSD.org> | 1997-03-23 18:51:21 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1997-03-23 18:51:21 +0000 |
commit | 1b9d0472b72177a604d3c5dd26d25eec00049bd2 (patch) | |
tree | 1409de2219944c7c90248988b70ac693cf71206d /contrib/top/layout.h | |
download | FreeBSD-src-1b9d0472b72177a604d3c5dd26d25eec00049bd2.zip FreeBSD-src-1b9d0472b72177a604d3c5dd26d25eec00049bd2.tar.gz |
This is the long-awaited import of top into the base system (actually,
the src/contrib/top part right now). This tools is simply too system-
dependant to maintain it in the ports collection.
Diffstat (limited to 'contrib/top/layout.h')
-rw-r--r-- | contrib/top/layout.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/contrib/top/layout.h b/contrib/top/layout.h new file mode 100644 index 0000000..77ce102 --- /dev/null +++ b/contrib/top/layout.h @@ -0,0 +1,27 @@ +/* + * 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 +#define x_mem 8 +#define y_mem 3 +#define y_message 4 +#define x_header 0 +#define y_header 5 +#define x_idlecursor 0 +#define y_idlecursor 4 +#define y_procs 6 + +#define y_cpustates 2 |