From 227b3ab96f5607aba2695b779c8df06322284434 Mon Sep 17 00:00:00 2001 From: Nicolas Hennion Date: Sun, 12 Nov 2017 17:07:48 +0100 Subject: [PATCH] Updated The Glances RESTFULL JSON API (markdown) --- The-Glances-RESTFULL-JSON-API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/The-Glances-RESTFULL-JSON-API.md b/The-Glances-RESTFULL-JSON-API.md index e8357f2..ca58382 100644 --- a/The-Glances-RESTFULL-JSON-API.md +++ b/The-Glances-RESTFULL-JSON-API.md @@ -16,7 +16,7 @@ The RESTful API is located at: Request example with Curl: - $ curl http://localhost:61208/api/2/all + $ curl http://localhost:61208/api/2/mem {"available": 3627708416, "used": 4244357120, "cached": 2746822656, "percent": 53.9, "free": 3627708416, "inactive": 2100039680, "active": 4159094784, "shared": 384692224, "total": 7872065536, "buffers": 395943936} Or with Httpie: