X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Futils%2Flctl.c;h=a90eeee5256b7012289b422bb95ff91909f5187b;hb=f569e36c2c16090108dfdeaf380c3dd237c546ec;hp=80cdcf26d439fa806482d98b9fae42ed3ff12c61;hpb=576c9a8212bc6607146d99e3413f7a24cbf91b5c;p=fs%2Flustre-release.git diff --git a/lustre/utils/lctl.c b/lustre/utils/lctl.c index 80cdcf2..a90eeee 100644 --- a/lustre/utils/lctl.c +++ b/lustre/utils/lctl.c @@ -65,14 +65,24 @@ command_t cmdlist[] = { {"==== network config ====", jt_noop, 0, "network config"}, {"network", jt_ptl_network, 0, "commands that follow apply to net\n" "usage: network "}, + {"autoconn_list", jt_ptl_print_autoconnects, 0, "print autoconnect entries\n" + "usage: print_autoconns"}, + {"add_autoconn", jt_ptl_add_autoconnect, 0, "add an autoconnect entry\n" + "usage: add_autoconn [ixs]"}, + {"del_autoconn", jt_ptl_del_autoconnect, 0, "remove an autoconnect entry\n" + "usage: del_autoconn [] [] [ks]"}, + {"conn_list", jt_ptl_print_connections, 0, "connect to a remote nid\n" + "usage: print_conns"}, {"connect", jt_ptl_connect, 0, "connect to a remote nid\n" - "usage: connect [[ ] | ]"}, + "usage: connect [ix]"}, {"disconnect", jt_ptl_disconnect, 0, "disconnect from a remote nid\n" - "usage: disconnect "}, + "usage: disconnect []"}, + {"active_tx", jt_ptl_print_active_txs, 0, "print active transmits (no args)\n" + "usage: active_tx"}, {"mynid", jt_ptl_mynid, 0, "inform the socknal of the local nid. " "The nid defaults to hostname for tcp networks and is automatically " "setup for elan/myrinet/scimac networks.\n" - "usage: mynid [nid]"}, + "usage: mynid []"}, {"shownid", jt_ptl_shownid, 0, "print the local NID\n" "usage: shownid"}, {"add_uuid", jt_obd_add_uuid, 0, "associate a UUID with a nid\n" @@ -102,7 +112,7 @@ command_t cmdlist[] = { "Omitting the count means indefinitely, 0 means restore, " "otherwise fail 'count' messages.\n" "usage: fail nid|_all_ [count]"}, - + /* Device selection commands */ {"=== device selection ===", jt_noop, 0, "device selection"}, {"newdev", jt_obd_newdev, 0, "create a new device\n" @@ -205,6 +215,9 @@ command_t cmdlist[] = { {"debug_kernel", jt_dbg_debug_kernel, 0, "get debug buffer and dump to a file" "usage: debug_kernel [file] [raw]"}, + {"dk", jt_dbg_debug_kernel, 0, + "get debug buffer and dump to a file" + "usage: dk [file] [raw]"}, {"debug_file", jt_dbg_debug_file, 0, "read debug buffer from input and dump to output" "usage: debug_file [output] [raw]"},