summaryrefslogtreecommitdiff
path: root/qpid/tools/src/py/qpid-stat
Commit message (Collapse)AuthorAgeFilesLines
* QPID-7207: Create independent cpp and python subtrees, with content from ↵Justin Ross2016-04-211-514/+0
| | | | | | tools and extras git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1740289 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6767: add --sasl-service-name option to all QPID tools.Ken Giusti2015-10-021-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1706480 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6106: Replace empty fields with '-' in qpid-stat -c output; this is a ↵Justin Ross2014-09-231-4/+8
| | | | | | patch from Irina Boverman git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1627015 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-5938]: qpid-stat: remove dead code relevant to active-active clusterPavel Moravec2014-07-301-61/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614577 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5169: CRAM-MD5, not CRAM-MD; a patch from Ernie AllenJustin Ross2013-09-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1526637 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4554: correct use of 'ssl_keyfile' parameter in QPID toolsKenneth Anthony Giusti2013-01-301-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1440543 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4537 - qpid-stat: fix undefined name errorTed Ross2013-01-171-1/+1
| | | | | | | Applied patch from Zhigang Wang git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1434863 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4139 - qpid-stat -b does not show broker names anymoreTed Ross2012-10-111-0/+4
| | | | | | | Applied patch from Ernie Allen git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397218 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3175 - Added SSL/x.509-auth capability to Python clients and Python toolsTed Ross2012-07-261-10/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1366020 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4060 - Fixed error in the help text.Ted Ross2012-06-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1351367 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4061 - Added statistic: Number of unacknowledged messages in a sessionTed Ross2012-06-131-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1349865 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4060 - qpid-stat - Improve the help text to clarify use of the ↵Ted Ross2012-06-121-6/+17
| | | | | | different display modes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1349478 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Cleaned up qpidtoollibsTed Ross2012-03-051-2/+2
| | | | | | | | | 1) Fixed the update() method to work on all object types 2) Shortened the path needed in import statements 3) Updated the connection-stats test to use qpidtoollibs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297230 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Add --ha-admin option to qpid-config, qpid-stat, qpid-routeAlan Conway2012-02-291-2/+6
| | | | | | Allow admin tools to connect to a HA backup broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295337 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3871 - Added --mgmt-publish switch to the C++ brokerTed Ross2012-02-291-1/+1
| | | | | | | | | Also in this commit: - Fixed a problem with an unused argument in qpid-stat - Cleaned up the recurring timer code in ManagementAgent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295075 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2894 - Added ACL stats to qpid-stat and a reload-file action to ↵Ted Ross2012-02-231-24/+41
| | | | | | | | | qpid-config. Ported the ACL tests to use the faster API. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292880 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3851 - Unified common CLI options for qpid-config and qpid-stat.Ted Ross2012-02-221-40/+94
| | | | | | | | | | | | | | | | | | | | Also in this commit: qpid-config was converted to use the messaging-based qmf2 library. It no longer has a dependency on the qmf library. The CLI tests were also ported to the faster library. CLI test time prior to this commit: 2 minutes 12 seconds CLI test time after this commit: 12.5 seconds Other items in qpid-config and qpid-stat: - The deprecated LVQ options (lqv, lqv-no-browse) were removed from qpid-config. - A new option, --lvq-key, was added to qpid-config to support the new LVQ configuration. The docs and tests were updated to match. - qpid-stat was updated so that 'qpid-stat -q <queue-name>' prints full details from the specified queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292388 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-3824 - Added new queue stats to qpid-stat."Alan Conway2012-02-171-75/+20
| | | | | | | | | | This reverts r1244646. It caused two tests to fail: cluster_tests.ShortTests.test_amqfailover_visible ................................... fail FAIL: run_cluster_tests FAIL: sasl_fed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1245450 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3824 - Added new queue stats to qpid-stat.Ted Ross2012-02-151-20/+75
| | | | | | | | | Updated the arguments for qpid-stat: -b --broker now used to specify broker URL -g --general now used to get general broker stats git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1244646 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3824 - Additional queue statistics, posix memory statistics, and ↵Ted Ross2012-02-091-254/+198
| | | | | | broker-scope statistics git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242526 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3737 Patch to make qpid-stat -L option workTed Ross2012-01-101-1/+1
| | | | | | | Applied patch from Paul Colby git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1229587 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3660 - qpid-stat -c columns for "msgIn" and "msgOut" actually display ↵Ted Ross2011-12-051-2/+2
| | | | | | frames, not messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1210624 13f79535-47bb-0310-9956-ffa450edef68
* Undo svn commit r1052086.Jonathan Robie2011-01-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1055655 13f79535-47bb-0310-9956-ffa450edef68
* Allow any SASL mechanism to be specified in command line options.Jonathan Robie2011-01-051-1/+1
| | | | | | | Previously used a fixed list of SASL mechanisms. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1055267 13f79535-47bb-0310-9956-ffa450edef68
* Added logging to QMF console connections.Jonathan Robie2010-12-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warning if a broker can not be found, error if SASL authentication fails or other connection errors when connecting to an existing broker. Default log level is ERROR. qpid-printevents allows the log level to be set. It also allows the user to specify that a connection is required, in which case it terminates if a connection can not be established. Examples: $ ./qpid-printevents --sasl-mechanism PLAIN nonexistent-broker => Not an error. Waits for the broker to be started. $ ./qpid-printevents --sasl-mechanism PLAIN localhost 2010-12-22 17:07:18,365 ERROR Could not connect to broker localhost:5672 (None, 'No acceptable SASL authentication mechanism available') => Connection error condition in output - SASL authentication failed because user name and password are not supplied. But qpid-printevents keeps running, waiting for you to start the broker. $ ./qpid-printevents --sasl-mechanism PLAIN --log-level critical => Connection error condition in output - SASL authentication failed because user name and password are not supplied. No output in this case, because the log level has been set to critical. $ ./qpid-printevents --sasl-mechanism PLAIN --require-connection localhost 2010-12-22 17:11:03,791 ERROR Could not connect to broker localhost:5672 (None, 'No acceptable SASL authentication mechanism available') Failed: ConnectionFailed - (None, 'No acceptable SASL authentication mechanism available') => Connection error condition. qpid-printevents terminates because --require-connection was specified. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1052086 13f79535-47bb-0310-9956-ffa450edef68
* Allow command line utilities to require a given SASL mechanism.Jonathan Robie2010-12-211-14/+17
| | | | | | | | | | Useful if the client's most secure mechanism is suspect, e.g. if Kerberos configuration problems may exist. Also useful in a variety of test scenarios. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1051700 13f79535-47bb-0310-9956-ffa450edef68
* Made qpid-xxx management scripts callable as python functions.Jonathan Robie2010-12-171-85/+100
| | | | | | | | | | | | | | | | | | | | | Examples (from cli_tests.py): def qpid_config_api(self, arg = ""): script = import_script(checkenv("QPID_CONFIG_EXEC")) broker = ["-a", "localhost:"+str(self.broker.port)] return script.main(broker + arg.split()) def qpid_route_api(self, arg = ""): script = import_script(checkenv("QPID_ROUTE_EXEC")) return script.main(arg.split()) Useful primarily for qpid-config, qpid-route, and qpid-cluster. Probably not useful for qpid-stat, qpid-printevents, qpid-queue-stats, which just create screen output. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1050425 13f79535-47bb-0310-9956-ffa450edef68
* Corrected datatypes of numeric defaults for optparse.Jonathan Robie2010-12-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1043599 13f79535-47bb-0310-9956-ffa450edef68
* Converted tools to use optparse. Jonathan Robie2010-12-051-80/+43
| | | | | | | | | | Now all tools in this directory use optparse for their command lines, rather than a variety of different approaches. Simplifies option handling significantly. Doesn't simplify arguments list in qpid-route and qpid-config. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1042398 13f79535-47bb-0310-9956-ffa450edef68
* Fixed qpid-stat to skip rows when the underlying data disappears during ↵Ted Ross2010-09-221-14/+17
| | | | | | | | | execution. Removed keyword arg from "sort" to support Python 2.3. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@999918 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2810: clean up the broker thread properly on shutdown.Kenneth Anthony Giusti2010-08-191-4/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@987330 13f79535-47bb-0310-9956-ffa450edef68
* Added --cluster option to display per-broker detail for clusters.Kenneth Anthony Giusti2010-07-301-3/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@980766 13f79535-47bb-0310-9956-ffa450edef68
* Fix to bug introduced in r959353 causing error when qpid-stat is run against ↵Gordon Sim2010-06-301-1/+2
| | | | | | standalone broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@959439 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that any additional brokers in the cluster being monitored are ↵Gordon Sim2010-06-301-0/+1
| | | | | | cleaned up correctly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@959353 13f79535-47bb-0310-9956-ffa450edef68
* Make behavior of command line tools consistent, regarding -h and --help ↵Nuno Santos2010-05-241-5/+15
| | | | | | options, as well as giving an appropriate error message for any invalid options passed on the command line git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@947858 13f79535-47bb-0310-9956-ffa450edef68
* Fixed qpid-stat failure in cluster caseTed Ross2010-04-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931534 13f79535-47bb-0310-9956-ffa450edef68
* Merged the changes from the qmf-devel0.7a branch back to the trunk.Ted Ross2010-03-311-1/+1
| | | | | | | | | | | | | | | | | This is a checkpoint along the QMFv2 development path. This update introduces portions of QMFv2 into the code: - The C++ agent (qpid/agent) uses QMFv2 for data and method transfer o The APIs no longer use qpid::framing::* o Consequently, boost is no longer referenced from the API headers. o Agents and Objects are now referenced by strings, not numbers. o Schema transfer still uses the QMFv1 format. - The broker-resident agent can use QMFv1 or QMFv2 based on the command line options. It defaults to QMFv1 for compatibility. - The pure-python QMF console (qmf.console) can concurrently interact with both QMFv1 and QMFv2 agents. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929716 13f79535-47bb-0310-9956-ffa450edef68
* Extended cluster_tests.test_management exposes a bug.Alan Conway2010-03-031-0/+1
| | | | | | | | | - kill and start brokers with clients running. - added qpid-stat -b and testagent clients - disabled in src/tests/cluster_tests.fail till bug is fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@918674 13f79535-47bb-0310-9956-ffa450edef68
* Add support for displaying subscriptions, with connection and queue infoNuno Santos2010-03-011-2/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@917718 13f79535-47bb-0310-9956-ffa450edef68
* moved qpid-* tools out of qpid/python into qpid/tools; moved qmf library ↵Rafael H. Schloming2010-02-141-0/+459
into extras/qmf git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@910016 13f79535-47bb-0310-9956-ffa450edef68