mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
update all the versions from v1.19 to v1.23
update v1.22 Signed-off-by: ZJUshuaizhou <21551191@zju.edu.cn> update all the versions docs Signed-off-by: ZJUshuaizhou <21551191@zju.edu.cn> revert v1,20 Signed-off-by: ZJUshuaizhou <21551191@zju.edu.cn> update v1,20 Signed-off-by: ZJUshuaizhou <21551191@zju.edu.cn> revert v1,20 Signed-off-by: ZJUshuaizhou <21551191@zju.edu.cn> update v1,20 Signed-off-by: ZJUshuaizhou <21551191@zju.edu.cn>
This commit is contained in:
parent
4a087e4e6b
commit
220a188ae8
5 changed files with 130 additions and 45 deletions
|
@ -682,20 +682,37 @@ This endpoint returns a live stream of a container's resource usage statistics.
|
||||||
"cpu_stats" : {
|
"cpu_stats" : {
|
||||||
"cpu_usage" : {
|
"cpu_usage" : {
|
||||||
"percpu_usage" : [
|
"percpu_usage" : [
|
||||||
16970827,
|
8646879,
|
||||||
1839451,
|
24472255,
|
||||||
7107380,
|
36438778,
|
||||||
10571290
|
30657443
|
||||||
],
|
],
|
||||||
"usage_in_usermode" : 10000000,
|
"usage_in_usermode" : 50000000,
|
||||||
"total_usage" : 36488948,
|
"total_usage" : 100215355,
|
||||||
"usage_in_kernelmode" : 20000000
|
"usage_in_kernelmode" : 30000000
|
||||||
},
|
},
|
||||||
"system_cpu_usage" : 20091722000000000,
|
"system_cpu_usage" : 739306590000000,
|
||||||
"throttling_data" : {}
|
"throttling_data" : {"periods":0,"throttled_periods":0,"throttled_time":0}
|
||||||
|
},
|
||||||
|
"precpu_stats" : {
|
||||||
|
"cpu_usage" : {
|
||||||
|
"percpu_usage" : [
|
||||||
|
8646879,
|
||||||
|
24350896,
|
||||||
|
36438778,
|
||||||
|
30657443
|
||||||
|
],
|
||||||
|
"usage_in_usermode" : 50000000,
|
||||||
|
"total_usage" : 100093996,
|
||||||
|
"usage_in_kernelmode" : 30000000
|
||||||
|
},
|
||||||
|
"system_cpu_usage" : 9492140000000,
|
||||||
|
"throttling_data" : {"periods":0,"throttled_periods":0,"throttled_time":0}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
The precpu_stats is the cpu statistic of last read, which is used for calculating the cpu usage percent. It is not the exact copy of the “cpu_stats” field.
|
||||||
|
|
||||||
Query Parameters:
|
Query Parameters:
|
||||||
|
|
||||||
- **stream** – 1/True/true or 0/False/false, pull stats once then disconnect. Default `true`.
|
- **stream** – 1/True/true or 0/False/false, pull stats once then disconnect. Default `true`.
|
||||||
|
|
|
@ -695,20 +695,37 @@ This endpoint returns a live stream of a container's resource usage statistics.
|
||||||
"cpu_stats" : {
|
"cpu_stats" : {
|
||||||
"cpu_usage" : {
|
"cpu_usage" : {
|
||||||
"percpu_usage" : [
|
"percpu_usage" : [
|
||||||
16970827,
|
8646879,
|
||||||
1839451,
|
24472255,
|
||||||
7107380,
|
36438778,
|
||||||
10571290
|
30657443
|
||||||
],
|
],
|
||||||
"usage_in_usermode" : 10000000,
|
"usage_in_usermode" : 50000000,
|
||||||
"total_usage" : 36488948,
|
"total_usage" : 100215355,
|
||||||
"usage_in_kernelmode" : 20000000
|
"usage_in_kernelmode" : 30000000
|
||||||
},
|
},
|
||||||
"system_cpu_usage" : 20091722000000000,
|
"system_cpu_usage" : 739306590000000,
|
||||||
"throttling_data" : {}
|
"throttling_data" : {"periods":0,"throttled_periods":0,"throttled_time":0}
|
||||||
|
},
|
||||||
|
"precpu_stats" : {
|
||||||
|
"cpu_usage" : {
|
||||||
|
"percpu_usage" : [
|
||||||
|
8646879,
|
||||||
|
24350896,
|
||||||
|
36438778,
|
||||||
|
30657443
|
||||||
|
],
|
||||||
|
"usage_in_usermode" : 50000000,
|
||||||
|
"total_usage" : 100093996,
|
||||||
|
"usage_in_kernelmode" : 30000000
|
||||||
|
},
|
||||||
|
"system_cpu_usage" : 9492140000000,
|
||||||
|
"throttling_data" : {"periods":0,"throttled_periods":0,"throttled_time":0}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
The precpu_stats is the cpu statistic of last read, which is used for calculating the cpu usage percent. It is not the exact copy of the “cpu_stats” field.
|
||||||
|
|
||||||
Query Parameters:
|
Query Parameters:
|
||||||
|
|
||||||
- **stream** – 1/True/true or 0/False/false, pull stats once then disconnect. Default `true`.
|
- **stream** – 1/True/true or 0/False/false, pull stats once then disconnect. Default `true`.
|
||||||
|
|
|
@ -773,20 +773,37 @@ This endpoint returns a live stream of a container's resource usage statistics.
|
||||||
"cpu_stats" : {
|
"cpu_stats" : {
|
||||||
"cpu_usage" : {
|
"cpu_usage" : {
|
||||||
"percpu_usage" : [
|
"percpu_usage" : [
|
||||||
16970827,
|
8646879,
|
||||||
1839451,
|
24472255,
|
||||||
7107380,
|
36438778,
|
||||||
10571290
|
30657443
|
||||||
],
|
],
|
||||||
"usage_in_usermode" : 10000000,
|
"usage_in_usermode" : 50000000,
|
||||||
"total_usage" : 36488948,
|
"total_usage" : 100215355,
|
||||||
"usage_in_kernelmode" : 20000000
|
"usage_in_kernelmode" : 30000000
|
||||||
},
|
},
|
||||||
"system_cpu_usage" : 20091722000000000,
|
"system_cpu_usage" : 739306590000000,
|
||||||
"throttling_data" : {}
|
"throttling_data" : {"periods":0,"throttled_periods":0,"throttled_time":0}
|
||||||
|
},
|
||||||
|
"precpu_stats" : {
|
||||||
|
"cpu_usage" : {
|
||||||
|
"percpu_usage" : [
|
||||||
|
8646879,
|
||||||
|
24350896,
|
||||||
|
36438778,
|
||||||
|
30657443
|
||||||
|
],
|
||||||
|
"usage_in_usermode" : 50000000,
|
||||||
|
"total_usage" : 100093996,
|
||||||
|
"usage_in_kernelmode" : 30000000
|
||||||
|
},
|
||||||
|
"system_cpu_usage" : 9492140000000,
|
||||||
|
"throttling_data" : {"periods":0,"throttled_periods":0,"throttled_time":0}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
The precpu_stats is the cpu statistic of last read, which is used for calculating the cpu usage percent. It is not the exact copy of the “cpu_stats” field.
|
||||||
|
|
||||||
Query Parameters:
|
Query Parameters:
|
||||||
|
|
||||||
- **stream** – 1/True/true or 0/False/false, pull stats once then disconnect. Default `true`.
|
- **stream** – 1/True/true or 0/False/false, pull stats once then disconnect. Default `true`.
|
||||||
|
|
|
@ -867,20 +867,37 @@ This endpoint returns a live stream of a container's resource usage statistics.
|
||||||
"cpu_stats" : {
|
"cpu_stats" : {
|
||||||
"cpu_usage" : {
|
"cpu_usage" : {
|
||||||
"percpu_usage" : [
|
"percpu_usage" : [
|
||||||
16970827,
|
8646879,
|
||||||
1839451,
|
24472255,
|
||||||
7107380,
|
36438778,
|
||||||
10571290
|
30657443
|
||||||
],
|
],
|
||||||
"usage_in_usermode" : 10000000,
|
"usage_in_usermode" : 50000000,
|
||||||
"total_usage" : 36488948,
|
"total_usage" : 100215355,
|
||||||
"usage_in_kernelmode" : 20000000
|
"usage_in_kernelmode" : 30000000
|
||||||
},
|
},
|
||||||
"system_cpu_usage" : 20091722000000000,
|
"system_cpu_usage" : 739306590000000,
|
||||||
"throttling_data" : {}
|
"throttling_data" : {"periods":0,"throttled_periods":0,"throttled_time":0}
|
||||||
|
},
|
||||||
|
"precpu_stats" : {
|
||||||
|
"cpu_usage" : {
|
||||||
|
"percpu_usage" : [
|
||||||
|
8646879,
|
||||||
|
24350896,
|
||||||
|
36438778,
|
||||||
|
30657443
|
||||||
|
],
|
||||||
|
"usage_in_usermode" : 50000000,
|
||||||
|
"total_usage" : 100093996,
|
||||||
|
"usage_in_kernelmode" : 30000000
|
||||||
|
},
|
||||||
|
"system_cpu_usage" : 9492140000000,
|
||||||
|
"throttling_data" : {"periods":0,"throttled_periods":0,"throttled_time":0}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
The precpu_stats is the cpu statistic of last read, which is used for calculating the cpu usage percent. It is not the exact copy of the “cpu_stats” field.
|
||||||
|
|
||||||
Query Parameters:
|
Query Parameters:
|
||||||
|
|
||||||
- **stream** – 1/True/true or 0/False/false, pull stats once then disconnect. Default `true`.
|
- **stream** – 1/True/true or 0/False/false, pull stats once then disconnect. Default `true`.
|
||||||
|
|
|
@ -871,20 +871,37 @@ This endpoint returns a live stream of a container's resource usage statistics.
|
||||||
"cpu_stats" : {
|
"cpu_stats" : {
|
||||||
"cpu_usage" : {
|
"cpu_usage" : {
|
||||||
"percpu_usage" : [
|
"percpu_usage" : [
|
||||||
16970827,
|
8646879,
|
||||||
1839451,
|
24472255,
|
||||||
7107380,
|
36438778,
|
||||||
10571290
|
30657443
|
||||||
],
|
],
|
||||||
"usage_in_usermode" : 10000000,
|
"usage_in_usermode" : 50000000,
|
||||||
"total_usage" : 36488948,
|
"total_usage" : 100215355,
|
||||||
"usage_in_kernelmode" : 20000000
|
"usage_in_kernelmode" : 30000000
|
||||||
},
|
},
|
||||||
"system_cpu_usage" : 20091722000000000,
|
"system_cpu_usage" : 739306590000000,
|
||||||
"throttling_data" : {}
|
"throttling_data" : {"periods":0,"throttled_periods":0,"throttled_time":0}
|
||||||
|
},
|
||||||
|
"precpu_stats" : {
|
||||||
|
"cpu_usage" : {
|
||||||
|
"percpu_usage" : [
|
||||||
|
8646879,
|
||||||
|
24350896,
|
||||||
|
36438778,
|
||||||
|
30657443
|
||||||
|
],
|
||||||
|
"usage_in_usermode" : 50000000,
|
||||||
|
"total_usage" : 100093996,
|
||||||
|
"usage_in_kernelmode" : 30000000
|
||||||
|
},
|
||||||
|
"system_cpu_usage" : 9492140000000,
|
||||||
|
"throttling_data" : {"periods":0,"throttled_periods":0,"throttled_time":0}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
The precpu_stats is the cpu statistic of last read, which is used for calculating the cpu usage percent. It is not the exact copy of the “cpu_stats” field.
|
||||||
|
|
||||||
Query Parameters:
|
Query Parameters:
|
||||||
|
|
||||||
- **stream** – 1/True/true or 0/False/false, pull stats once then disconnect. Default `true`.
|
- **stream** – 1/True/true or 0/False/false, pull stats once then disconnect. Default `true`.
|
||||||
|
|
Loading…
Add table
Reference in a new issue