Permalink
Browse files

Also need to use that config setting here.

  • Loading branch information...
1 parent c8fa217 commit be97554de49e83bdbdd4f1ee239ad48df00fa3b2 @watsonian committed Sep 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mem_watcher.rb
View
@@ -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!

0 comments on commit be97554

Please sign in to comment.