elasticsearch/docs/reference/tab-widgets/cpu-usage.asciidoc
Jeffrey Chu 7797e27689
Update cpu-usage.asciidoc (#97883)
In 8.8.2, Column `name` contains the node name, instead of column `node`
2023-07-24 13:47:06 +02:00

30 lines
913 B
Text

// tag::cloud[]
From your deployment menu, click **Performance**. The page's **CPU Usage** chart
shows your deployment's CPU usage as a percentage.
High CPU usage can also deplete your CPU credits. CPU credits let {ess} provide
smaller clusters with a performance boost when needed. The **CPU credits**
chart shows your remaining CPU credits, measured in seconds of CPU time.
You can also use the <<cat-nodes,cat nodes API>> to get the current CPU usage
for each node.
// tag::cpu-usage-cat-nodes[]
[source,console]
----
GET _cat/nodes?v=true&s=cpu:desc
----
The response's `cpu` column contains the current CPU usage as a percentage. The
`name` column contains the node's name.
// end::cpu-usage-cat-nodes[]
// end::cloud[]
// tag::self-managed[]
Use the <<cat-nodes,cat nodes API>> to get the current CPU usage for each node.
include::cpu-usage.asciidoc[tag=cpu-usage-cat-nodes]
// end::self-managed[]