date and time created 83/10/01 12:21:05 by sam
[unix-history] / usr / src / usr.bin / systat / systat.h
CommitLineData
b50325b5
SL
1/* systat.h 1.1 83/10/01 */
2
3#include <sys/param.h>
4#include <sys/dir.h>
5#include <sys/user.h>
6#include <sys/proc.h>
7#include <sys/timeb.h>
8#include <sys/vm.h>
9#include <sys/file.h>
10
11#include <machine/pte.h>
12
13#include <nlist.h>
14#include <pwd.h>
15#include <math.h>
16#include <curses.h>
17#include <signal.h>
18#include <ctype.h>
19
20struct nlist nlst[];
21
22struct p_times {
23 short pt_pid;
24 float pt_pctcpu;
25 int pt_uid;
26 int pt_paddr;
27 struct proc *pt_pp;
28} *pt;
29
30struct procs {
31 int pid;
32 char cmd[16];
33} procs[200];
34int numprocs;
35
36struct users {
37 int k_uid;
38 char k_name[16];
39} known[30];
40
41char *kmemf;
42char *memf;
43char *swapf;
44int kmem;
45int mem;
46int swap;
47int pcbpf;
48int argaddr;
49int col;
50long nproc;
51long procp;
52double ccpu;
53double lccpu;
54char *malloc();
55char *namp;
56char *strncpy();
57char c;
58char hostname[32];
59int numprocs;
60int numknown;
61int naptime;
62int maxind;
63long getw();
64float total;
65int factor;
66double lave;
67int dellave;
68struct passwd *getpwuid();
69char pidname[30];
70struct pte *usrpt;
71struct pte *Usrptma;
72
73WINDOW *wnd;