Skip to content

Commit a171ba6

Browse files
authored
Show working set memory in dstack stats (#1856)
1 parent 171ecc3 commit a171ba6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/dstack/_internal/cli/commands

src/dstack/_internal/cli/commands/stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def _get_stats_table(run: Run, metrics: List[JobMetrics]) -> Table:
9797
cpu_usage = _get_metric_value(job_metrics, "cpu_usage_percent")
9898
if cpu_usage is not None:
9999
cpu_usage = f"{cpu_usage}%"
100-
memory_usage = _get_metric_value(job_metrics, "memory_usage_bytes")
100+
memory_usage = _get_metric_value(job_metrics, "memory_working_set_bytes")
101101
if memory_usage is not None:
102102
memory_usage = f"{round(memory_usage / 1024 / 1024)}MB"
103103
if job.job_submissions[-1].job_provisioning_data is not None:

0 commit comments

Comments
 (0)