ruby-changes:30264
From: naruse <ko1@a...>
Date: Fri, 2 Aug 2013 02:11:38 +0900 (JST)
Subject: [ruby-changes:30264] naruse:r42316 (trunk): Show more portable and detailed info on NoMemoryError ref #8711
naruse 2013-08-02 02:11:27 +0900 (Fri, 02 Aug 2013) New Revision: 42316 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42316 Log: Show more portable and detailed info on NoMemoryError ref #8711 Modified files: trunk/test/runner.rb Index: test/runner.rb =================================================================== --- test/runner.rb (revision 42315) +++ test/runner.rb (revision 42316) @@ -30,6 +30,6 @@ begin https://github.com/ruby/ruby/blob/trunk/test/runner.rb#L30 exit Test::Unit::AutoRunner.run(true, src_testdir) rescue NoMemoryError system("cat /proc/meminfo") if File.exist?("/proc/meminfo") - system("ps x -opid,cmd,%mem,rss,size,vsz") if File.exist?("/bin/ps") + system("ps x -opid,args,%cpu,%mem,nlwp,rss,vsz,wchan,stat,start,time,etime,blocked,caught,ignored,pending,f") if File.exist?("/bin/ps") raise end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/