---
title: Use InfluxQL for diagnostics
description: Use InfluxQL commands for diagnostics and statistics.
url: https://docs.influxdata.com/enterprise_influxdb/v1/administration/monitor/diagnostics/
estimated_tokens: 201
publisher: InfluxData
canonical: https://docs.influxdata.com/enterprise_influxdb/v1/administration/monitor/diagnostics/
date: '2023-09-12T23:33:31-06:00'
lastmod: '2023-09-12T23:33:31-06:00'
---

The commands below are useful when diagnosing issues with InfluxDB Enterprise clusters.
Use the [`influx` CLI](/enterprise_influxdb/v1/tools/influx-cli/use-influx/) to run these commands.

### SHOW STATS

To see node statistics, run `SHOW STATS`.
The statistics returned by `SHOW STATS` are stored in memory only,
and are reset to zero when the node is restarted.

For details on this command, see [`SHOW STATS`](/enterprise_influxdb/v1/query_language/spec#show-stats).

### SHOW DIAGNOSTICS

To see node diagnostic information, run `SHOW DIAGNOSTICS`.
This returns information such as build information, uptime, hostname, server configuration, memory usage, and Go runtime diagnostics.

For details on this command, see [`SHOW DIAGNOSTICS`](/enterprise_influxdb/v1/query_language/spec#show-diagnostics).
