@@ -100,48 +100,48 @@ Output summary for journal file
100
100
----------------------------------------
101
101
Example:
102
102
` ` ` bash
103
- bmqstoragetool --journal-file=< path> --summary
103
+ ./ bmqstoragetool.tsk --journal-file=< path> --summary
104
104
` ` `
105
105
106
106
Search and otput all message GUIDs in journal file
107
107
--------------------------------------------------
108
108
Example:
109
109
` ` ` bash
110
- bmqstoragetool --journal-file=< path>
110
+ ./ bmqstoragetool.tsk --journal-file=< path>
111
111
` ` `
112
112
113
113
Search and otput all queueOp/journalOp records or all records in journal file
114
114
--------------------------------------------------
115
115
Example:
116
116
` ` ` bash
117
- bmqstoragetool --journal-file=< path> --record-type=queue-op
118
- bmqstoragetool --journal-file=< path> --record-type=journal-op
119
- bmqstoragetool --journal-file=< path> --record-type=journal-op --record-type=queue-op --record-type=message
117
+ ./ bmqstoragetool.tsk --journal-file=< path> --record-type=queue-op
118
+ ./ bmqstoragetool.tsk --journal-file=< path> --record-type=journal-op
119
+ ./ bmqstoragetool.tsk --journal-file=< path> --record-type=journal-op --record-type=queue-op --record-type=message
120
120
` ` `
121
121
122
122
Search and otput all messages details in journal file
123
123
-----------------------------------------------------
124
124
Example:
125
125
` ` ` bash
126
- bmqstoragetool --journal-file=< path> --details
126
+ ./ bmqstoragetool.tsk --journal-file=< path> --details
127
127
` ` `
128
128
129
129
Search and otput all outstanding/confirmed/partially-confirmed message GUIDs in journal file
130
130
--------------------------------------------------------------------------------------------
131
131
Example:
132
132
` ` ` bash
133
- bmqstoragetool --journal-file=< path> --outstanding
134
- bmqstoragetool --journal-file=< path> --confirmed
135
- bmqstoragetool --journal-file=< path> --partially-confirmed
133
+ ./ bmqstoragetool.tsk --journal-file=< path> --outstanding
134
+ ./ bmqstoragetool.tsk --journal-file=< path> --confirmed
135
+ ./ bmqstoragetool.tsk --journal-file=< path> --partially-confirmed
136
136
` ` `
137
137
138
138
Search all message GUIDs with payload dump in journal file
139
139
----------------------------------------------------------------------
140
140
Example:
141
141
` ` ` bash
142
- bmqstoragetool --journal-file=< journal-path> --data-file=< data-path> --dump-payload
143
- bmqstoragetool --journal-path=< path.* > --dump-payload
144
- bmqstoragetool --journal-path=< path.* > --dump-payload --dump-limit=64
142
+ ./ bmqstoragetool.tsk --journal-file=< journal-path> --data-file=< data-path> --dump-payload
143
+ ./ bmqstoragetool.tsk --journal-path=< path.* > --dump-payload
144
+ ./ bmqstoragetool.tsk --journal-path=< path.* > --dump-payload --dump-limit=64
145
145
` ` `
146
146
147
147
Applying search filters to above scenarios
@@ -151,64 +151,75 @@ Filter messages with corresponding GUIDs
151
151
----------------------------------------
152
152
Example:
153
153
` ` ` bash
154
- bmqstoragetool --journal-file=< path> --guid=< guid_1> --guid=< guid_N>
154
+ ./ bmqstoragetool.tsk --journal-file=< path> --guid=< guid_1> --guid=< guid_N>
155
155
` ` `
156
156
NOTE: no other filters are allowed with this one
157
157
158
158
Filter messages with corresponding composite sequence numbers (defined in form < primaryLeaseId-sequenceNumber> )
159
159
---------------------------------------------------------------------------------------------------------------
160
160
Example:
161
161
` ` ` bash
162
- bmqstoragetool --journal-file=< path> --seqnum=< leaseId-sequenceNumber_1> --seqnum=< leaseId-sequenceNumber_N>
162
+ ./ bmqstoragetool.tsk --journal-file=< path> --seqnum=< leaseId-sequenceNumber_1> --seqnum=< leaseId-sequenceNumber_N>
163
163
` ` `
164
164
NOTE: no other filters are allowed with this one
165
165
166
166
Filter messages with corresponding record offsets
167
167
-------------------------------------------------
168
168
Example:
169
169
` ` ` bash
170
- bmqstoragetool --journal-file=< path> --offset=< offset_1> --offset=< offset_N>
170
+ ./ bmqstoragetool.tsk --journal-file=< path> --offset=< offset_1> --offset=< offset_N>
171
171
` ` `
172
172
NOTE: no other filters are allowed with this one
173
173
174
174
Filter messages within time range
175
175
---------------------------------
176
176
Example:
177
177
` ` ` bash
178
- bmqstoragetool --journal-file=< path> --timestamp-lt=< stamp>
179
- bmqstoragetool --journal-file=< path> --timestamp-gt=< stamp>
180
- bmqstoragetool --journal-file=< path> --timestamp-lt=< stamp1> --timestamp-gt=< stamp2>
178
+ ./ bmqstoragetool.tsk --journal-file=< path> --timestamp-lt=< stamp>
179
+ ./ bmqstoragetool.tsk --journal-file=< path> --timestamp-gt=< stamp>
180
+ ./ bmqstoragetool.tsk --journal-file=< path> --timestamp-lt=< stamp1> --timestamp-gt=< stamp2>
181
181
` ` `
182
182
183
183
Filter messages within composite sequence numbers (primaryLeaseId, sequenceNumber) range
184
184
----------------------------------------------------------------------------------------
185
185
Example:
186
186
` ` ` bash
187
- bmqstoragetool --journal-file=< path> --seqnum-lt=< leaseId-sequenceNumber>
188
- bmqstoragetool --journal-file=< path> --seqnum-gt=< leaseId-sequenceNumber>
189
- bmqstoragetool --journal-file=< path> --seqnum-lt=< leaseId1-sequenceNumber1> --seqnum-gt=< leaseId2-sequenceNumber2>
187
+ ./ bmqstoragetool.tsk --journal-file=< path> --seqnum-lt=< leaseId-sequenceNumber>
188
+ ./ bmqstoragetool.tsk --journal-file=< path> --seqnum-gt=< leaseId-sequenceNumber>
189
+ ./ bmqstoragetool.tsk --journal-file=< path> --seqnum-lt=< leaseId1-sequenceNumber1> --seqnum-gt=< leaseId2-sequenceNumber2>
190
190
` ` `
191
191
192
192
Filter messages within record offsets range
193
193
-------------------------------------------
194
194
Example:
195
195
` ` ` bash
196
- bmqstoragetool --journal-file=< path> --offset-lt=< offset>
197
- bmqstoragetool --journal-file=< path> --offset-gt=< offset>
198
- bmqstoragetool --journal-file=< path> --offset-lt=< offset1> --offset-gt=< offset2>
196
+ ./ bmqstoragetool.tsk --journal-file=< path> --offset-lt=< offset>
197
+ ./ bmqstoragetool.tsk --journal-file=< path> --offset-gt=< offset>
198
+ ./ bmqstoragetool.tsk --journal-file=< path> --offset-lt=< offset1> --offset-gt=< offset2>
199
199
` ` `
200
200
201
201
Filter messages by queue key
202
202
----------------------------
203
203
Example:
204
204
` ` ` bash
205
- bmqstoragetool --journal-file=< path> --queue-key=< key_1> --queue-key=< key_N>
205
+ ./ bmqstoragetool.tsk --journal-file=< path> --queue-key=< key_1> --queue-key=< key_N>
206
206
` ` `
207
207
208
208
Filter messages by queue Uri
209
209
----------------------------
210
210
Example:
211
211
` ` ` bash
212
- bmqstoragetool --journal-file=< journal_path> --csl-file=< csl_path> --queue-name=< queue_uri_1> --queue-name=< queue_uri_N>
212
+ ./ bmqstoragetool.tsk --journal-file=< journal_path> --csl-file=< csl_path> --queue-name=< queue_uri_1> --queue-name=< queue_uri_N>
213
213
` ` `
214
214
NOTE: CSL file is required
215
+
216
+ Display number of records per type (e.g. Message, Confirm, Delete, etc.) per queue.
217
+ The number of Confirm records are displayed per AppId if there are more than 1 AppId.
218
+ The information is displayed for the queues with a total number of records greater or
219
+ equal to the value of ` --min-records-per-queue` param.
220
+ By default this feature is disabled.
221
+ -------------------------------------------------------------------------------------
222
+ Example:
223
+ ` ` ` bash
224
+ ./bmqstoragetool.tsk --journal-file=< path> --min-records-per-queue=< limit>
225
+ ` ` `
0 commit comments