nvtop icon indicating copy to clipboard operation
nvtop copied to clipboard

Process list appears to show some source code in it: "function connectPort(port)..."

Open bp0 opened this issue 7 months ago • 2 comments

nvtop latest git (https://github.com/Syllo/nvtop/commit/79592102699891161d81c59a8964c54349812d3f) PopOS 22.04 LTS AMD Radeon RX 7600 XT, amdgpu driver

The process list shows what appears to be some incomplete source code. Sometimes it shows more, sometimes less, ~~but it is always there~~.

It seems to happen when LM Studio is running. With latest LM Studio, 0.3.15, AppImage.

Image

bp0 avatar May 17 '25 16:05 bp0

might need some better regex escapes to avoid getting process name escaped

function connectPort is not code from nvtop, its reading something from a process name, pid, etc.

arrowgent avatar May 22 '25 05:05 arrowgent

My guess is that the process name contains this string and it contains escape characters that don't work well with ncurses which nvtop uses to display the interface! I'll check if there is a sanitize function for strings in ncurses I can use to avoid this kind of "display overflow"

Syllo avatar Jun 28 '25 13:06 Syllo