From 9268c58f4263a8e9bde979df4b8e2fa5525e8a8d Mon Sep 17 00:00:00 2001 From: lone-cloud Date: Thu, 11 Sep 2025 02:06:42 -0700 Subject: [PATCH] better tell apart multi-GPU set ups for monitoring --- src/components/StatusBar.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/StatusBar.tsx b/src/components/StatusBar.tsx index ca30ad3..68f30a4 100644 --- a/src/components/StatusBar.tsx +++ b/src/components/StatusBar.tsx @@ -99,7 +99,8 @@ export const StatusBar = ({ maxDataPoints = 60 }: StatusBarProps) => { variant="light" style={{ minWidth: '5rem', textAlign: 'center' }} > - GPU: {gpu.usage.toFixed(1)}% + GPU{gpuMetrics.gpus.length > 1 ? ` ${index + 1}` : ''}:{' '} + {gpu.usage.toFixed(1)}% @@ -112,7 +113,8 @@ export const StatusBar = ({ maxDataPoints = 60 }: StatusBarProps) => { variant="light" style={{ minWidth: '5rem', textAlign: 'center' }} > - VRAM: {gpu.memoryUsage.toFixed(1)}% + VRAM{gpuMetrics.gpus.length > 1 ? ` ${index + 1}` : ''}:{' '} + {gpu.memoryUsage.toFixed(1)}%