/* SCCS_ID @(#)sysmon.h    	1.2	 12:02:08 - 82/08/13 */

#ifndef LOCALS_INCLUDED
# include <sys/local.h>
#endif

#define NDRIVES         16
#define BUFTHRES        5
#define MSM             2
#define MSM1            4
#define MSM2            5
#define MSM3            6

long    time;

struct  sysmon  {

	struct  dkmon   {

	long    access[NDRIVES];
	long    caches[NDRIVES];
	long    nseeks[NDRIVES];
	long    sseeks[NDRIVES];
	long    atimes;
	long    sizes;
	long    cskqlen;
	long    cioqlen;
	long    nerrors;
	long    neccs;
	}       hpmon, swapmon;

	long    nraheads;
	long    ndwrites;
	long    nondkcaches;

	struct  ttymon {
	long    nreads;
	long    nrchars;
	long    ratimes;
	long    mwrites;
	long    nwchars;
	long    watimes;
	}       dhmon, dzmon, lpmon;

	long    cnfbuf;
	long    nrbuf;
	long    nbthres;
	long    bthres;
	long    nfbuf;
	}       sysmon;
