Get Client RAM Consumption (and more)

Sure - just system.net.httpGet, eg:

sessionEndpoint = system.util.getGatewayAddress() + '/data/vision/status/sessions'
sessionData = system.net.httpGet(sessionEndpoint)
sessions = system.util.jsonDecode(sessionData)

Just about all of the new status pages in 7.9 are using Javascript to query the gateway for JSON data, which is then rendered by the frontend. By hitting these endpoints yourself you can pull in the same data.

1 Like