cpu-usage.asciidoc 913 B

123456789101112131415161718192021222324252627282930
  1. // tag::cloud[]
  2. From your deployment menu, click **Performance**. The page's **CPU Usage** chart
  3. shows your deployment's CPU usage as a percentage.
  4. High CPU usage can also deplete your CPU credits. CPU credits let {ess} provide
  5. smaller clusters with a performance boost when needed. The **CPU credits**
  6. chart shows your remaining CPU credits, measured in seconds of CPU time.
  7. You can also use the <<cat-nodes,cat nodes API>> to get the current CPU usage
  8. for each node.
  9. // tag::cpu-usage-cat-nodes[]
  10. [source,console]
  11. ----
  12. GET _cat/nodes?v=true&s=cpu:desc
  13. ----
  14. The response's `cpu` column contains the current CPU usage as a percentage. The
  15. `node` column contains the node's name.
  16. // end::cpu-usage-cat-nodes[]
  17. // end::cloud[]
  18. // tag::self-managed[]
  19. Use the <<cat-nodes,cat nodes API>> to get the current CPU usage for each node.
  20. include::cpu-usage.asciidoc[tag=cpu-usage-cat-nodes]
  21. // end::self-managed[]