Well, if this is for accounting, recording it at process death would be a good idea. (I've always thought that acct should also record the inode number and dev_t of the program because the process name can be a lie, but that's a separate issue). Erik E. Fair fair@clock.org