in reply to List all open log files

You could write a small Perl script to capture the output of the Unix command lsof for this purpose, it shows all files on the system that are in use by processes. You will need root privs to use it and select the type of logfiles you're interested in.
lsof has a lot of options to track file size changes etc.

Replies are listed 'Best First'.
Re^2: List all open log files
by betterworld (Curate) on Mar 31, 2007 at 23:00 UTC
    You will need root privs to use it
    I don't know about HP-UX, but on Linux the user privileges of the process which is writing the logs will suffice.
Re^2: List all open log files
by blazar (Canon) on Apr 01, 2007 at 10:30 UTC
Re^2: List all open log files
by Anonymous Monk on Apr 01, 2007 at 02:59 UTC

    Thanks varian.

    I dont have the roor privilege

    Could I know the logic of the lsof command please?

    Regards,

    Patta

      Generally speaking lsof consults the 'files' in the /proc directory, hence realtime kernel memory structures. Refer to the manual pages (man lsof) for more details.

      If you do not have root privs then the lsof command will only show open files for processes that you own so not sure if that would do you much good?