Whamcloud - gitweb
LU-5844 get rid of IOC_LIBCFS_MEMHOG and IOC_LIBCFS_PANIC ioctls
[fs/lustre-release.git] / lustre / utils / lctl.c
index aeed68f..9c27267 100644 (file)
@@ -168,18 +168,19 @@ command_t cmdlist[] = {
          "usage: conf_param [-d] <target.keyword=val>\n"
          "  -d  Remove the permanent setting."},
 #endif
-        {"local_param", jt_lcfg_param, 0, "set a temporary, local param\n"
-         "usage: local_param <target.keyword=val>\n"},
-        {"get_param", jt_lcfg_getparam, 0, "get the Lustre or LNET parameter\n"
-         "usage: get_param [-n|-N|-F] <param_path1 param_path2 ...>\n"
-         "Get the value of Lustre or LNET parameter from the specified path.\n"
-         "The path can contain shell-style filename patterns.\n"
-         "  -n  Print only the value and not parameter name.\n"
-         "  -N  Print only matched parameter names and not the values.\n"
-         "      (Especially useful when using patterns.)\n"
-         "  -F  When -N specified, add '/', '@' or '=' for directories,\n"
-         "      symlinks and writeable files, respectively."},
-        {"set_param", jt_lcfg_setparam, 0, "set the Lustre or LNET parameter\n"
+       {"local_param", jt_lcfg_param, 0, "set a temporary, local param\n"
+        "usage: local_param <target.keyword=val>\n"},
+       {"get_param", jt_lcfg_getparam, 0, "get the Lustre or LNET parameter\n"
+        "usage: get_param [-F|n|-N|-R] <param_path1 param_path2 ...>\n"
+        "Get the value of Lustre or LNET parameter from the specified path.\n"
+        "The path can contain shell-style filename patterns.\n"
+        "  -F  When -N specified, add '/', '@' or '=' for directories,\n"
+        "      symlinks and writeable files, respectively.\n"
+        "  -n  Print only the value and not parameter name.\n"
+        "  -N  Print only matched parameter names and not the values.\n"
+        "      (Especially useful when using patterns.)\n"
+        "  -R  Get parameters recursively from the specified entry.\n"},
+       {"set_param", jt_lcfg_setparam, 0, "set the Lustre or LNET parameter\n"
         "usage: set_param [-n] [-P] [-d]"
         "<param_path1=value1 param_path2=value2 ...>\n"
         "Set the value of the Lustre or LNET parameter at the specified path.\n"
@@ -397,9 +398,6 @@ command_t cmdlist[] = {
         {"test_brw", jt_obd_test_brw, 0,
          "do <num> bulk read/writes (<npages> per I/O, on OST object <objid>)\n"
          "usage: test_brw [t]<num> [write [verbose [npages [[t]objid]]]]"},
-        {"memhog", jt_ptl_memhog, 0,
-         "memory pressure testing\n"
-         "usage: memhog <page count> [<gfp flags>]"},
         {"getobjversion", jt_get_obj_version, 0,
          "get the version of an object on servers\n"
         "usage: getobjversion <fid>\n"