Resource Utilization

CPU, memory, disk I/O, and network throughput analysis for PQ Devnet clients.

This notebook examines container-level resource usage using cAdvisor metrics:

  • CPU usage (cores) per client
  • Memory working set and RSS per client
  • Disk read/write throughput
  • Disk usage over time
  • Network receive/transmit throughput
Show code
import json
from pathlib import Path

import pandas as pd
import plotly.express as px
import plotly.graph_objects as go
from plotly.subplots import make_subplots
from IPython.display import HTML, display

# Set default renderer for static HTML output
import plotly.io as pio
pio.renderers.default = "notebook"
Show code
# Resolve devnet_id
DATA_DIR = Path("../data")

if devnet_id is None:
    # Use latest devnet from manifest
    devnets_path = DATA_DIR / "devnets.json"
    if devnets_path.exists():
        with open(devnets_path) as f:
            devnets = json.load(f).get("devnets", [])
        if devnets:
            devnet_id = devnets[-1]["id"]  # Latest
            print(f"Using latest devnet: {devnet_id}")
    else:
        raise ValueError("No devnets.json found. Run 'just detect-devnets' first.")

DEVNET_DIR = DATA_DIR / devnet_id
print(f"Loading data from: {DEVNET_DIR}")
Loading data from: ../data/pqdevnet-20260518T0141Z
Show code
# Load devnet metadata
with open(DATA_DIR / "devnets.json") as f:
    devnets_data = json.load(f)
    devnet_info = next((d for d in devnets_data["devnets"] if d["id"] == devnet_id), None)

if devnet_info:
    print(f"Devnet: {devnet_info['id']}")
    print(f"Duration: {devnet_info['duration_hours']:.1f} hours")
    print(f"Time: {devnet_info['start_time']} to {devnet_info['end_time']}")
    print(f"Slots: {devnet_info['start_slot']} \u2192 {devnet_info['end_slot']}")
    print(f"Clients: {', '.join(devnet_info['clients'])}")
Devnet: pqdevnet-20260518T0141Z
Duration: 0.2 hours
Time: 2026-05-18T01:41:31+00:00 to 2026-05-18T01:55:37+00:00
Slots: 0 → 2849
Clients: ethlambda_0, ethlambda_1, ethlambda_10, ethlambda_11, ethlambda_12, ethlambda_13, ethlambda_14, ethlambda_15, ethlambda_2, ethlambda_3, ethlambda_4, ethlambda_5, ethlambda_6, ethlambda_7, ethlambda_8, ethlambda_9, gean_0, gean_1, gean_2, gean_3, gean_4, gean_5, gean_6, gean_7, nlean_0, nlean_1, nlean_2, nlean_3, nlean_4, nlean_5, nlean_6, nlean_7, ream_0, ream_1, ream_10, ream_11, ream_12, ream_14, ream_15, ream_2, ream_3, ream_4, ream_5, ream_6, ream_7, ream_8, ream_9, zeam_0, zeam_1, zeam_10, zeam_11, zeam_12, zeam_13, zeam_14, zeam_15, zeam_2, zeam_3, zeam_4, zeam_5, zeam_6, zeam_7, zeam_8, zeam_9
Show code
def format_bytes(val: float) -> str:
    """Format bytes to human-readable units."""
    for unit in ["B", "KB", "MB", "GB", "TB"]:
        if abs(val) < 1024:
            return f"{val:.1f} {unit}"
        val /= 1024
    return f"{val:.1f} PB"


def format_bytes_per_sec(val: float) -> str:
    """Format bytes/s to human-readable units."""
    return format_bytes(val) + "/s"

Load Data

Show code
# Load container resource data
data_files = {
    "cpu": "container_cpu.parquet",
    "memory": "container_memory.parquet",
    "disk_io": "container_disk_io.parquet",
    "network": "container_network.parquet",
}

# Infrastructure containers irrelevant to devnet client analysis
EXCLUDED_CONTAINERS = {"unknown", "cadvisor", "prometheus", "promtail", "node-exporter", "node_exporter", "grafana"}

# Aggregation strategy per data type:
# - cpu/memory: max (gauge-like, take the active container's value)
# - disk_io/network: sum (per-device/interface rates should be summed)
AGG_STRATEGY = {"cpu": "max", "memory": "max", "disk_io": "sum", "network": "sum"}

