nix-top
nix-top copied to clipboard
Doesn't work with busybox's pgrep
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