Whamcloud - gitweb
LU-5710 all: second batch of corrected typos and grammar errors
[fs/lustre-release.git] / lustre / utils / lctl.c
index 6f50454..58cbae5 100644 (file)
@@ -27,7 +27,7 @@
  * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  *
- * Copyright (c) 2012, 2013, Intel Corporation.
+ * Copyright (c) 2012, 2014, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -102,8 +102,6 @@ command_t cmdlist[] = {
         {"conn_list", jt_ptl_print_connections, 0,
          "print all the connected remote nid\n"
          "usage: conn_list"},
-        {"active_tx", jt_ptl_print_active_txs, 0, "print active transmits\n"
-         "usage: active_tx"},
         {"route_list", jt_ptl_print_routes, 0,
          "print the portals routing table, same as show_route\n"
          "usage: route_list"},
@@ -127,6 +125,22 @@ command_t cmdlist[] = {
         "usage: net_drop_reset"},
        {"net_drop_list", jt_ptl_drop_list, 0, "list LNet drop rules\n"
         "usage: net_drop_list"},
+       {"net_delay_add", jt_ptl_delay_add, 0, "Add LNet delay rule\n"
+        "usage: net_delay_add <-s | --source NID>\n"
+        "                     <-d | --dest NID>\n"
+        "                     <<-r | --rate DROP_RATE> |\n"
+        "                      <-i | --interval SECONDS>>\n"
+        "                     <-l | --latency SECONDS>\n"
+        "                     [<-p | --portal> PORTAL...]\n"
+        "                     [<-m | --message> <PUT|ACK|GET|REPLY>...]\n"},
+       {"net_delay_del", jt_ptl_delay_del, 0, "remove LNet delay rule\n"
+        "usage: net_delay_del <[-a | --all] |\n"
+        "                     <-s | --source NID>\n"
+        "                     <-d | --dest NID>>\n"},
+       {"net_delay_reset", jt_ptl_delay_reset, 0, "reset delay rule stats\n"
+        "usage: net_delay_reset"},
+       {"net_delay_list", jt_ptl_delay_list, 0, "list LNet delay rules\n"
+        "usage: net_delay_list"},
 
         /* Device selection commands */
         {"==== obd device selection ====", jt_noop, 0, "device selection"},
@@ -220,7 +234,7 @@ command_t cmdlist[] = {
          "detach a lustre regular file from a virtual block device\n"
          "usage: blockdev_detach <device_name>"},
         {"blockdev_info", jt_blockdev_info, 0,
-         "get the device info of a attached file\n"
+        "get the device info of an attached file\n"
          "usage: blockdev_info <device_name>"},
 
         /* Pool commands */