Github user mhthanh commented on a diff in the pull request:
https://github.com/apache/tajo/pull/156#discussion_r18076983
--- Diff: tajo-docs/src/main/sphinx/tsql/admin_command.rst ---
@@ -0,0 +1,60 @@
+*********************************
+Administration Commands
+*********************************
+
+
+==========
+Synopsis
+==========
+
+Tsql provides commands for administrator as follows as follows:
+
+.. code-block:: sql
+
+ default> \admin;
+ usage: admin [options]
+ -cluster Show Cluster Info
+ -desc Show Query Description
+ -h,--host <arg> Tajo server host
+ -kill <arg> Kill a running query
+ -list Show Tajo query list
+ -p,--port <arg> Tajo server port
+ -showmasters gets list of tajomasters in the cluster
+
+
+-----------------------------------------------
+Basic usages
+-----------------------------------------------
+
+``-list`` options shows a list of all running queries as follows: ::
+
+ default> \admin -list
+ QueryId State StartTime Query
+ -------------------- ------------------- -------------------
-----------------------------
+ q_1411357607375_0006 QUERY_RUNNING 2014-09-23 07:19:40 select
count(*) from lineitem
+
+
+``-desc`` options shows a detailed description of a specified running
query s as follows: ::
--- End diff --
Typos:
"options" -> "option"
"a specified running query s as follows" -> "a specified running query as
follows" (remove a redundant "s")
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---