v.22.3New Feature

Display CPU and Memory Metrics in ClickHouse Local

Display CPU and memory metrics in clickhouse-local. Close #34545. #34605 (李扬).
Adds the ability to display CPU and memory metrics directly within clickhouse-local.

Why it matters

This feature provides users with real-time visibility of system resource usage (CPU and memory) when working in clickhouse-local. It helps in monitoring and diagnosing resource-related issues without leaving the ClickHouse environment.

How to use it

Users can invoke specific commands or queries in clickhouse-local to retrieve the current CPU and memory metrics. No additional configuration is required; simply run clickhouse-local and use the newly introduced functionality to display system metrics.