mu 5.7.32 → 5.7.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/mu/command/cmd_runscale.rb +12 -6
  2. data/version.rb +1 -1
  3. metadata +84 -94
@@ -293,14 +293,14 @@ class Mu
293
293
  filename = "app_id_stats.csv"
294
294
  msg "Update stats to: #{File.expand_path(filename)}", Logger::INFO
295
295
  unless File.exists?(filename)
296
- heading = "scenario,executed,errors,timeouts,client_tx_bytes,client_tx_msgs,client_tx_bitrate,client_rx_bytes,client_rx_msgs,client_rx_bitrate,server_tx_bytes,server_tx_msgs,server_tx_bitrate,server_rx_bytes,server_rx_msgs,server_rx_bitrate,total_instances"
296
+ heading = "scenario,executed,errors,timeouts,client_tx_bytes,client_tx_msgs,client_tx_bitrate,client_rx_bytes,client_rx_msgs,client_rx_bitrate,server_tx_bytes,server_tx_msgs,server_tx_bitrate,server_rx_bytes,server_rx_msgs,server_rx_bitrate,total_instances,max_active_tcp_connections"
297
297
  File.open(filename, 'a'){|f| f.puts(heading)}
298
298
  end
299
299
  @row = [msl_file,@executed,@errors,@timeouts,
300
300
  @client_tx_bytes,@client_tx_msgs,@client_tx_bitrate,
301
301
  @client_rx_bytes,@client_rx_msgs,@client_rx_bitrate,
302
302
  @server_tx_bytes,@server_tx_msgs,@server_tx_bitrate,
303
- @server_rx_bytes,@server_rx_msgs,@server_rx_bitrate,@total_instances]
303
+ @server_rx_bytes,@server_rx_msgs,@server_rx_bitrate,@total_instances,@max_active_tcp_connections ]
304
304
  File.open(filename, 'a'){|f| f.puts(@row.join(','))}
305
305
  end
306
306
 
@@ -364,10 +364,15 @@ class Mu
364
364
  end
365
365
  end
366
366
 
367
- @stats_summary = status["status"]["statistics"]["summary"]
368
- @duration = @stats_summary["duration"]
369
- @instances = @stats_summary["instances"]
370
- @total_instances = @instances["total"]
367
+ @stats_summary = status["status"]["statistics"]["summary"]
368
+ @duration = @stats_summary["duration"]
369
+ @instances = @stats_summary["instances"]
370
+ @total_instances = @instances["total"]
371
+ @opened_tcp_connections = @stats_summary["opened_tcp_connections"]
372
+ @active_tcp_connections = @stats_summary["active_tcp_connections"]
373
+ @max_active_tcp_connections = 0 if @max_active_tcp_connections.nil?
374
+ @max_active_tcp_connections = (@active_tcp_connections > @max_active_tcp_connections) ? @active_tcp_connections : @max_active_tcp_connections
375
+ @closed_tcp_connections = @stats_summary["closed_tcp_connections"]
371
376
  @executed = @instances["executed"]
372
377
  @timeouts = @instances["timeouts"]
373
378
  @errors = @instances["errors"]
@@ -426,6 +431,7 @@ class Mu
426
431
  msg "server tx msgs/sec #{format_float(2, @server_tx_msgs.to_f / @duration)}" if @duration.to_i > 0
427
432
  msg "server rx bytes/sec #{format_float(2, @server_rx_bytes.to_f / @duration)}" if @duration.to_i > 0
428
433
  msg "server rx msgs/sec #{format_float(2, @server_rx_msgs.to_f / @duration)}" if @duration.to_i > 0
434
+ msg "active tcp conns: #{@active_tcp_connections}"
429
435
  msg ""
430
436
  end
431
437
 
data/version.rb CHANGED
@@ -1 +1 @@
1
- VERSION='5.7.32'
1
+ VERSION='5.7.33'
metadata CHANGED
@@ -1,158 +1,148 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mu
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 5.7.33
4
5
  prerelease:
5
- version: 5.7.32
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - MuEng
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-07-08 00:00:00 -07:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2011-07-12 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: nokogiri
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &21107060 !ruby/object:Gem::Requirement
20
17
  none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
24
21
  version: 1.4.4
25
22
  type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: rest-client
29
23
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *21107060
25
+ - !ruby/object:Gem::Dependency
26
+ name: rest-client
27
+ requirement: &21106460 !ruby/object:Gem::Requirement
31
28
  none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
35
32
  version: 1.6.1
36
33
  type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: mime-types
40
34
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *21106460
36
+ - !ruby/object:Gem::Dependency
37
+ name: mime-types
38
+ requirement: &21105860 !ruby/object:Gem::Requirement
42
39
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: "1.16"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '1.16'
47
44
  type: :runtime
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: json
51
45
  prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *21105860
47
+ - !ruby/object:Gem::Dependency
48
+ name: json
49
+ requirement: &21105340 !ruby/object:Gem::Requirement
53
50
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: "0"
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
58
55
  type: :runtime
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: hexy
62
56
  prerelease: false
