changeset 10:48c3ad9cb64c

fix
author Daichi TOMA
date Mon, 15 Jul 2013 09:52:52 +0900
parents 678c260c0dc7
children 0beb45ff4aac
files loop_qsub.sh stress_write.rb stress_write.sh
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/loop_qsub.sh	Sat Jul 13 06:19:04 2013 +0900
+++ b/loop_qsub.sh	Mon Jul 15 09:52:52 2013 +0900
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 start=1
-finish=15
+finish=45
 
 for i in `seq $start $finish`
 do
--- a/stress_write.rb	Sat Jul 13 06:19:04 2013 +0900
+++ b/stress_write.rb	Mon Jul 15 09:52:52 2013 +0900
@@ -13,7 +13,7 @@
   count = ARGV[1].to_i
   count.times {|i|
     uri = URI.parse('http://133.13.56.3:8080/editMessage?bname=hello%20world&uuid=0')
-    res = Net::HTTP.post_form(uri, {:author =>'shoshi', :bname =>'hello world', :uuid =>'0', :key =>'0', :msg =>'hogehoge'})
+    res = Net::HTTP.post_form(uri, {:author =>'shoshi', :bname =>'hello world', :uuid =>'0', :key =>'0', :msg =>"hogehoge #{i}"})
   }
 }
 puts r.real
--- a/stress_write.sh	Sat Jul 13 06:19:04 2013 +0900
+++ b/stress_write.sh	Mon Jul 15 09:52:52 2013 +0900
@@ -2,7 +2,7 @@
 #
 #PBS -q tqueue
 #PBS -N write_jungle_bldsv10
-#PBS -l walltime=00:05:00
+#PBS -l walltime=05:00:00
 
 script=/home/mass/share/student/k128569/benchmark/stress_write.rb