mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-25 08:33:22 +03:00
Updated The Glances RESTFULL JSON API (markdown)
parent
12e2b7ec79
commit
5a6fbac20f
@ -72,8 +72,17 @@ Request response:
|
||||
|
||||
Example: _/api/v2/mem/used_
|
||||
|
||||
Return the memory used (RAM)
|
||||
```
|
||||
{"used": 3255848960}
|
||||
```
|
||||
|
||||
Example: _/api/v2/processlist/pid
|
||||
|
||||
Return the pid list of processes
|
||||
```
|
||||
[1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 77, 78, 90, 92, 93, 113, 114, 165, 167, 168, 169, 170, 171, 172, 191, 192, 370, 376, 429, 430, 454, 468, 522, 562, 770, 773]
|
||||
```
|
||||
|
||||
|
||||
***
|
||||
|
Loading…
Reference in New Issue
Block a user