home *** CD-ROM | disk | FTP | other *** search
- *** systat.h.orig Mon Jun 11 15:32:57 1990
- --- systat.h Tue Jun 12 19:02:55 1990
- ***************
- *** 13,23 ****
- --- 13,32 ----
-
- #include <sys/param.h>
- #include <sys/file.h>
- + #ifndef sun
- #include <sys/dkstat.h>
- + #else
- + #include <sys/dk.h>
- + #endif
-
- #include <netinet/in.h>
- #include <arpa/inet.h>
-
- + #ifdef sun
- + #include <kvm.h>
- + kvm_t *kvm;
- + #endif
- +
- struct p_times {
- short pt_pid;
- float pt_pctcpu;
- ***************
- *** 66,72 ****
- --- 75,87 ----
- struct text *xtext;
-
- double lccpu;
- + #ifdef sun
- + long avenrun[3];
- + # define FSC(x) (((double)(x))/FSCALE) /* floatify avenrun, pctcpu */
- + #else
- double avenrun[3];
- + # define FSC(x) (x)
- + #endif
-
- char *kmemf, *memf, *swapf;
- int hz, phz;
- ***************
- *** 82,89 ****
- --- 97,106 ----
- #define TCP 0x1
- #define UDP 0x2
-
- + #ifndef sun
- struct pte *usrpt;
- struct pte *Usrptma;
- + #endif
-
- WINDOW *wnd;
- int CMDLINE;
-