MemTotal represents bytes, not kilobytes. See Linux[1] and Windows[2]
implementations.
[1]: https://github.com/moby/moby/blob/f50a40e889fdaeebf14fce1d494f95e60092d21d/pkg/system/meminfo_linux.go#L49
[2]: https://github.com/moby/moby/blob/f50a40e889fdaeebf14fce1d494f95e60092d21d/pkg/system/meminfo_windows.go#L40
Signed-off-by: Nikolay Edigaryev <edigaryev@gmail.com>
| ... | ... |
@@ -4606,7 +4606,7 @@ definitions: |
| 4606 | 4606 |
example: 4 |
| 4607 | 4607 |
MemTotal: |
| 4608 | 4608 |
description: | |
| 4609 |
- Total amount of physical memory available on the host, in kilobytes (kB). |
|
| 4609 |
+ Total amount of physical memory available on the host, in bytes. |
|
| 4610 | 4610 |
type: "integer" |
| 4611 | 4611 |
format: "int64" |
| 4612 | 4612 |
example: 2095882240 |
| ... | ... |
@@ -3599,7 +3599,7 @@ definitions: |
| 3599 | 3599 |
example: 4 |
| 3600 | 3600 |
MemTotal: |
| 3601 | 3601 |
description: | |
| 3602 |
- Total amount of physical memory available on the host, in kilobytes (kB). |
|
| 3602 |
+ Total amount of physical memory available on the host, in bytes. |
|
| 3603 | 3603 |
type: "integer" |
| 3604 | 3604 |
format: "int64" |
| 3605 | 3605 |
example: 2095882240 |
| ... | ... |
@@ -3604,7 +3604,7 @@ definitions: |
| 3604 | 3604 |
example: 4 |
| 3605 | 3605 |
MemTotal: |
| 3606 | 3606 |
description: | |
| 3607 |
- Total amount of physical memory available on the host, in kilobytes (kB). |
|
| 3607 |
+ Total amount of physical memory available on the host, in bytes. |
|
| 3608 | 3608 |
type: "integer" |
| 3609 | 3609 |
format: "int64" |
| 3610 | 3610 |
example: 2095882240 |
| ... | ... |
@@ -3633,7 +3633,7 @@ definitions: |
| 3633 | 3633 |
example: 4 |
| 3634 | 3634 |
MemTotal: |
| 3635 | 3635 |
description: | |
| 3636 |
- Total amount of physical memory available on the host, in kilobytes (kB). |
|
| 3636 |
+ Total amount of physical memory available on the host, in bytes. |
|
| 3637 | 3637 |
type: "integer" |
| 3638 | 3638 |
format: "int64" |
| 3639 | 3639 |
example: 2095882240 |
| ... | ... |
@@ -3615,7 +3615,7 @@ definitions: |
| 3615 | 3615 |
example: 4 |
| 3616 | 3616 |
MemTotal: |
| 3617 | 3617 |
description: | |
| 3618 |
- Total amount of physical memory available on the host, in kilobytes (kB). |
|
| 3618 |
+ Total amount of physical memory available on the host, in bytes. |
|
| 3619 | 3619 |
type: "integer" |
| 3620 | 3620 |
format: "int64" |
| 3621 | 3621 |
example: 2095882240 |
| ... | ... |
@@ -3628,7 +3628,7 @@ definitions: |
| 3628 | 3628 |
example: 4 |
| 3629 | 3629 |
MemTotal: |
| 3630 | 3630 |
description: | |
| 3631 |
- Total amount of physical memory available on the host, in kilobytes (kB). |
|
| 3631 |
+ Total amount of physical memory available on the host, in bytes. |
|
| 3632 | 3632 |
type: "integer" |
| 3633 | 3633 |
format: "int64" |
| 3634 | 3634 |
example: 2095882240 |
| ... | ... |
@@ -3648,7 +3648,7 @@ definitions: |
| 3648 | 3648 |
example: 4 |
| 3649 | 3649 |
MemTotal: |
| 3650 | 3650 |
description: | |
| 3651 |
- Total amount of physical memory available on the host, in kilobytes (kB). |
|
| 3651 |
+ Total amount of physical memory available on the host, in bytes. |
|
| 3652 | 3652 |
type: "integer" |
| 3653 | 3653 |
format: "int64" |
| 3654 | 3654 |
example: 2095882240 |
| ... | ... |
@@ -3702,7 +3702,7 @@ definitions: |
| 3702 | 3702 |
example: 4 |
| 3703 | 3703 |
MemTotal: |
| 3704 | 3704 |
description: | |
| 3705 |
- Total amount of physical memory available on the host, in kilobytes (kB). |
|
| 3705 |
+ Total amount of physical memory available on the host, in bytes. |
|
| 3706 | 3706 |
type: "integer" |
| 3707 | 3707 |
format: "int64" |
| 3708 | 3708 |
example: 2095882240 |
| ... | ... |
@@ -4345,7 +4345,7 @@ definitions: |
| 4345 | 4345 |
example: 4 |
| 4346 | 4346 |
MemTotal: |
| 4347 | 4347 |
description: | |
| 4348 |
- Total amount of physical memory available on the host, in kilobytes (kB). |
|
| 4348 |
+ Total amount of physical memory available on the host, in bytes. |
|
| 4349 | 4349 |
type: "integer" |
| 4350 | 4350 |
format: "int64" |
| 4351 | 4351 |
example: 2095882240 |
| ... | ... |
@@ -4467,7 +4467,7 @@ definitions: |
| 4467 | 4467 |
example: 4 |
| 4468 | 4468 |
MemTotal: |
| 4469 | 4469 |
description: | |
| 4470 |
- Total amount of physical memory available on the host, in kilobytes (kB). |
|
| 4470 |
+ Total amount of physical memory available on the host, in bytes. |
|
| 4471 | 4471 |
type: "integer" |
| 4472 | 4472 |
format: "int64" |
| 4473 | 4473 |
example: 2095882240 |