Resources
See how much CPU, memory and disk a site uses, and what each of its containers is doing now.
Before you start
- You can open the site in Managed Websites. Anyone who can open a site can see its resources.
- Each environment has its own figures: choose Production or Staging in the site header first.
See a site's usage
Open the site's resources
Go to Managed Websites, choose the site, then Resources under Logs & monitoring. Usage history shows the last 24 hours of CPU.
Choose what to chart
Choose CPU, Memory or Disk, and a range: 6h, 24h, 7d or 30d. View as table lists the same figures.
Read the figures
| On screen | What it means |
|---|---|
| Average and Peak | The usage in each period of the chart, and the highest it reached. A gap is a period with no readings. |
| Guaranteed | What the site always gets. |
| Limit | The most the site can use. It uses more than Guaranteed, up to here, when the cluster has room. |
| Memory cap per container | How the site's memory is shared between PHP, the database and its other containers. |
| Containers right now | Each container's State, and its CPU and memory against its cap. Read now reads them again. |
Automate this
Resources
CPU, memory and disk use over a range, as series of points.
curl https://manage.corefinity.com/api/corestack/sites/1042/usage \
-H "Authorization: Bearer $COREFINITY_TOKEN" \
-H "Accept: application/json"Your assistant calls corestack_site_usage_get.
{
"name": "corestack_site_usage_get",
"arguments": {
"site_id": 4211
}
}Related
Was this helpful?