Messages in this thread |  | | Subject | Re: new goo for acct.h struct? | Date | Tue, 2 Jul 1996 13:05:16 +0200 (MET DST) | From | "Carsten Paeth" <> |
| |
> > While we are at it: the current sizeof(struct acct) is 52. I think > it would be nice to round it up to a nice power of 2 (64 or 128). > Sometimes (after a crash) fsck likes to set the file size based on > the number of blocks - most likely not a multiple of 52, and it > confuses the accounting tools. Some padding (just in case we want > to add something later) would be nice too. > > One more idea for accounting: log the device/inode of the executable. > Sometimes more reliable than the command name (which the user can > change to anything by creating a link to the program).
I like this idea. I vote for 128 bytes, 'cause if we add pid, ppid, mem, io and rw, we are over 64 bytes.
> > Marek >
calle -- calle@calle.in-berlin.de
|  |