Commit | Line | Data |
---|---|---|
e405f699 SL |
1 | #ifndef lint |
2 | static char sccsid[] = "@(#)cmdtab.c 1.1 (Lucasfilm) %G%"; | |
3 | #endif | |
4 | ||
5 | #include "systat.h" | |
6 | ||
7 | int showpigs(), fetchpigs(), labelpigs(), initpigs(), closepigs(); | |
8 | WINDOW *openpigs(); | |
9 | int showswap(), fetchswap(), labelswap(), initswap(), closeswap(); | |
10 | WINDOW *openswap(); | |
11 | int showmbufs(), fetchmbufs(), labelmbufs(), initmbufs(), closembufs(); | |
12 | WINDOW *openmbufs(); | |
13 | int showiostat(), fetchiostat(), labeliostat(), initiostat(), closeiostat(); | |
14 | WINDOW *openiostat(); | |
15 | ||
16 | struct cmdtab cmdtab[] = { | |
17 | { "pigs", showpigs, fetchpigs, labelpigs, | |
18 | initpigs, openpigs, closepigs }, | |
19 | { "swap", showswap, fetchswap, labelswap, | |
20 | initswap, openswap, closeswap }, | |
21 | { "mbufs", showmbufs, fetchmbufs, labelmbufs, | |
22 | initmbufs, openmbufs, closembufs }, | |
23 | { "iostat", showiostat, fetchiostat, labeliostat, | |
24 | initiostat, openiostat, closeiostat }, | |
25 | { 0 } | |
26 | }; | |
27 | struct cmdtab *curcmd = &cmdtab[0]; |