> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Monitoring sessions and deployments

Anaconda Enterprise enables you to see which sessions and deployments are
running on specific nodes or by specific users, so you can monitor cluster
resource usage. You can also view session details *for a specific user* in the
Authorization Center. See [Managing users](../user-mgmt/users) for more
information.

1. Log in to Anaconda Enterprise, select the **Menu** icon in the top
   right corner and click the **Administrative Console** link displayed at the
   bottom of the slide out window.

2. Click **Manage Resources**.

3. Log in to the Operations Center using the Administrator credentials
   [configured after installation](../../install/config).

4. Select **Monitoring** from the menu on the left to display the monitoring
   dashboards.

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/eSsEBS6xLmJK8V-1/images/monitor-cluster-usage.png?fit=max&auto=format&n=eSsEBS6xLmJK8V-1&q=85&s=d739fecaad3fc145d4d50e1ae639c332" alt="" width="2542" height="1270" data-path="images/monitor-cluster-usage.png" />
</Frame>

## Individual pod

To display the monitoring graph for a user session or deployment you’ll
need to identify the appropriate Kubernetes pod name.

For an editor session the Kubernetes pod name corresponds to the hostname
of the session container. Run `hostname` in a terminal window. For
deployments the pod name is available from the logs tab of the deployment
under the heading **name**.

1. Click the **Monitoring** tab from the menu on the left
2. Click **Cluster** at the top left of the dashboard
3. Select **Compute Resource / Workload**

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/kBuj3mPdZoBk8YoG/images/workload-monitoring.png?fit=max&auto=format&n=kBuj3mPdZoBk8YoG&q=85&s=febbb2d6c093f20b8ba5f3c1c776bcb0" alt="" width="1932" height="1160" data-path="images/workload-monitoring.png" />
</Frame>

To display the monitoring graph for an individual pod

1. Select `default` from the **namespace** menu
2. Select the preferred pod from the the **workload** menu

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/GAawxvWy-HUVSCqf/images/pod-monitor.png?fit=max&auto=format&n=GAawxvWy-HUVSCqf&q=85&s=4105b1bb45759c22056a7d35e0381863" alt="" width="2030" height="1406" data-path="images/pod-monitor.png" />
</Frame>

Scroll down further to display the memory usage.

<Frame>
  <img src="https://mintcdn.com/anaconda-29683c67/GAawxvWy-HUVSCqf/images/pod-monitor-memory.png?fit=max&auto=format&n=GAawxvWy-HUVSCqf&q=85&s=d7df9b54490821e7d009d5c695a7de73" alt="" width="1912" height="1056" data-path="images/pod-monitor-memory.png" />
</Frame>

**Using the CLI:**

1. Open an SSH session on the master node in a terminal by logging into the
   Operations Center and selecting **Servers** from the menu on the left.
2. Click on the IP address for the Anaconda Enterprise master node and select
   SSH login as **root**.
3. In the terminal window, run `sudo gravity enter`.

To view total node CPU and memory utilization run

```
kubectl top nodes --heapster-namespace=monitoring
```

To view CPU and memory utilization per pod run

```
kubectl top pods --heapster-namespace=monitoring
```
