[SunHELP] command to check if a file is open and something is writing to it

sunhelp at sunhelp.org sunhelp at sunhelp.org
Tue Jul 15 16:45:22 CDT 2003


I need to write a script to check if /var/adm/messages log is open and
something is writing to it.  What command should I use to check that
event, for example lsof command?

Regards,
David



More information about the SunHELP mailing list