Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!bcm!shell!dinah From: dinah@shell.UUCP (Dinah Anderson) Newsgroups: comp.unix.questions Subject: Sun OS accounting file format Message-ID: <1171@shell.shell.com> Date: 5 Jun 89 19:13:02 GMT Sender: usenet@shell.com Reply-To: dinah@shell.UUCP (Dinah Anderson) Organization: Shell Oil Company, Houston TX Lines: 24 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