{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

Memory-usage of the system

Returns an object with the memory usage of the i-net CoWork.

GET /api/jobmanager/memoryusage

Requests the current memory usage of the system. The response values are in KB.

Example Request

# Request
# Use user:password for authorization
GET /api/jobmanager/memoryusage HTTP/1.1
Accept: */*
Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u
 
# Response
HTTP/1.1 200 OK
Content-Type: application/json
{
  "freeMemory": 189122240,
  "totalMemory": 251133952,
  "maxMemory": 477626368
}

Application Example

# Browser access
http://127.0.0.1:9000/api/jobmanager/memoryusage
 
# Shell access using curl
curl -LsH "Authorization: Bearer <access_token>" "http://127.0.0.1:9000/api/jobmanager/memoryusage"
 
# Shell access using curl using username and password
curl -Lsu username:password "http://127.0.0.1:9000/api/jobmanager/memoryusage"
i-net CoWork
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - /memoryusage