in reply to Using flag files to monitor cluster jobs

If you're working on an operating system that has some kind of file monitoring or file notification system, you can avoid the (admittedly simple) sleep loop by registering interest in file creation or deletion. SGI::FAM is an old module that gives access to SGI's FAM library. (See The Watchful Eye of FAM for more.)

  • Comment on Re: Using flag files to monitor cluster jobs