[前][次][番号順一覧][スレッド一覧]

ruby-changes:22448

From: naruse <ko1@a...>
Date: Thu, 9 Feb 2012 03:30:02 +0900 (JST)
Subject: [ruby-changes:22448] naruse:r34497 (trunk): FreeBSD needs multiple -o.

naruse	2012-02-09 03:29:52 +0900 (Thu, 09 Feb 2012)

  New Revision: 34497

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34497

  Log:
    FreeBSD needs multiple -o.

  Modified files:
    trunk/test/ruby/memory_status.rb

Index: test/ruby/memory_status.rb
===================================================================
--- test/ruby/memory_status.rb	(revision 34496)
+++ test/ruby/memory_status.rb	(revision 34497)
@@ -59,7 +59,7 @@
       end
     end
   else
-    PSCMD = ["ps", "-o", "vsz=,rss=", "-p"]
+    PSCMD = ["ps", "-ovsz=","-orss=", "-p"]
     PAT = /^\s*(\d+)\s+(\d+)$/
 
     keys << :size << :rss

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]