From a476aba5b0368c3bc649db319ee748ae410144d9 Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Mon, 27 Feb 2012 12:41:24 +0530 Subject: cli, glusterd, nfs: "volume status|profile|top" for nfs servers Enables usage of volume monitoring operations "volume status", "volume top" and "volume profile" for nfs servers. These operations can be performed on nfs-servers by passing "nfs" as an option in cli. The output is similar to the normal brick outputs for these commands. The new syntaxes for the changed commands are as below, #gluster volume profile {start|info|stop} [nfs] #gluster volume top {[open|read|write|opendir|readdir [nfs]] |[read-perf|write-perf [nfs|{bs count }]]} [brick ] [list-cnt ] #gluster volume status [all | [nfs|]] [detail|clients|mem|inode|fd|callpool] Change-Id: Ia6eb50c60aecacf9b413d3ea993f4cdd90ec0e07 BUG: 795267 Signed-off-by: Kaushal M Reviewed-on: http://review.gluster.com/2820 Tested-by: Gluster Build System Reviewed-by: Krishnan Parthasarathi --- rpc/rpc-lib/src/protocol-common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rpc/rpc-lib/src/protocol-common.h') diff --git a/rpc/rpc-lib/src/protocol-common.h b/rpc/rpc-lib/src/protocol-common.h index cd7adde4e19..0191c50aa62 100644 --- a/rpc/rpc-lib/src/protocol-common.h +++ b/rpc/rpc-lib/src/protocol-common.h @@ -186,6 +186,8 @@ enum glusterd_brick_procnum { GLUSTERD_BRICK_STATUS, GLUSTERD_BRICK_OP, GLUSTERD_BRICK_XLATOR_DEFRAG, + GLUSTERD_NFS_PROFILE, + GLUSTERD_NFS_STATUS, GLUSTERD_BRICK_MAXVALUE, }; -- cgit