yb_stats is a tool used to obtain YugabyteDB cluster status, providing runtime information in a single location. It gathers facts from every YugabyteDB cluster component and stores them in a "snapshot" at a single point in time, storing metadata only and not actual user data. The snapshot contains various performance counters, gauges, histograms, and other metrics for masters and tablet servers, as well as YSQL level performance counters, statement performance data, node_exporter counters, and more. yb_stats has two main goals: to fetch available information in one go and eliminate the cycle of investigation and data collection. The tool stores cluster data in CSV files, allowing for manual investigation and loading into a database. It also provides ad-hoc mode for testing and snapshot-diff mode for comparing snapshots over time. Additional benefits include validating version information after upgrades and enabling further print options to customize output. yb_stats is useful for troubleshooting, analysis, and support, providing persistence and security for the collected data.