This is a cryptographically signed message in MIME format. --------------msBFE7E1F50329A7F50C52CFCE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'd like to thank the following individuals for their responses: djast@cs.toronto.edu ModregoK@bancsabadell.com nick.hindley@lbhf.gov.uk FrederiP@ritchie.disa.mil This was nick.hindley@lbhf.gov.uk reply: "There is a perl module, file_tail which may give you the functionality you want for dealing with files that are truncated/moved renamed." I downloaded and installed File::Tail. It works well w/ standard ASCII/Text-based files, but when feeding it to an app such as acctcom it doesn't function properly because it (acctom) receives its records (data) from stdin instead of opening /var/adm/pacct. File::Tail doesn't have the capabilites to take the last <n> of characters, only lines. djast@cs.toronto.edu hit the nail square dab on its head: "That's because it's "tail -f" that's waiting for more input, not acctcom. Just because "tail" is waiting for more input doesn't magically make acctcom produce more output. "You can't push a rope." Do things the other way around: use "tail -f" to continuously follow /var/adm/pacct and feed it to acctcom: tail -40cf /var/adm/pacct | acctcom Note that you need to make sure that "tail"'s output doesn't start in the middle of an accounting record. Hence the "40c" to take the last 40 characters (one record) from the file--note that the number 40 for the record size is not guaranteed to be portable between releases of the operating system. You could also do something like "-9999f" to make tail send the entire file to acctcom. (Acctcom automatically notices that its input isn't a terminal, and receives its accounting records from stdin instead of opening /var/adm/pacct.)" Now, the only problem is, when /var/adm/pacct recycles tail is oblivious to it, but I can live w/ it. I'll just have to restart the cmd once the file has reached its end. But, I do recommend File::Tail for ASCII/Text files, especially for files such as /var/log/syslog, which recycles itself as well as /var/adm/messages. Thanks to everyone mentioned above that took the time to respond. - Wally Winzer Jr. --------------msBFE7E1F50329A7F50C52CFCE Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIKQgYJKoZIhvcNAQcCoIIKMzCCCi8CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC B84wggSYMIIEAaADAgECAhBDUy+pLRs51r5VDFJj5KOOMA0GC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3DQMCAgEo MA0GCSqGSIb3DQEBAQUABIGAfVR4b+Bh7FjfbaRIWnzI8PT9gQyd5ENL/IS1CbQ+P2UyfCAD reUrHLEaWZMq9FlfekYrSgDZmLOxfC5uQ/pLLKD4LUB6tLUK+SahJ746YYBr4fxxIZ5Tk90X mqEx7ekDRqZUzTHBuScuF/qb7Dpk3HYfi6GJ2jIIKX+IHMjDTGw= --------------msBFE7E1F50329A7F50C52CFCE--Received on Wed Jul 18 19:12:18 2001
This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:59 EDT