Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
Victor Vieux 2014-11-17 19:26:39 +00:00
parent 9a85f60c75
commit 8545155c41
3 changed files with 7 additions and 2 deletions

View File

@ -49,8 +49,9 @@ You can still call an old version of the API using
`GET /info`
**New!**
`info` now returns the number of CPUs available on the machine (`NCPU`) and
total memory available (`MemTotal`).
`info` now returns the number of CPUs available on the machine (`NCPU`),
total memory available (`MemTotal`), the short hostname (`Hostname`). and
the ID (`ID`).
`POST /containers/create`

View File

@ -1220,6 +1220,8 @@ Display system-wide information
"KernelVersion":"3.12.0-1-amd64"
"NCPU":1,
"MemTotal":2099236864,
"Hostname":"prod-server-42",
"ID":"7TRN:IPZB:QYBB:VPBQ:UMPP:KARE:6ZNR:XE6T:7EWV:PKF4:ZOJD:TPYS"
"Debug":false,
"NFd": 11,
"NGoroutines":21,

View File

@ -856,6 +856,8 @@ For example:
Kernel Version: 3.13.0-24-generic
Operating System: Ubuntu 14.04 LTS
CPUs: 1
Hostname: prod-server-42
ID: 7TRN:IPZB:QYBB:VPBQ:UMPP:KARE:6ZNR:XE6T:7EWV:PKF4:ZOJD:TPYS
Total Memory: 2 GiB
Debug mode (server): false
Debug mode (client): true