Annotation of researchv9/sys/h/acct.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Accounting structures;
        !             3:  * these use a comp_t type which is a 3 bits base 8
        !             4:  * exponent, 13 bit fraction ``floating point'' number.
        !             5:  */
        !             6: typedef        u_short comp_t;
        !             7: 
        !             8: struct acct
        !             9: {
        !            10:        char    ac_comm[10];            /* Accounting command name */
        !            11:        comp_t  ac_utime;               /* Accounting user time */
        !            12:        comp_t  ac_stime;               /* Accounting system time */
        !            13:        comp_t  ac_etime;               /* Accounting elapsed time */
        !            14:        time_t  ac_btime;               /* Beginning time */
        !            15:        short   ac_uid;                 /* Accounting user ID */
        !            16:        short   ac_gid;                 /* Accounting group ID */
        !            17:        short   ac_mem;                 /* average memory usage */
        !            18:        comp_t  ac_io;                  /* number of disk IO blocks */
        !            19:        dev_t   ac_tty;                 /* control typewriter */
        !            20:        char    ac_flag;                /* Accounting flag */
        !            21: };
        !            22: 
        !            23: #define        AFORK   01              /* has executed fork, but no exec */
        !            24: #define        ASU     02              /* used super-user privileges */
        !            25: #define ASTINY 04              /* done a tiny read from the disk */

unix.superglobalmegacorp.com

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