63
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *21105340
58
+ - !ruby/object:Gem::Dependency
59
+ name: hexy
60
+ requirement: &21104680 !ruby/object:Gem::Requirement
64
61
  none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
68
65
  version: 0.1.1
69
66
  type: :runtime
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
72
- name: uuid
73
67
  prerelease: false
74
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *21104680
69
+ - !ruby/object:Gem::Dependency
70
+ name: uuid
71
+ requirement: &21104060 !ruby/object:Gem::Requirement
75
72
  none: false
76
- requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
79
76
  version: 2.0.2
80
77
  type: :runtime
81
- version_requirements: *id006
82
- description: |-
83
- The Mu gem allows users to include mu libraries within scripts
84
- that interact with mu appliance software. The gem also supplies command line interfaces
85
- to many of these same libraries
86
- email:
78
+ prerelease: false
79
+ version_requirements: *21104060
80
+ description: ! "The Mu gem allows users to include mu libraries within scripts\n that
81
+ interact with mu appliance software. The gem also supplies command line interfaces\n
82
+ \ to many of these same libraries"
83
+ email:
87
84
  - info@mudynamics.com
88
- executables:
85
+ executables:
89
86
  - mu
90
87
  extensions: []
91
-
92
88
  extra_rdoc_files: []
93
-
94
- files:
95
- - lib/mu/api/ddt.rb
96
- - lib/mu/api/homepage.rb
97
- - lib/mu/api/muapi.rb
89
+ files:
90
+ - lib/mu.rb
91
+ - lib/mu/har.rb
92
+ - lib/mu/http_helper.rb
93
+ - lib/mu/client.rb
98
94
  - lib/mu/api/netconfig.rb
99
- - lib/mu/api/scale.rb
95
+ - lib/mu/api/muapi.rb
96
+ - lib/mu/api/homepage.rb
100
97
  - lib/mu/api/system.rb
101
- - lib/mu/client.rb
98
+ - lib/mu/api/scale.rb
99
+ - lib/mu/api/ddt.rb
100
+ - lib/mu/helper.rb
101
+ - lib/mu/maker.rb
102
+ - lib/mu/command/cmd_homepage.rb
102
103
  - lib/mu/command/api.rb
103
104
  - lib/mu/command/cmd_ddt.rb
104
- - lib/mu/command/cmd_homepage.rb
105
+ - lib/mu/command/cmd_scale.rb
106
+ - lib/mu/command/curl.rb
105
107
  - lib/mu/command/cmd_muapi.rb
108
+ - lib/mu/command/help.rb
106
109
  - lib/mu/command/cmd_musl.rb
107
- - lib/mu/command/cmd_netconfig.rb
108
- - lib/mu/command/cmd_runanalysis.rb
110
+ - lib/mu/command/cmd_system.rb
109
111
  - lib/mu/command/cmd_runscale.rb
110
112
  - lib/mu/command/cmd_runscenario.rb
113
+ - lib/mu/command/cmd_runanalysis.rb
114
+ - lib/mu/command/cmd_netconfig.rb
111
115
  - lib/mu/command/cmd_runverify.rb
112
- - lib/mu/command/cmd_scale.rb
113
- - lib/mu/command/cmd_system.rb
114
- - lib/mu/command/curl.rb
115
- - lib/mu/command/help.rb
116
116
  - lib/mu/command.rb
117
117
  - lib/mu/curl/error.rb
118
118
  - lib/mu/curl/verify.rb
119
- - lib/mu/har.rb
120
- - lib/mu/helper.rb
121
- - lib/mu/http_helper.rb
122
- - lib/mu/maker.rb
123
- - lib/mu.rb
124
119
  - bin/mu
125
120
  - Mu_Gem.html
126
121
  - version.rb
127
122
  - LICENSE.txt
128
123
  - README.rdoc
129
- has_rdoc: true
130
124
  homepage: http://www.mudynamics.com
131
125
  licenses: []
132
-
133
126
  post_install_message:
134
127
  rdoc_options: []
135
-
136
- require_paths:
128
+ require_paths:
137
129
  - lib
138
- required_ruby_version: !ruby/object:Gem::Requirement
130
+ required_ruby_version: !ruby/object:Gem::Requirement
139
131
  none: false
140
- requirements:
141
- - - ">="
142
- - !ruby/object:Gem::Version
132
+ requirements:
133
+ - - ! '>='
134
+ - !ruby/object:Gem::Version
143
135
  version: 1.8.7
144
- required_rubygems_version: !ruby/object:Gem::Requirement
136
+ required_rubygems_version: !ruby/object:Gem::Requirement
145
137
  none: false
146
- requirements:
147
- - - ">="
148
- - !ruby/object:Gem::Version
149
- version: "0"
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
150
142
  requirements: []
151
-
152
143
  rubyforge_project:
153
- rubygems_version: 1.6.2
144
+ rubygems_version: 1.8.5
154
145
  signing_key:
155
146
  specification_version: 3
156
147
  summary: Mu Dynamics General Purpose Library and Command Line Tool
157
148
  test_files: []
158
-