Sun OS accounting file format

Dinah Anderson dinah at shell.UUCP
Tue Jun 6 05:13:02 AEST 1989


We are trying to write our own program to create accouting reports.
According to the man page, the data ytpe for some of the fields is:

     /*
      * Accounting structures;
      * these use a comp_t type which is a 3 bits base 8
      * exponent, 13 bit fraction ``floating point'' number.
      */

Can someone help me understand how to interpret this field?
Also does anyone know what the units are for the fields :

             comp_t   ac_utime;      /* Accounting user time */
             comp_t   ac_stime;      /* Accounting system time */
             comp_t   ac_etime;      /* Accounting elapsed time */
    
The man page does not say.

Thanks!


Dinah Anderson 
Shell Oil Company, Information Center (713) 795-3287
..!{sun,psuvax,bcm,rice}!shell!dinah



More information about the Comp.unix.questions mailing list