rlimit get

Returns the resource usage limit for the cluster's disk resource.

Syntax

CLI
maprcli rlimit get
    -resource disk
    [ -cluster <cluster name> ]
REST
Request Type GET
Request URL
http[s]://<host>:<port>/rest/rlimit/get?<parameters>

Parameters

Parameter Description
resource The type of resource to get the usage limit for. Currently only the value disk is supported.
cluster The name of the cluster whose usage limit is being queried.

Examples

Return the disk usage limit for the cluster my.cluster.com:

# maprcli rlimit get -resource disk -cluster ksTest -json
{
	"timestamp":1529382231966,
	"timeofday":"2018-06-18 09:23:51.966 GMT-0700 PM",
	"status":"OK",
	"total":1,
	"data":[
		{
			"limit":"251947MB",
			"clusterSize":"279942MB",
			"currentUsage":"3MB"
		}
	]
}
# curl -k -X GET 'https://abc.sj.us:8443/rest/rlimit/get?cluster=ksTest' --user mapr:mapr
{"timestamp":1529382231966,"timeofday":"2018-06-18 09:23:51.966 GMT-0700 PM","status":"OK","total":1,"data":[{"limit":"251947MB","clusterSize":"279942MB","currentUsage":"3MB"}]}