sentry

Retrieves the list of sentries connected to the local server along with each sentry's system information and performance metrics.

Note
This command is deprecated. Use the `system sentries` command instead.

Command properties

PropertyDescription
Command typeDriver query
Required permissionAdministrator
License usageNot counted toward license
Parallel executionNot supported
Distributed executionNot supported

Syntax

sentry

Options

None

Output fields

FieldTypeDescription
guidstringSentry unique identifier.
host_namestringHostname of the system where the sentry is installed.
remote_ipstringRemote IP address of the sentry.
is_connectedbooleanWhether the sentry is currently connected.
pkg_verstringSentry package name and version.
descriptionstringSentry description.
cpu_usagedoubleTotal CPU usage (unit: %).
mem_usagedoublePhysical memory usage (unit: %).
disk_usagedoubleDisk usage of the highest-utilized disk (unit: %).
nic_rx_usagedoubleReceive usage of the highest-bandwidth NIC (unit: %).
nic_tx_usagedoubleTransmit usage of the highest-bandwidth NIC (unit: %).
user_dirstringWorking directory path of the sentry process.
cpu_kerneldoubleKernel-mode CPU usage (unit: %).
cpu_userdoubleUser-mode CPU usage (unit: %).
phy_usedlongPhysical memory in use (unit: bytes).
phy_freelongAvailable physical memory (unit: bytes).
phy_totallongTotal physical memory (unit: bytes).
swap_usedlongSwap memory in use (unit: bytes).
swap_freelongAvailable swap memory (unit: bytes).
swap_totallongTotal swap memory (unit: bytes).
last_connect_attimestampTime of the last connection.
osstringOperating system name.
os_verstringOperating system version.
archstringCPU architecture.
jvm_namestringJVM name.
jvm_versionstringJVM version.
ip_addrsarrayList of IP addresses of the sentry's network interfaces.
disksarrayList of disk usage information.
nicsarrayList of network interface speed metrics.

Error codes

Parsing errors
Error codeMessageDescription
no-read-permission-A user without administrator privileges ran the command.
Runtime errors

N/A

Description

The sentry command retrieves metadata, connection status, and real-time performance metrics for all sentries registered on the local server in a single query.

When a sentry is currently connected (is_connected=true), performance metrics such as CPU, memory, disk, and network usage are included in the output. Disconnected sentries output only metadata; performance metric fields are not output.

Performance metrics reflect the most recently collected values from the sentry and are not real-time measurements.

This command retrieves only sentries directly connected to the current server. To retrieve sentries from all Data Nodes in a cluster environment, use the system sentries command.

Examples

  1. Retrieve all sentry listings

    sentry
    

    Retrieves the list and performance metrics of all sentries connected to the local server.

  2. Filter only connected sentries

    sentry | search is_connected == true
    

    Filters and retrieves only sentries that are currently connected.

  3. Sort by CPU usage descending

    sentry | sort -cpu_usage
    

    Retrieves all sentries sorted by CPU usage in descending order.