# Agents

The **Agents** view contains a table with agents that are connected currently.

![Connected Agents](https://4133209095-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpN7wUQHQSd7nz09yOW%2F-MU4OLiMhmNNaIhGZ0-E%2F-MU54Ju_THILaUn6K64x%2Fagents.png?alt=media\&token=7b9197fe-be38-43e0-92c5-87932df227f6)

The following information is presented in the table:

| Column            | Description                                                                                                       |
| ----------------- | ----------------------------------------------------------------------------------------------------------------- |
| **APPLICATION**   | Application the agent belongs to.                                                                                 |
| **NAME**          | Name of the agent. If the agent has no license assigned, the triangle icon is displayed otherwise, the green one. |
| **PROFILE**       | Profile the agent is assigned to.                                                                                 |
| **UPTIME**        | Agent's uptime.                                                                                                   |
| **SATURATION**    | Ratio of the number of received packets to the total number of packets.                                           |
| **INST. METHODS** | Number of instrumented methods.                                                                                   |
| **DTR**           | Data Transfer Rate from the agent.                                                                                |
| **ERRORS**        | Number of errors in the agent logs.                                                                               |

To see the [agent details](#agent-details), click the link in the **NAME** column.

## Agent Actions

Each agent record has the option menu, which allows executing queries on the agent directly.

{% hint style="info" %}
You must have the [Query Agents](https://docs.flopsar.com/4.0/administrator-guide/managing-users#permissions) permission to see this option menu.
{% endhint %}

To execute a query, click the corresponding menu item in the option menu.

### JVM Properties

This query retrieves all Java properties from JVM the agent runs on.

![Sample JVM Properties](https://4133209095-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpN7wUQHQSd7nz09yOW%2F-MU5APPNDZhst9vne0H0%2F-MU5AZR6WRs1DGl0b-4O%2Fjava_props.png?alt=media\&token=3a1c5d0c-1e62-4b27-a29b-ef84dcf934cf)

### Class Loaders

This query retrieves a list of all detected class loaders.

![Sample Class Loaders ](https://4133209095-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpN7wUQHQSd7nz09yOW%2F-MU5AeOcOKCmktCxzTEg%2F-MU5B8bbxPgqPsFncP4a%2Fcloaders.png?alt=media\&token=20f99e40-022c-40f2-863d-6923d2fb487d)

&#x20;The result is presented in the form of a table. Each reported class loader can be in one of the four states:

* **PENDING** : to be instrumented,
* **NO NEED** : has been checked and no instrumentation is needed,
* **SKIPPED** : will not be instrumented,
* **INSTRUM** : has been instrumented.

### Packages

This query allows you to see what packages are available in your application. It is useful if you want to know what packages are available in your Java environment so that you can add some class rules to your profile. The packages are reported up to the third level.

![Sample Packages](https://4133209095-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpN7wUQHQSd7nz09yOW%2F-MU5CtvQHrXRbnIxHdxk%2F-MU5D09eDluleEqTsyr6%2Fpackages.png?alt=media\&token=67e145a9-2838-4ad5-a1c5-6f8fdbcbf1f2)

### Threads Dump

This query retrieves a threads dump from the agent. The result header contains the following metrics:

* `STARTED` : total number of threads created and also started since the JVM started,
* `PEAK` : peak live thread count since the JVM started,
* `TOTAL` : total number of threads,
* `DAEMON` : current number of live daemon threads.

![Sample Threads Dump](https://4133209095-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpN7wUQHQSd7nz09yOW%2F-MU5D_kVZ0nICk9y7fkG%2F-MU5DozyyB5UkQOOHXV5%2Fthread_dump.png?alt=media\&token=0c7e65c3-348d-482b-92fe-913f3c24ef88)

### Agent's Log

This query retrieves recent agent's logs. It will download up to 1 MB of recent logs.

![Sample Agent's Logs](https://4133209095-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpN7wUQHQSd7nz09yOW%2F-MU5DyIWA_V5fINKkYqQ%2F-MU5ELF_g-IF-embZdSS%2Fagent_logs.png?alt=media\&token=d5ce62b2-de16-483c-bbf7-49b4a3663785)

## Agent Details

This view presents detailed information on the selected agent.

![Agent Details View](https://4133209095-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpN7wUQHQSd7nz09yOW%2F-MUj79iOFm4k5guYVoz5%2F-MUns907E4wKiNRapW2f%2Fagent_det.png?alt=media\&token=9c6fb260-682a-4cb5-a7dc-0cec12e9d3c7)

| Information     | Description                                                                                                        |
| --------------- | ------------------------------------------------------------------------------------------------------------------ |
| **application** | Application the agent belongs to.                                                                                  |
| **name**        | Name of the agent.                                                                                                 |
| **version**     | Version of the agent.                                                                                              |
| **platform**    | Platform the agent is running on.                                                                                  |
| **started at**  | Time the agent started at.                                                                                         |
| **uptime**      | Agent uptime time. It shows how long the agent is up.                                                              |
| **last update** | Agent last report time. It shows how much time has passed since the last agent report received by the workstation. |
