Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Also need to use that config setting here.

  • Loading branch information...
commit be97554de49e83bdbdd4f1ee239ad48df00fa3b2 1 parent c8fa217
@watsonian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/mem_watcher.rb
View
2  lib/mem_watcher.rb
@@ -74,7 +74,7 @@ def update_max_memused!(cur_meminfo)
def save_process_list!(cur_meminfo)
FileUtils.mkdir_p(settings.log_dir)
- system("ps auxf > log/procs/`date \"+%Y%m%d_%H%M%S-#{@@max_memused}-#{cur_meminfo.memused}\"`.snapshot.out")
+ system("ps auxf > #{settings.log_dir}/`date \"+%Y%m%d_%H%M%S-#{@@max_memused}-#{cur_meminfo.memused}\"`.snapshot.out")
end
def check_cleanup!
Please sign in to comment.
Something went wrong with that request. Please try again.