[RndTbl] process accouting, fields meaning?

Grigory Shamov Grigory.Shamov at umanitoba.ca
Wed Apr 27 12:33:21 CDT 2016

Hi Trevor,

Thanks, man 5 acct was useful!
 I've also learned from it that times are in clock ticks.

Grigory Shamov

Westgrid/ComputeCanada Site Lead
University of Manitoba
E2-588 EITC Building,
(204) 474-9625

On 16-04-27 12:10 AM, "roundtable-bounces at muug.mb.ca on behalf of Trevor
Cordes" <roundtable-bounces at muug.mb.ca on behalf of trevor at tecnopolis.ca>

>On 2016-04-26 Grigory Shamov wrote:
>> sh               |   0.0|   0.0|  11.0|    0|    0|107328.0|   19284
>> 3258|Tue Apr 26 04:17:07 2016
>> First three floats are runtimes, then UID|GID; last is the date it
>> ended. Googling brought me "memory" and "io" for the two other fields
>> but I am still at loss.
>> What is memory here? And why io is two numbers (read/write? Which is
>> which?) 
>Man do the man pages for this whole subsystem suck!
>"man 5 acct" is the closest I get to something useful.  From the C
>struct shown, excluding the "unused" lines, I would hazard a guess that
>memory is "Average memory usage (kB)" and the 2 numbers aren't io but
>minor/major page faults.  That actually jives with the numbers you
>You should be easily be able to confirm if it's pf's by running:
>time commandfoo
>(at least on tcsh)
>My shell shows me pagefaults major+minor when I set:
>set time = (1 "%U+%Sc %Es %P %X+%D<%Mk | %w+%ccs %F+%Rpg %Wsw %ksg")
>If the pf from time lines up with what acct says then voila.
>"Average memory usage" is a bit of a weird stat, but could be handy.
>Maybe Adam can speak more to that.
>Roundtable mailing list
>Roundtable at muug.mb.ca

More information about the Roundtable mailing list