Skip to content
Snippets Groups Projects
  1. Nov 22, 2011
  2. Jul 29, 2011
  3. Apr 25, 2011
  4. Apr 18, 2011
  5. Apr 04, 2011
  6. Feb 27, 2011
  7. Feb 25, 2011
  8. Feb 09, 2011
  9. Jan 29, 2011
  10. Jan 11, 2011
  11. Nov 05, 2010
  12. Sep 16, 2010
  13. Aug 11, 2010
  14. Aug 03, 2010
  15. Jul 29, 2010
  16. Jul 26, 2010
  17. Jul 22, 2010
  18. Jul 16, 2010
  19. Jul 08, 2010
  20. Jun 04, 2010
    • Mark Harrison's avatar
      Store the file handle as well as the pid in children. (fixes #14) · 54a78eb3
      Mark Harrison authored
      It is used in the clean up function. Incidentally, this fixes a really
      annoying issue where the check timeout functionality broken. The cause of the
      check timeout functionality breaking was a scoping issue - the reader file
      handle falls out of scope when the alarm fires and dies, and it waits until
      the process finishes before passing control back to resmon. Storing the file
      handle prevents it from being cleaned up until after we kill the process in
      the clean_up function later on.
      
      git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@416 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
      54a78eb3
    • Mark Harrison's avatar
      Remove the stub Resmon::ExtComm and Resmon::Module modules (refs #12) · 36603d3a
      Mark Harrison authored
      It's too much of a pain to have to change the built in versions of the modules
      in the testmod script each time the resmon code changes, and it leads to odd
      behavior with the testmod script that isn't present when run with resmon
      itself.
      
      The downside is that the testmod script is no longer standalone, and needs to
      reference the resmon source code if it is moved out of the resmon tree. This
      isn't as much of an issue as the testmod script by default is in the resources
      directory of the resmon source and can be run direct from there.
      
      git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@415 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
      36603d3a
    • Mark Harrison's avatar
      Greatly simplify how run_command works. (refs #14) · 7ca9e9c3
      Mark Harrison authored
      The original intent was to fix bad behavior when a command doesn't exist. Upon
      looking further into the implementation of the run_command function, I
      realized that using open achieved the same effect (backticks but we get a
      process id out of it) without a lot of code that didn't quite work when the
      exec failed.
      
      git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@414 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
      7ca9e9c3
Loading