#define FOREVER	    while(1)
#define MAXPROC	    1000

#define LNMLEN	    255
#define MSGLEN	    255
#define USERNAMLEN  13
#define TERMLEN	    9

#define	WARN	    0
#define	PUNT	    1



/* Structure to hold info about each process */
struct process
    {
    unsigned int    mpid;		    /* master pid in process tree     */
    unsigned int    pid;		    /* process id		      */
    char	    usernam[USERNAMLEN];    /* username			      */
    unsigned int    cputim;		    /* cputime used		      */
    char	    term[TERMLEN];	    /* terminal			      */
    unsigned short  tmocnt;		    /* # of passes w/o using more cpu */
    unsigned short  mode;		    /* execution mode		      */
    }; 