# Group-by columns per data type (all have container+timestamp, some have metric)
GROUP_COLS = {
    "cpu": ["container", "timestamp"],
    "memory": ["container", "metric", "timestamp"],
    "disk_io": ["container", "metric", "timestamp"],
    "network": ["container", "metric", "timestamp"],
}

dfs = {}
for key, filename in data_files.items():
    path = DEVNET_DIR / filename
    if path.exists():
        df = pd.read_parquet(path)
        df = df[~df["container"].isin(EXCLUDED_CONTAINERS)]
        # Deduplicate: multiple Prometheus series (interfaces, devices, container
        # IDs after restarts) can produce duplicate rows per container+timestamp.
        df = df.groupby(GROUP_COLS[key], as_index=False)["value"].agg(AGG_STRATEGY[key])
        dfs[key] = df
        print(f"{key}: {len(df)} records, containers: {df['container'].nunique()}")
    else:
        dfs[key] = pd.DataFrame()
        print(f"{key}: no data (file not found)")

# Unified container list: use devnet_info["clients"] which already contains
# full names with instance suffixes (e.g., "ream_0", "ream_1").
all_containers = sorted(devnet_info["clients"])
n_cols = min(len(all_containers), 2)
n_rows = -(-len(all_containers) // n_cols)
print(f"\nAll containers ({len(all_containers)}): {all_containers}")
cpu: 174 records, containers: 60
memory: 1788 records, containers: 62
disk_io: 348 records, containers: 60
network: 348 records, containers: 60

All containers (63): ['ethlambda_0', 'ethlambda_1', 'ethlambda_10', 'ethlambda_11', 'ethlambda_12', 'ethlambda_13', 'ethlambda_14', 'ethlambda_15', 'ethlambda_2', 'ethlambda_3', 'ethlambda_4', 'ethlambda_5', 'ethlambda_6', 'ethlambda_7', 'ethlambda_8', 'ethlambda_9', 'gean_0', 'gean_1', 'gean_2', 'gean_3', 'gean_4', 'gean_5', 'gean_6', 'gean_7', 'nlean_0', 'nlean_1', 'nlean_2', 'nlean_3', 'nlean_4', 'nlean_5', 'nlean_6', 'nlean_7', 'ream_0', 'ream_1', 'ream_10', 'ream_11', 'ream_12', 'ream_14', 'ream_15', 'ream_2', 'ream_3', 'ream_4', 'ream_5', 'ream_6', 'ream_7', 'ream_8', 'ream_9', 'zeam_0', 'zeam_1', 'zeam_10', 'zeam_11', 'zeam_12', 'zeam_13', 'zeam_14', 'zeam_15', 'zeam_2', 'zeam_3', 'zeam_4', 'zeam_5', 'zeam_6', 'zeam_7', 'zeam_8', 'zeam_9']

CPU Usage

CPU cores used per container over time, derived from rate(container_cpu_usage_seconds_total[5m]).

Show code
cpu_df = dfs["cpu"]

if cpu_df.empty:
    print("No CPU data available")
else:
    fig = make_subplots(
        rows=n_rows, cols=n_cols,
        subplot_titles=all_containers,
        vertical_spacing=0.12 / max(n_rows - 1, 1) * 2,
        horizontal_spacing=0.08,
    )

    for i, container in enumerate(all_containers):
        row = i // n_cols + 1
        col = i % n_cols + 1
        cdf = cpu_df[cpu_df["container"] == container].sort_values("timestamp")
        if not cdf.empty:
            fig.add_trace(
                go.Scatter(
                    x=cdf["timestamp"], y=cdf["value"],
                    name=container, showlegend=False,
                    line=dict(color="#636EFA"),
                ),
                row=row, col=col,
            )
        else:
            fig.add_trace(
                go.Scatter(x=[None], y=[None], showlegend=False, hoverinfo='skip'),
                row=row, col=col,
            )
            _n = (row - 1) * n_cols + col
            _s = "" if _n == 1 else str(_n)
            fig.add_annotation(
                text="No data available",
                xref=f"x{_s} domain", yref=f"y{_s} domain",
                x=0.5, y=0.5,
                showarrow=False,
                font=dict(size=12, color="#999"),
            )
        fig.update_yaxes(title_text="CPU (cores)", row=row, col=col)

    fig.update_layout(
        title="CPU Usage per Container",
        height=270 * n_rows,
    )
    fig.show()
Show code
# CPU summary statistics
if not cpu_df.empty:
    cpu_summary = cpu_df.groupby("container")["value"].agg(
        ["mean", "max", "min", "std"]
    ).round(3)
    cpu_summary.columns = ["Mean (cores)", "Max (cores)", "Min (cores)", "Std Dev"]
    cpu_summary = cpu_summary.sort_index()
    display(cpu_summary)
Mean (cores) Max (cores) Min (cores) Std Dev
container
ethlambda_0 1.249 1.339 1.122 0.113
ethlambda_1 1.581 1.649 1.471 0.097
ethlambda_10 1.294 1.431 1.104 0.170
ethlambda_11 1.178 1.404 0.920 0.244
ethlambda_13 1.293 1.415 1.094 0.174
ethlambda_14 1.112 1.305 0.856 0.231
ethlambda_15 0.551 0.572 0.524 0.025
ethlambda_2 1.155 1.415 0.886 0.264
ethlambda_3 1.262 1.507 0.913 0.311
ethlambda_4 0.870 0.909 0.795 0.065
ethlambda_5 1.038 1.161 0.831 0.180
ethlambda_6 3.267 3.426 3.112 0.157
ethlambda_7 1.117 1.353 0.901 0.226
ethlambda_8 3.393 3.513 3.315 0.106
ethlambda_9 1.220 1.352 1.064 0.145
gean_0 2.089 2.252 1.937 0.158
gean_1 0.749 1.184 0.499 0.378
gean_2 0.797 1.199 0.562 0.350
gean_3 1.127 1.309 0.799 0.285
gean_4 0.966 1.252 0.583 0.345
gean_5 0.638 0.990 0.105 0.470
gean_6 0.966 1.348 0.210 0.654
gean_7 0.819 1.207 0.403 0.403
nlean_0 1.122 1.585 0.545 0.529
nlean_1 0.784 1.380 0.204 0.588
nlean_2 0.543 0.543 0.543 NaN
nlean_3 0.691 0.788 0.600 0.094
nlean_4 1.678 1.801 1.540 0.131
nlean_5 0.962 1.186 0.647 0.280
nlean_6 1.883 2.641 1.205 0.721
nlean_7 1.269 1.524 1.012 0.256
ream_0 0.889 0.901 0.881 0.011
ream_10 0.375 0.646 0.201 0.237
ream_11 0.460 0.616 0.245 0.192
ream_12 0.547 0.878 0.273 0.307
ream_13 0.417 0.417 0.417 NaN
ream_14 0.387 0.437 0.316 0.064
ream_15 1.142 1.170 1.124 0.025
ream_2 1.029 1.096 0.940 0.080
ream_3 0.870 0.885 0.862 0.013
ream_4 0.727 1.037 0.533 0.271
ream_6 0.458 0.523 0.392 0.093
ream_7 0.536 0.672 0.320 0.189
ream_8 1.117 1.418 0.676 0.391
ream_9 0.324 0.367 0.248 0.067
zeam_0 0.020 0.022 0.018 0.002
zeam_1 0.047 0.070 0.020 0.026
zeam_10 0.024 0.025 0.024 0.001
zeam_11 0.017 0.017 0.017 0.000
zeam_12 0.019 0.020 0.018 0.001
zeam_13 0.021 0.026 0.018 0.004
zeam_14 0.017 0.018 0.017 0.000
zeam_15 0.027 0.041 0.017 0.012
zeam_3 0.059 0.102 0.016 0.061
zeam_4 1.371 1.481 1.166 0.178
zeam_5 0.019 0.021 0.017 0.002
zeam_6 0.019 0.022 0.017 0.003
zeam_7 0.012 0.013 0.010 0.002
zeam_8 1.111 1.113 1.107 0.003
zeam_9 0.160 0.246 0.102 0.076

Memory Usage

Memory consumption per container, including working set (total usage minus inactive file cache) and RSS (Resident Set Size -- anonymous memory only, excluding file-backed pages). The gap between the two shows active file cache usage.

Show code
mem_df = dfs["memory"]

if mem_df.empty:
    print("No memory data available")
else:
    # Combine working_set and rss for per-container comparison
    mem_plot_df = mem_df[mem_df["metric"].isin(["working_set", "rss"])].copy()
    if not mem_plot_df.empty:
        mem_plot_df["value_mb"] = mem_plot_df["value"] / (1024 * 1024)

        fig = make_subplots(
            rows=n_rows, cols=n_cols,
            subplot_titles=all_containers,
            vertical_spacing=0.12 / max(n_rows - 1, 1) * 2,
            horizontal_spacing=0.08,
        )

        colors = {"working_set": "#636EFA", "rss": "#EF553B"}
        legend_added = set()

        for i, container in enumerate(all_containers):
            row = i // n_cols + 1
            col = i % n_cols + 1
            cdf = mem_plot_df[mem_plot_df["container"] == container]
            if not cdf.empty:
                for metric in ["working_set", "rss"]:
                    mdf = cdf[cdf["metric"] == metric].sort_values("timestamp")
                    if mdf.empty:
                        continue
                    show_legend = metric not in legend_added
                    legend_added.add(metric)
                    fig.add_trace(
                        go.Scatter(
                            x=mdf["timestamp"], y=mdf["value_mb"],
                            name=metric, legendgroup=metric,
                            showlegend=show_legend,
                            line=dict(color=colors[metric]),
                        ),
                        row=row, col=col,
                    )
            else:
                fig.add_trace(
                    go.Scatter(x=[None], y=[None], showlegend=False, hoverinfo='skip'),
                    row=row, col=col,
                )
                _n = (row - 1) * n_cols + col
                _s = "" if _n == 1 else str(_n)
                fig.add_annotation(
                    text="No data available",
                    xref=f"x{_s} domain", yref=f"y{_s} domain",
                    x=0.5, y=0.5,
                    showarrow=False,
                    font=dict(size=12, color="#999"),
                )
            fig.update_yaxes(title_text="MB", row=row, col=col)

        fig.update_layout(
            title="Memory Usage per Container (Working Set vs RSS)",
            height=270 * n_rows,
        )
        fig.show()
Show code
# Memory summary
if not mem_df.empty:
    ws_df = mem_df[mem_df["metric"] == "working_set"]
    if not ws_df.empty:
        mem_summary = ws_df.groupby("container")["value"].agg(["mean", "max"]).reset_index()
        mem_summary["Mean"] = mem_summary["mean"].apply(format_bytes)
        mem_summary["Peak"] = mem_summary["max"].apply(format_bytes)
        mem_summary = mem_summary.rename(columns={"container": "Container"})[["Container", "Mean", "Peak"]]
        mem_summary = mem_summary.sort_values("Container")
        display(mem_summary.set_index("Container"))
Mean Peak
Container
ethlambda_0 4.7 GB 6.8 GB
ethlambda_1 1.8 GB 2.9 GB
ethlambda_10 2.4 GB 3.8 GB
ethlambda_11 2.0 GB 3.4 GB
ethlambda_12 1.0 GB 1.8 GB
... ... ...
zeam_5 5.0 GB 5.0 GB
zeam_6 4.8 GB 4.8 GB
zeam_7 78.7 MB 117.1 MB
zeam_8 10.0 GB 11.7 GB
zeam_9 5.8 GB 5.9 GB

62 rows × 2 columns

Disk I/O

Disk read/write throughput per container.

Show code
disk_df = dfs["disk_io"]

if disk_df.empty:
    print("No disk I/O data available")
else:
    # Read/write throughput per container
    throughput_df = disk_df[disk_df["metric"].isin(["read_throughput", "write_throughput"])].copy()
    if not throughput_df.empty:
        throughput_df["value_mb"] = throughput_df["value"] / (1024 * 1024)

        fig = make_subplots(
            rows=n_rows, cols=n_cols,
            subplot_titles=all_containers,
            vertical_spacing=0.12 / max(n_rows - 1, 1) * 2,
            horizontal_spacing=0.08,
        )

        colors = {"read_throughput": "#636EFA", "write_throughput": "#EF553B"}
        legend_added = set()

        for i, container in enumerate(all_containers):
            row = i // n_cols + 1
            col = i % n_cols + 1
            cdf = throughput_df[throughput_df["container"] == container]
            if not cdf.empty:
                for metric in ["read_throughput", "write_throughput"]:
                    mdf = cdf[cdf["metric"] == metric].sort_values("timestamp")
                    if mdf.empty:
                        continue
                    label = metric.replace("_throughput", "")
                    show_legend = metric not in legend_added
                    legend_added.add(metric)
                    fig.add_trace(
                        go.Scatter(
                            x=mdf["timestamp"], y=mdf["value_mb"],
                            name=label, legendgroup=metric,
                            showlegend=show_legend,
                            line=dict(color=colors[metric]),
                        ),
                        row=row, col=col,
                    )
            else:
                fig.add_trace(
                    go.Scatter(x=[None], y=[None], showlegend=False, hoverinfo='skip'),
                    row=row, col=col,
                )
                _n = (row - 1) * n_cols + col
                _s = "" if _n == 1 else str(_n)
                fig.add_annotation(
                    text="No data available",
                    xref=f"x{_s} domain", yref=f"y{_s} domain",
                    x=0.5, y=0.5,
                    showarrow=False,
                    font=dict(size=12, color="#999"),
                )
            fig.update_yaxes(title_text="MB/s", row=row, col=col)

        fig.update_layout(
            title="Disk I/O Throughput per Container (Read vs Write)",
            height=270 * n_rows,
        )
        fig.show()

Disk Usage

Total disk space used per container over time.

Show code
# Disk usage uses the 'client' column (container is 'unknown' for this metric)
disk_io_path = DEVNET_DIR / "container_disk_io.parquet"
if disk_io_path.exists():
    raw_disk = pd.read_parquet(disk_io_path)
    usage_df = raw_disk[raw_disk["metric"] == "disk_usage"].copy()
    usage_df = usage_df.groupby(["client", "timestamp"], as_index=False)["value"].max()
else:
    usage_df = pd.DataFrame()

if usage_df.empty:
    print("No disk usage data available")
else:
    usage_df["value_gb"] = usage_df["value"] / (1024 * 1024 * 1024)

    # Use client names from devnet metadata
    all_clients_sorted = sorted(devnet_info["clients"])
    n_cols_du = min(len(all_clients_sorted), 2)
    n_rows_du = -(-len(all_clients_sorted) // n_cols_du)

    fig = make_subplots(
        rows=n_rows_du, cols=n_cols_du,
        subplot_titles=all_clients_sorted,
        vertical_spacing=0.12 / max(n_rows_du - 1, 1) * 2,
        horizontal_spacing=0.08,
    )

    for i, client in enumerate(all_clients_sorted):
        row = i // n_cols_du + 1
        col = i % n_cols_du + 1
        cdf = usage_df[usage_df["client"] == client].sort_values("timestamp")
        if not cdf.empty and cdf["value"].max() > 0:
            fig.add_trace(
                go.Scatter(
                    x=cdf["timestamp"], y=cdf["value_gb"],
                    name=client, showlegend=False,
                    line=dict(color="#636EFA"),
                ),
                row=row, col=col,
            )
        else:
            fig.add_trace(
                go.Scatter(x=[None], y=[None], showlegend=False, hoverinfo='skip'),
                row=row, col=col,
            )
            _n = (row - 1) * n_cols_du + col
            _s = "" if _n == 1 else str(_n)
            fig.add_annotation(
                text="No data available",
                xref=f"x{_s} domain", yref=f"y{_s} domain",
                x=0.5, y=0.5,
                showarrow=False,
                font=dict(size=12, color="#999"),
            )
        fig.update_yaxes(title_text="GB", row=row, col=col)

    fig.update_layout(
        title="Disk Usage per Client",
        height=270 * n_rows_du,
    )
    fig.show()

Network Throughput

Network receive (rx) and transmit (tx) throughput per container.

Show code
net_df = dfs["network"]

if net_df.empty:
    print("No network data available")
else:
    net_df["value_mb"] = net_df["value"] / (1024 * 1024)

    fig = make_subplots(
        rows=n_rows, cols=n_cols,
        subplot_titles=all_containers,
        vertical_spacing=0.12 / max(n_rows - 1, 1) * 2,
        horizontal_spacing=0.08,
    )

    colors = {"rx": "#636EFA", "tx": "#EF553B"}
    legend_added = set()

    for i, container in enumerate(all_containers):
        row = i // n_cols + 1
        col = i % n_cols + 1
        cdf = net_df[net_df["container"] == container]
        if not cdf.empty:
            for metric in ["rx", "tx"]:
                mdf = cdf[cdf["metric"] == metric].sort_values("timestamp")
                if mdf.empty:
                    continue
                show_legend = metric not in legend_added
                legend_added.add(metric)
                fig.add_trace(
                    go.Scatter(
                        x=mdf["timestamp"], y=mdf["value_mb"],
                        name=metric, legendgroup=metric,
                        showlegend=show_legend,
                        line=dict(color=colors[metric]),
                    ),
                    row=row, col=col,
                )
        else:
            fig.add_trace(
                go.Scatter(x=[None], y=[None], showlegend=False, hoverinfo='skip'),
                row=row, col=col,
            )
            _n = (row - 1) * n_cols + col
            _s = "" if _n == 1 else str(_n)
            fig.add_annotation(
                text="No data available",
                xref=f"x{_s} domain", yref=f"y{_s} domain",
                x=0.5, y=0.5,
                showarrow=False,
                font=dict(size=12, color="#999"),
            )
        fig.update_yaxes(title_text="MB/s", row=row, col=col)

    fig.update_layout(
        title="Network Throughput per Container (RX vs TX)",
        height=270 * n_rows,
    )
    fig.show()

Summary

Peak and average resource usage per container across the devnet.

Show code
# Build summary table across all resource types
summary_rows = []

# CPU
if not cpu_df.empty:
    for container, group in cpu_df.groupby("container"):
        summary_rows.append({
            "Container": container,
            "Avg CPU (cores)": f"{group['value'].mean():.3f}",
            "Peak CPU (cores)": f"{group['value'].max():.3f}",
        })

# Memory
if not mem_df.empty:
    ws_df = mem_df[mem_df["metric"] == "working_set"]
    for container, group in ws_df.groupby("container"):
        existing = next((r for r in summary_rows if r["Container"] == container), None)
        if existing is None:
            existing = {"Container": container}
            summary_rows.append(existing)
        existing["Avg Memory"] = format_bytes(group["value"].mean())
        existing["Peak Memory"] = format_bytes(group["value"].max())

# Network
if not net_df.empty:
    for container, group in net_df.groupby("container"):
        existing = next((r for r in summary_rows if r["Container"] == container), None)
        if existing is None:
            existing = {"Container": container}
            summary_rows.append(existing)
        rx = group[group["metric"] == "rx"]["value"]
        tx = group[group["metric"] == "tx"]["value"]
        if not rx.empty:
            existing["Avg RX"] = format_bytes_per_sec(rx.mean())
        if not tx.empty:
            existing["Avg TX"] = format_bytes_per_sec(tx.mean())

if summary_rows:
    summary_df = pd.DataFrame(summary_rows).set_index("Container").sort_index().fillna("-")
    display(summary_df)
else:
    print("No resource data available for summary.")
Avg CPU (cores) Peak CPU (cores) Avg Memory Peak Memory Avg RX Avg TX
Container
ethlambda_0 1.249 1.339 4.7 GB 6.8 GB 6.7 MB/s 37.8 MB/s
ethlambda_1 1.581 1.649 1.8 GB 2.9 GB 8.6 MB/s 16.0 MB/s
ethlambda_10 1.294 1.431 2.4 GB 3.8 GB 11.7 MB/s 43.9 MB/s
ethlambda_11 1.178 1.404 2.0 GB 3.4 GB 4.3 MB/s 33.7 MB/s
ethlambda_12 - - 1.0 GB 1.8 GB - -
... ... ... ... ... ... ...
zeam_5 0.019 0.021 5.0 GB 5.0 GB 5.7 MB/s 35.1 MB/s
zeam_6 0.019 0.022 4.8 GB 4.8 GB 5.5 MB/s 38.2 MB/s
zeam_7 0.012 0.013 78.7 MB 117.1 MB 57.9 MB/s 30.0 MB/s
zeam_8 1.111 1.113 10.0 GB 11.7 GB 10.5 KB/s 11.0 KB/s
zeam_9 0.160 0.246 5.8 GB 5.9 GB 8.8 MB/s 10.3 MB/s

62 rows × 6 columns

Show code
print(f"Devnet: {devnet_id}")
if devnet_info:
    print(f"Duration: {devnet_info['duration_hours']:.1f} hours")
print(f"Containers analyzed: {cpu_df['container'].nunique() if not cpu_df.empty else 0}")
Devnet: pqdevnet-20260518T0141Z
Duration: 0.2 hours
Containers analyzed: 60