Skip to content

F4 filtering does not find all results #1860

@nh2

Description

@nh2

htop seems to turncate long command lines, and thus misses results when using the F4 Filter functionality.

  • I have a program whose arvg joined by is 22951 characters long, which contains the string -M100G.
  • F4-filtering in htop for M100G does not show this line (but shows its parent process's line, which also happens to contain -M100G and is shorter).

Pressing W on the long process to bring up htop's detail command viewer reveals that that one seems to be cut off after 4173 chars.

ps aux | grep M100G finds the long-named process and correctly outputs the full length of its command line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Linux 🐧Linux related issuesbug 🐛Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions