Skip to content
URL:
https://<root>/machines/machine>/gpulimitinfo
Methods:
GETPOST
Operations:
Edit, Run Limit Check
Version Introduced:
12.0

Description

The gpulimitinfo resource outputs the results of the GPU Limit Check tool. This tool is first run at the time of site creation. After site creation, the tool can be accessed using the HTML version of this resource.

Request parameters

ParameterDetails

f

(Required)

The output format for this operation. The default value is html.

Values: html | json | pjson

gpuLimit

(Optional)

The desired GPU Limit, as an integer. This value should reflect the actual number of available GPUs in an environment. Note that this parameter is only used in POST requests to manually set the gpuLimit property.

token

(Required)

Users interacting programmatically with this endpoint must generate a token that must be included as a request parameter. A token can be obtained using the Generate Token operation.

Response properties

PropertyDetails

limit

The number of GPUs detected by the GPU Limit Check tool.

Note that the Edit operation available via the HTML version of this page allows for manual setting of this property. Additionally, the Run Limit Check Tool operation can also be run manually via the HTML version of this page.

lastExecuted

Outputs a Unix timestamp of when the tool was last run.

Example GET usage

The following is a sample request URL used to access the gpulimitinfo resource:

Use dark colors for code blocksCopy
1
https://organization.example.com/<context>/admin/machines/MACHINE.EXAMPLE.COM/gpulimitinfo?f=pjson

Example POST usage

The following is a sample POST request for the gpulimitinfo operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /arcgis/admin/machines/machine.example.com/gpulimitinfo HTTP/1.1
Host: organization.example.com:21443
Content-Type: application/x-www-form-urlencoded
Content-Length: []

gpuLimit=1&f=pjson

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
{
    "limit": <integer>,
    "lastExecuted": <Unix timestamp>
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
{
    "limit": 1,
    "lastExecuted": 1764774003
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.