nix-top icon indicating copy to clipboard operation
nix-top copied to clipboard

Doesn't work with busybox's pgrep

Open gbtb opened this issue 2 years ago • 0 comments

Hello. Problem statement is in the title :) Maybe path to the pgrep from procps package should be passed into the script? Because in my environment (Raspberry PI) pgrep comes from busybox.

pgrep: invalid option -- 'u'
BusyBox v1.35.0 () multi-call binary.

Usage: pgrep [-flanovx] [-s SID|-P PPID|PATTERN]

Display process(es) selected by regex PATTERN

        -l      Show command name too
        -a      Show command line too
        -f      Match against entire command line
        -n      Show the newest process only
        -o      Show the oldest process only
        -v      Negate the match
        -x      Match whole name (not substring)
        -s      Match session ID (0 for current)
        -P      Match parent process ID

gbtb avatar Dec 25 '22 02:12 gbtb