RoadRunner 3.3.1 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. data/Rakefile +8 -13
  2. data/bin/controller.rb +74 -0
  3. data/bin/host_mgr.rb +69 -0
  4. data/bin/nbd_prepare.sh +87 -0
  5. data/conf/servers.yaml +29 -0
  6. data/controller/dd.sh +91 -0
  7. data/controller/mysql.rb +73 -0
  8. data/controller/mysql.sh +9 -0
  9. data/controller/svn.sh +48 -0
  10. data/controller/wrap.rb +49 -0
  11. data/lib/roadrunner.rb +11 -9
  12. data/lib/rrmonitor.rb +174 -0
  13. data/lib/run.rb +66 -27
  14. data/log/dd.log +129 -0
  15. data/log/log.rb +17 -0
  16. data/log/monitor/Pi-Monitor-Performance/10.250.3.26/Pi-Monitor-Performance/ifstat.log +239 -0
  17. data/log/monitor/Pi-Monitor-Performance/10.250.3.26/Pi-Monitor-Performance/iostat_3.log +668 -0
  18. data/log/monitor/Pi-Monitor-Performance/10.250.3.26/Pi-Monitor-Performance/vmstat_3.log +81 -0
  19. data/log/monitor/Pi-Monitor-Performance/10.250.3.26/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log +2248 -0
  20. data/log/monitor/Pi-Monitor-Performance/10.250.3.26/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log +719 -0
  21. data/log/monitor/Pi-Monitor-Performance/10.250.3.27/Pi-Monitor-Performance/ifstat.log +245 -0
  22. data/log/monitor/Pi-Monitor-Performance/10.250.3.27/Pi-Monitor-Performance/iostat_3.log +677 -0
  23. data/log/monitor/Pi-Monitor-Performance/10.250.3.27/Pi-Monitor-Performance/vmstat_3.log +83 -0
  24. data/log/monitor/Pi-Monitor-Performance/10.250.3.27/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log +2276 -0
  25. data/log/monitor/Pi-Monitor-Performance/10.250.3.27/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log +737 -0
  26. data/log/monitor/Pi-Monitor-Performance/10.250.3.28/Pi-Monitor-Performance/ifstat.log +246 -0
  27. data/log/monitor/Pi-Monitor-Performance/10.250.3.28/Pi-Monitor-Performance/iostat_3.log +677 -0
  28. data/log/monitor/Pi-Monitor-Performance/10.250.3.28/Pi-Monitor-Performance/vmstat_3.log +83 -0
  29. data/log/monitor/Pi-Monitor-Performance/10.250.3.28/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log +2195 -0
  30. data/log/monitor/Pi-Monitor-Performance/10.250.3.28/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log +737 -0
  31. data/log/monitor/Pi-Monitor-Performance/10.250.3.29/Pi-Monitor-Performance/ifstat.log +247 -0
  32. data/log/monitor/Pi-Monitor-Performance/10.250.3.29/Pi-Monitor-Performance/iostat_3.log +686 -0
  33. data/log/monitor/Pi-Monitor-Performance/10.250.3.29/Pi-Monitor-Performance/vmstat_3.log +84 -0
  34. data/log/monitor/Pi-Monitor-Performance/10.250.3.29/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log +2386 -0
  35. data/log/monitor/Pi-Monitor-Performance/10.250.3.29/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log +828 -0
  36. data/log/monitor/Pi-Monitor-Performance/10.250.3.30/Pi-Monitor-Performance/ifstat.log +249 -0
  37. data/log/monitor/Pi-Monitor-Performance/10.250.3.30/Pi-Monitor-Performance/iostat_3.log +686 -0
  38. data/log/monitor/Pi-Monitor-Performance/10.250.3.30/Pi-Monitor-Performance/vmstat_3.log +84 -0
  39. data/log/monitor/Pi-Monitor-Performance/10.250.3.30/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log +2304 -0
  40. data/log/monitor/Pi-Monitor-Performance/10.250.3.30/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log +664 -0
  41. data/log/monitor/Pi-Monitor-Performance/10.250.6.30/Pi-Monitor-Performance/ifstat.log +240 -0
  42. data/log/monitor/Pi-Monitor-Performance/10.250.6.30/Pi-Monitor-Performance/iostat_3.log +1334 -0
  43. data/log/monitor/Pi-Monitor-Performance/10.250.6.30/Pi-Monitor-Performance/vmstat_3.log +82 -0
  44. data/log/monitor/Pi-Monitor-Performance/10.250.6.30/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log +9048 -0
  45. data/log/monitor/Pi-Monitor-Performance/10.250.6.30/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log +968 -0
  46. data/log/stdout.log +0 -0
  47. data/log/stdout.log.20100307 +349 -0
  48. data/log/svn.log +502 -0
  49. data/test/download_processes.rb +38 -0
  50. data/test/pi_monitor.rb +45 -0
  51. metadata +54 -17
  52. data/lib/roadrunner_stdout.log +0 -168
  53. data/lib/roadrunner_stdout.log.20090519 +0 -262
  54. data/lib/roadrunner_stdout.log.20090521 +0 -47
  55. data/lib/roadrunner_stdout.log.20090524 +0 -290
  56. data/test/roadrunner_stdout.log +0 -170
  57. data/test/roadrunner_stdout.log.20090429 +0 -394
