Whamcloud - gitweb
LU-5868 nodemap: Add nodemap_info to lctl
[fs/lustre-release.git] / lustre / utils / lctl.c
index 9b1d0a3..a908de0 100644 (file)
@@ -186,12 +186,13 @@ command_t cmdlist[] = {
         "  -P  Set the parameter permanently, filesystem-wide.\n"
         "  -d  Remove the permanent setting (only with -P option).\n"},
        {"list_param", jt_lcfg_listparam, 0,
-         "list the Lustre or LNET parameter name\n"
-         "usage: list_param [-F|-R] <param_path1 param_path2 ...>\n"
-         "List the name of Lustre or LNET parameter from the specified path.\n"
-         "  -F  Add '/', '@' or '=' for dirs, symlinks and writeable files,\n"
-                "respectively.\n"
-         "  -R  Recursively list all parameters under the specified path.\n"},
+        "list the Lustre or LNET parameter name\n"
+        "usage: list_param [-F|-R|-D] <param_path1 param_path2 ...>\n"
+        "List the name of Lustre or LNET parameter from the specified path.\n"
+        "  -F  Add '/', '@' or '=' for dirs, symlinks and writeable files,\n"
+               "respectively.\n"
+        "  -D  Only list directories.\n"
+        "  -R  Recursively list all parameters under the specified path.\n"},
 
         /* Debug commands */
         {"==== debugging control ====", jt_noop, 0, "debug"},
@@ -283,6 +284,8 @@ command_t cmdlist[] = {
         "usage: nodemap_test_nid <nid>"},
        {"nodemap_test_id", jt_nodemap_test_id, 0,
         "Usage: nodemap_test_id --nid <nid> --idtype [uid|gid] --id <id>"},
+       {"nodemap_info", jt_nodemap_info, 0,
+        "Usage: nodemap_info [list|nodemap_name|all]"},
 
         /* Changelog commands */
         {"===  Changelogs ==", jt_noop, 0, "changelog user management"},