Annotation of coherent/a/usr/include.b4ps2/sys/coh_ps.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Define useful symbols for use in the ps program.
        !             3:  */
        !             4: #ifndef MONITOR_H      /* Rest of file.  */
        !             5: #define MONITOR_H
        !             6: 
        !             7: #define        ARGSZ   64      /* size of argument list */
        !             8: 
        !             9: /*
        !            10:  * This structure contains fields of interest to the ps command.
        !            11:  */
        !            12: typedef struct {
        !            13:        unsigned p_pid;                 /* Process id */
        !            14:        unsigned p_ppid;                /* Process id of parent */
        !            15:        unsigned p_uid;                 /* Effective uid */
        !            16:        unsigned p_ruid;                /* Real uid */
        !            17:        unsigned p_rgid;                /* Real gid */
        !            18:        unsigned p_state;               /* Scheduling state */
        !            19:        unsigned p_flags;               /* Flags */
        !            20:        char     *p_event;              /* Wakeup event channel */
        !            21:        dev_t    p_ttdev;               /* Controlling terminal */
        !            22:        unsigned p_nice;                /* Nice value */
        !            23:        short    size;                  /* Size of the process */
        !            24:        short    rsize;                 /* Real size of the process */
        !            25:        unsigned p_cval;                /* Cpu schedule value */
        !            26:        unsigned p_sval;                /* Swap schedule value */
        !            27:        int      p_ival;                /* Importance value */
        !            28:        unsigned p_rval;                /* Response value */
        !            29:        long     p_utime;               /* User time (HZ) */
        !            30:        long     p_stime;               /* System time */
        !            31:        unsigned char   rrun;           /* Ready to run */
        !            32:        char     u_comm[U_COMM_LEN];    /* Command name */
        !            33:        char     u_sleep[10];           /* Sleep on event */
        !            34:        char     pr_argv[ARGSZ];        /* Insert the argument vector here. */
        !            35: } stMonitor;
        !            36: 
        !            37: #endif /* MONITOR_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.