Created
May 15, 2014 07:52
-
-
Save streamer45/0aef54dc77f0d6aba9af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**Example request**: | |
GET /containers/4fa6e0f0c678/top HTTP/1.1 | |
**Example response**: | |
HTTP/1.1 200 OK | |
Content-Type: application/json | |
{ | |
"Titles":[ | |
"USER", | |
"PID", | |
"%CPU", | |
"%MEM", | |
"VSZ", | |
"RSS", | |
"TTY", | |
"STAT", | |
"START", | |
"TIME", | |
"COMMAND" | |
], | |
"Processes":[ | |
["root","20147","0.0","0.1","18060","1864","pts/4","S","10:06","0:00","bash"], | |
["root","20271","0.0","0.0","4312","352","pts/4","S+","10:07","0:00","sleep","10"] | |
] | |
} | |
Query Parameters: | |
- **ps_args** – ps arguments to use (eg. aux) | |
Status Codes: | |
- **200** – no error | |
- **404** – no such container | |
- **500** – server error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment