fdctl contains many subcommands which can be run from the command line to manage and operate a Solana validator.
Available Commands
The fdctl CLI provides the following main command categories:Core Operations
run
Run the validator process
monitor
Monitor a running validator’s performance
Configuration & Setup
configure
Configure the operating system for Firedancer
keys
Manage validator identity keypairs
Utility Commands
version
Display the current validator version
shred-version
Display the cluster shred version
metrics
Print validator metrics to stdout
set-identity
Change the identity key of a running validator
mem
Display memory requirements and tile layout
Common Patterns
Most fdctl commands follow these common patterns:Configuration File
Many commands accept a--config argument to specify the path to a TOML configuration file:
Output Streams
- stdout: Used for primary command output (results, metrics, versions)
- stderr: Used for diagnostic messages and logs
Capabilities and Permissions
Many fdctl commands require elevated privileges or specific Linux capabilities. Common requirements include:- root or sudo: For system configuration changes
- CAP_SYS_ADMIN: For namespace operations and kernel parameter changes
- CAP_NET_RAW: For raw socket operations (XDP)
- CAP_SETUID/CAP_SETGID: For switching to sandbox user
- CAP_SYS_RESOURCE: For memory locking and resource limits