From c51c3a94498c99751db6025df24da23f6ae5194d Mon Sep 17 00:00:00 2001 From: ZacharyZcR Date: Tue, 25 Aug 2026 01:36:02 +0800 Subject: [PATCH] fix: show the full command line in the process inspector (#1334) The CMD column rendered ps's comm field, which the kernel caps at 15 characters, so anything longer looked truncated no matter how wide the column was. The full args were already collected; show them. --- .../host-metrics/cards/managers/ProcessInspectorCard.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/features/host-metrics/cards/managers/ProcessInspectorCard.tsx b/src/ui/features/host-metrics/cards/managers/ProcessInspectorCard.tsx index 4869ab1b..0231032b 100644 --- a/src/ui/features/host-metrics/cards/managers/ProcessInspectorCard.tsx +++ b/src/ui/features/host-metrics/cards/managers/ProcessInspectorCard.tsx @@ -164,7 +164,8 @@ export function ProcessInspectorCard({ hostId }: { hostId: number | null }) { {depth > 0 && ( )} - {p.command} + {/* `comm` is capped at 15 chars by the kernel; the full command line is in args. */} + {p.args || p.command}