---
title: "Gateway - How to display the plugin counts per probe or managed entity on a gateway?"
description: "Displaying plugin counts per probe or managed entity on a Geneos gateway involves using the Gateway-SQL plugin with specific SQL queries. The sampler must be run manually to populate data, as it does not sample automatically due to performance considerations."
url: "https://docs.itrsgroup.com/docs/faq/geneos/360020101398-geneos-gateway-how-to-display-the-plugin-counts-per-probe-or-managed-entity-on-a-gateway/index.html"
---
This information can be obtained from the gateway by using the Gateway-SQL plugin. The queries work by counting the total number of plugins used by each probe or managed entity. Example of the dataviews are listed below. The [xml](/faq/downloads/geneos/Gwy-sql-PluginsCount.xml.txt) of the sampler can be downloaded for your configuration.

Depending on the estate of your gateway the sampler may be expensive in terms of performance and may take some time to run. Due to this reason, the sampler is configured on purpose NOT to sample on startup and does not run on its own. It has a `0` sampling interval. As a result, you will see `0 rows, Manual sampling` in the dataview when the sampler is initialized.

To run the sampler manually, click on the **Sample now** or refresh button in one of the dataviews, and data will be populated in both dataviews.

![Sample now](https://docscdn.itrsgroup.com/faq/images/geneos/manual-sampling-button.png)

![Plugin count by probe](https://docscdn.itrsgroup.com/faq/images/geneos/plugin-counts-by-probe.png)

![Dataview of total plugins](https://docscdn.itrsgroup.com/faq/images/geneos/total-plugins-dataview.png)

For more information, see the [Gateway-SQL](https://docs.itrsgroup.com/docs/geneos/current/processing/configuration/geneos_gateway_plugins_tr/#gateway-sql) section on the Gateway Plug-Ins documentation. The SQL statements are based on [SQLite](https://www.sqlite.org/lang.html).


