# Query Connection Details

Once an Onsite Proxy is installed and running, you can inspect it directly from the host's command line. Two commands are available: one reports the proxy client's live status, and the other lists the connection details it uses to reach your Cloud Voice PBX (Private Branch Exchange, the hosted phone system).

## Check the client status

The status command reports the proxy's health and how it is currently connected.

### Before you begin

You have [installed the Onsite Proxy](/pbx/onsite-proxy-guide/install-onsite-proxy/) and [started its services](/pbx/onsite-proxy-guide/manage-proxy-service/).

### Steps

1. Open a command line on the Onsite Proxy host.

2. Switch to the root user:

   ```bash
   sudo -i
   ```

   :::note
   If you are prompted for a password, type your current user's password and press **Enter**.
   :::

3. Query the status:

   ```bash
   onsiteproxy-cli status
   ```

   The output lists the proxy's system resource usage, IP address, port, client version, and connection status.

   ![Command-line output listing the Onsite Proxy resource usage, address, version, and tunnel status](/images/pbx/onsite-proxy-query-status.png)

   :::caution
   A **Tunnel Status** of **Abnormal** means the proxy is still connected to the PBX, but resource usage has crossed one of these thresholds:

   - CPU usage above 85%
   - Memory usage above 85%
   - Disk usage above 95%
   :::

## Review the configured connection details

The connection-info command shows the settings the proxy uses to reach your Cloud Voice PBX.

### Before you begin

You have [configured the connection information](/pbx/onsite-proxy-guide/configure-connection-information/) on the Onsite Proxy.

### Steps

1. Open a command line on the Onsite Proxy host.

2. Switch to the root user:

   ```bash
   sudo -i
   ```

   :::note
   If you are prompted for a password, type your current user's password and press **Enter**.
   :::

3. Display the connection details:

   ```bash
   onsiteproxy-cli connectinfo
   ```

   The output shows the connection information currently in effect.

   :::note
   These are the same values that were set when the proxy was installed or its connection was configured. Reviewing them is a quick way to confirm the proxy is pointed at the correct Cloud Voice PBX.
   :::

   
   ![Cloud Voice, command-line output showing the Onsite Proxy connection details](/images/pbx/onsite-proxy-query-info.png)
