mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #35410 from soulshake/soulshake-precpu-to-percpu-api-docs
Replace 'precpu' with 'percpu' in API docs.
This commit is contained in:
commit
1ae8ca9e0c
7 changed files with 9 additions and 9 deletions
|
@ -5095,9 +5095,9 @@ paths:
|
|||
This endpoint returns a live stream of a container’s resource usage
|
||||
statistics.
|
||||
|
||||
The `precpu_stats` is the CPU statistic of last read, which is used
|
||||
for calculating the CPU usage percentage. It is not the same as the
|
||||
`cpu_stats` field.
|
||||
The `precpu_stats` is the CPU statistic of the *previous* read, and is
|
||||
used to calculate the CPU usage percentage. It is not an exact copy
|
||||
of the `cpu_stats` field.
|
||||
|
||||
If either `precpu_stats.online_cpus` or `cpu_stats.online_cpus` is
|
||||
nil then for compatibility with older daemons the length of the
|
||||
|
|
|
@ -739,7 +739,7 @@ This endpoint returns a live stream of a container's resource usage statistics.
|
|||
}
|
||||
}
|
||||
|
||||
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.
|
||||
The `precpu_stats` is the cpu statistic of *previous* read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field.
|
||||
|
||||
**Query parameters**:
|
||||
|
||||
|
|
|
@ -748,7 +748,7 @@ This endpoint returns a live stream of a container's resource usage statistics.
|
|||
}
|
||||
}
|
||||
|
||||
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.
|
||||
The `precpu_stats` is the cpu statistic of *previous* read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field.
|
||||
|
||||
**Query parameters**:
|
||||
|
||||
|
|
|
@ -829,7 +829,7 @@ This endpoint returns a live stream of a container's resource usage statistics.
|
|||
}
|
||||
}
|
||||
|
||||
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.
|
||||
The `precpu_stats` is the cpu statistic of *previous* read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field.
|
||||
|
||||
**Query parameters**:
|
||||
|
||||
|
|
|
@ -957,7 +957,7 @@ This endpoint returns a live stream of a container's resource usage statistics.
|
|||
}
|
||||
}
|
||||
|
||||
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.
|
||||
The `precpu_stats` is the cpu statistic of *previous* read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field.
|
||||
|
||||
**Query parameters**:
|
||||
|
||||
|
|
|
@ -986,7 +986,7 @@ This endpoint returns a live stream of a container's resource usage statistics.
|
|||
}
|
||||
}
|
||||
|
||||
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.
|
||||
The `precpu_stats` is the cpu statistic of *previous* read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field.
|
||||
|
||||
**Query parameters**:
|
||||
|
||||
|
|
|
@ -1036,7 +1036,7 @@ This endpoint returns a live stream of a container's resource usage statistics.
|
|||
}
|
||||
}
|
||||
|
||||
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.
|
||||
The `precpu_stats` is the cpu statistic of *previous* read, which is used for calculating the cpu usage percent. It is not the exact copy of the `cpu_stats` field.
|
||||
|
||||
**Query parameters**:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue