Query regarding busybox

Jeff Pohlmeyer yetanothergeek at gmail.com
Mon Jan 2 12:39:30 UTC 2023


On Mon, Jan 2, 2023 at 5:50 AM Ravi Tripathi
<ravitripathi.1310 at gmail.com> wrote:
> My embedded project is currently using busybox version 1.29.3.
> And for creating a performance optimization tool I need few utilities like
>
> tar with option --use-compress-program=LZ4
> df -B
> pgrep (full version)
> chrt
> lz4
> Could you tell me which version could i refer for having all utilities?


The latest busybox tar has options for --lzma  and -a (autodetect),
but you could just use a pipe for other cases. It also has an lzma
applet and support for df -B

Not sure what features you need from pgrep, but the current busybox
help shows these options:

    -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

(There is also a "pidof" applet which might be useful)

 -- Jeff


More information about the busybox mailing list