@@ -1,394 +0,0 @@
1
- # Logfile created on Tue Apr 28 20:05:14 +0800 2009 by /
2
- connect db ok.
3
- connect db ok.
4
- adapter:sqlite3.connect db faile.
5
- connect db ok.
6
- connect db ok.
7
- connect db ok.
8
- connect db ok.
9
- connect db ok.
10
- connect db ok.
11
- connect db ok.
12
- connect db ok.
13
- connect db ok.
14
- connect db ok.
15
- connect db ok.
16
- connect db ok.
17
- connect db ok.
18
- connect db ok.
19
- table rreports doesn't defined and will be created.
20
- connect db ok.
21
- ***************Performance Reports****************
22
-
23
- user system total real
24
-
25
- 7.469000 0.188000 7.657000 ( 7.703000)
26
-
27
- ----------------------------------------------------------------
28
- The Virtual User is 10.
29
- Total Execute 1000 Action(s).
30
- Total Cost 7.70300006866455 Second(s).
31
- This Scenario's TPS : 129.819549667143.
32
- The longest action cost 0.0470001697540283 seconds.
33
- ----------------Transaction Report----------------
34
- Action : count => 1000 time(s) , cost => 7.67199993133545 second(s)
35
- ----------------------------------------------------------------
36
- User defined params as below:
37
- pi3140.59265383977deep1000
38
- ******************End of Reports******************
39
-
40
- You didn't connect any database.
41
- connect db ok.
42
- ***************Performance Reports****************
43
-
44
- user system total real
45
-
46
- 7.797000 0.125000 7.922000 ( 7.969000)
47
-
48
- ----------------------------------------------------------------
49
- The Virtual User is 10.
50
- Total Execute 1000 Action(s).
51
- Total Cost 7.96900010108948 Second(s).
52
- This Scenario's TPS : 125.486257662776.
53
- The longest action cost 0.0470001697540283 seconds.
54
- ----------------Transaction Report----------------
55
- Action : count => 1000 time(s) , cost => 7.89100027084351 second(s)
56
- ----------------------------------------------------------------
57
- User defined params as below:
58
- pi3140.59265383977deep1000
59
- ******************End of Reports******************
60
-
61
- connect db ok.
62
- ***************Performance Reports****************
63
-
64
- user system total real
65
-
66
- 3.985000 0.000000 3.985000 ( 4.016000)
67
-
68
- ----------------------------------------------------------------
69
- The Virtual User is 10.
70
- Total Execute 1000 Action(s).
71
- Total Cost 4.01600003242493 Second(s).
72
- This Scenario's TPS : 249.003982053303.
73
- The longest action cost 0.0469999313354492 seconds.
74
- ----------------Transaction Report----------------
75
- Action : count => 1000 time(s) , cost => 3.9520001411438 second(s)
76
- ----------------------------------------------------------------
77
- User defined params as below:
78
- pi3140.59265383977deep1000
79
- ******************End of Reports******************
80
-
81
- connect db ok.
82
- ***************Performance Reports****************
83
-
84
- user system total real
85
-
86
- 7.906000 0.234000 8.140000 ( 8.234000)
87
-
88
- ----------------------------------------------------------------
89
- The Virtual User is 10.
90
- Total Execute 1000 Action(s).
91
- Total Cost 8.23399996757507 Second(s).
92
- This Scenario's TPS : 121.447656538491.
93
- The longest action cost 0.0470001697540283 seconds.
94
- ----------------Transaction Report----------------
95
- Action : count => 1000 time(s) , cost => 8.17000007629395 second(s)
96
- ----------------------------------------------------------------
97
- User defined params as below:
98
- pi3140.59265383977deep1000
99
- ******************End of Reports******************
100
-
101
- connect db ok.
102
- ***************Performance Reports****************
103
-
104
- user system total real
105
-
106
- 8.203000 0.234000 8.437000 ( 8.531000)
107
-
108
- ----------------------------------------------------------------
109
- The Virtual User is 10.
110
- Total Execute 1000 Action(s).
111
- Total Cost 8.53099989891052 Second(s).
112
- This Scenario's TPS : 117.219553610323.
113
- The longest action cost 0.0470001697540283 seconds.
114
- ----------------Transaction Report----------------
115
- Action : count => 1000 time(s) , cost => 8.46799993515015 second(s)
116
- ----------------------------------------------------------------
117
- User defined params as below:
118
- pi3140.59265383977deep1000
119
- ******************End of Reports******************
120
-
121
- connect db ok.
122
- ***************Performance Reports****************
123
-
124
- user system total real
125
-
126
- 8.172000 0.219000 8.391000 ( 8.516000)
127
-
128
- ----------------------------------------------------------------
129
- The Virtual User is 10.
130
- Total Execute 1000 Action(s).
131
- Total Cost 8.51600003242493 Second(s).
132
- This Scenario's TPS : 117.426021159285.
133
- The longest action cost 0.0470001697540283 seconds.
134
- ----------------Transaction Report----------------
135
- Action : count => 1000 time(s) , cost => 8.42299962043762 second(s)
136
- ----------------------------------------------------------------
137
- User defined params as below:
138
- pi3140.59265383977deep1000
139
- ******************End of Reports******************
140
-
141
- connect db ok.
142
- ***************Performance Reports****************
143
-
144
- user system total real
145
-
146
- 0.844000 0.016000 0.860000 ( 0.859000)
147
-
148
- ----------------------------------------------------------------
149
- The Virtual User is 10.
150
- Total Execute 100 Action(s).
151
- Total Cost 0.858999967575073 Second(s).
152
- This Scenario's TPS : 116.414439784319.
153
- The longest action cost 0.0470001697540283 seconds.
154
- ----------------Transaction Report----------------
155
- Action : count => 100 time(s) , cost => 0.858999967575073 second(s)
156
- ----------------------------------------------------------------
157
- User defined params as below:
158
- pi314.059265383988deep1000
159
- ******************End of Reports******************
160
-
161
- connect db ok.
162
- ***************Performance Reports****************
163
-
164
- user system total real
165
-
166
- 0.875000 0.000000 0.875000 ( 0.875000)
167
-
168
- ----------------------------------------------------------------
169
- The Virtual User is 10.
170
- Total Execute 100 Action(s).
171
- Total Cost 0.875 Second(s).
172
- This Scenario's TPS : 114.285714285714.
173
- The longest action cost 0.0469999313354492 seconds.
174
- ----------------Transaction Report----------------
175
- Action : count => 100 time(s) , cost => 0.875 second(s)
176
- ----------------------------------------------------------------
177
- User defined params as below:
178
- pi314.059265383988deep1000
179
- ******************End of Reports******************
180
-
181
- connect db ok.
182
- ***************Performance Reports****************
183
-
184
- user system total real
185
-
186
- 0.797000 0.016000 0.813000 ( 0.812000)
187
-
188
- ----------------------------------------------------------------
189
- The Virtual User is 10.
190
- Total Execute 100 Action(s).
191
- Total Cost 0.812000036239624 Second(s).
192
- This Scenario's TPS : 123.152703863291.
193
- The longest action cost 0.0470001697540283 seconds.
194
- ----------------Transaction Report----------------
195
- Action : count => 100 time(s) , cost => 0.812000036239624 second(s)
196
- ----------------------------------------------------------------
197
- User defined params as below:
198
- pi314.059265383988deep1000
199
- ******************End of Reports******************
200
-
201
- connect db ok.
202
- ***************Performance Reports****************
203
-
204
- user system total real
205
-
206
- 0.797000 0.031000 0.828000 ( 0.828000)
207
-
208
- ----------------------------------------------------------------
209
- The Virtual User is 10.
210
- Total Execute 100 Action(s).
211
- Total Cost 0.828000068664551 Second(s).
212
- This Scenario's TPS : 120.772936844421.
213
- The longest action cost 0.0470001697540283 seconds.
214
- ----------------Transaction Report----------------
215
- Action : count => 100 time(s) , cost => 0.828000068664551 second(s)
216
- ----------------------------------------------------------------
217
- User defined params as below:
218
- pi314.059265383988deep1000
219
- ******************End of Reports******************
220
-
221
- connect db ok.
222
- ***************Performance Reports****************
223
-
224
- user system total real
225
-
226
- 0.828000 0.016000 0.844000 ( 0.844000)
227
-
228
- ----------------------------------------------------------------
229
- The Virtual User is 10.
230
- Total Execute 100 Action(s).
231
- Total Cost 0.844000101089478 Second(s).
232
- This Scenario's TPS : 118.483398131013.
233
- The longest action cost 0.0469999313354492 seconds.
234
- ----------------Transaction Report----------------
235
- Action : count => 100 time(s) , cost => 0.844000101089478 second(s)
236
- ----------------------------------------------------------------
237
- User defined params as below:
238
- pi314.059265383988deep1000
239
- ******************End of Reports******************
240
-
241
- connect db ok.
242
- ***************Performance Reports****************
243
-
244
- user system total real
245
-
246
- 0.781000 0.047000 0.828000 ( 0.828000)
247
-
248
- ----------------------------------------------------------------
249
- The Virtual User is 10.
250
- Total Execute 100 Action(s).
251
- Total Cost 0.828000068664551 Second(s).
252
- This Scenario's TPS : 120.772936844421.
253
- The longest action cost 0.0469999313354492 seconds.
254
- ----------------Transaction Report----------------
255
- Action : count => 100 time(s) , cost => 0.828000068664551 second(s)
256
- ----------------------------------------------------------------
257
- User defined params as below:
258
- pi314.059265383988deep1000
259
- ******************End of Reports******************
260
-
261
- connect db ok.
262
- connect db ok.
263
- connect db ok.
264
- connect db ok.
265
- connect db ok.
266
- connect db ok.
267
- connect db ok.
268
- connect db ok.
269
- connect db ok.
270
- connect db ok.
271
- ***************Performance Reports****************
272
-
273
- user system total real
274
-
275
- 0.813000 0.015000 0.828000 ( 0.828000)
276
-
277
- ----------------------------------------------------------------
278
- The Virtual User is 10.
279
- Total Execute 100 Action(s).
280
- Total Cost 0.827999830245972 Second(s).
281
- This Scenario's TPS : 120.772971620409.
282
- The longest action cost 0.0469999313354492 seconds.
283
- ----------------Transaction Report----------------
284
- Action : count => 100 time(s) , cost => 0.827999830245972 second(s)
285
- ----------------------------------------------------------------
286
- User defined params as below:
287
- pi314.059265383988deep1000
288
- ******************End of Reports******************
289
-
290
- connect db ok.
291
- ***************Performance Reports****************
292
-
293
- user system total real
294
-
295
- 0.782000 0.032000 0.814000 ( 0.828000)
296
-
297
- ----------------------------------------------------------------
298
- The Virtual User is 10.
299
- Total Execute 100 Action(s).
300
- Total Cost 0.828000068664551 Second(s).
301
- This Scenario's TPS : 120.772936844421.
302
- The longest action cost 0.0469999313354492 seconds.
303
- ----------------Transaction Report----------------
304
- Action : count => 100 time(s) , cost => 0.828000068664551 second(s)
305
- ----------------------------------------------------------------
306
- User defined params as below:
307
- pi314.059265383988deep1000
308
- ******************End of Reports******************
309
-
310
- connect db ok.
311
- table rreports doesn't defined and will be created.
312
- create table rreports successful.
313
- ***************Performance Reports****************
314
-
315
- user system total real
316
-
317
- 0.828000 0.016000 0.844000 ( 0.843000)
318
-
319
- ----------------------------------------------------------------
320
- The Virtual User is 10.
321
- Total Execute 100 Action(s).
322
- Total Cost 0.842999935150146 Second(s).
323
- This Scenario's TPS : 118.623971165774.
324
- The longest action cost 0.0469999313354492 seconds.
325
- ----------------Transaction Report----------------
326
- Action : count => 100 time(s) , cost => 0.796000242233276 second(s)
327
- ----------------------------------------------------------------
328
- User defined params as below:
329
- pi314.059265383988deep1000
330
- ******************End of Reports******************
331
-
332
- records has saved in DB.
333
- connect db ok.
334
- ***************Performance Reports****************
335
-
336
- user system total real
337
-
338
- 0.781000 0.016000 0.797000 ( 0.828000)
339
-
340
- ----------------------------------------------------------------
341
- The Virtual User is 10.
342
- Total Execute 100 Action(s).
343
- Total Cost 0.827999830245972 Second(s).
344
- This Scenario's TPS : 120.772971620409.
345
- The longest action cost 0.0469999313354492 seconds.
346
- ----------------Transaction Report----------------
347
- Action : count => 100 time(s) , cost => 0.827999830245972 second(s)
348
- ----------------------------------------------------------------
349
- User defined params as below:
350
- pi314.059265383988deep1000
351
- ******************End of Reports******************
352
-
353
- connect db ok.
354
- ***************Performance Reports****************
355
-
356
- user system total real
357
-
358
- 0.750000 0.063000 0.813000 ( 0.828000)
359
-
360
- ----------------------------------------------------------------
361
- The Virtual User is 10.
362
- Total Execute 100 Action(s).
363
- Total Cost 0.828000068664551 Second(s).
364
- This Scenario's TPS : 120.772936844421.
365
- The longest action cost 0.0469999313354492 seconds.
366
- ----------------Transaction Report----------------
367
- Action : count => 100 time(s) , cost => 0.828000068664551 second(s)
368
- ----------------------------------------------------------------
369
- User defined params as below:
370
- pi314.059265383988deep1000
371
- ******************End of Reports******************
372
-
373
- scenario may be needed.
374
- connect db ok.
375
- ***************Performance Reports****************
376
-
377
- user system total real
378
-
379
- 0.563000 0.000000 0.563000 ( 0.563000)
380
-
381
- ----------------------------------------------------------------
382
- The Virtual User is 10.
383
- Total Execute 100 Action(s).
384
- Total Cost 0.563000202178955 Second(s).
385
- This Scenario's TPS : 177.619829642999.
386
- The longest action cost 0.0470001697540283 seconds.
387
- ----------------Transaction Report----------------
388
- Action : count => 100 time(s) , cost => 0.563000202178955 second(s)
389
- ----------------------------------------------------------------
390
- User defined params as below:
391
- pi314.059265383988deep1000
392
- ******************End of Reports******************
393
-
394
- records has saved in DB.