pidof and pgrep are slower than a grep /proc/[1-9]*/comm

Bastian Bittorf bb at npl.de
Sat Sep 9 15:14:51 UTC 2023


I tried to replicate your findings, but my slow embedded OpenWRT
system (with musl libc) is so fast, that your tests always produce
0 seconds execution time. You are talking about nofork and cpu affinity:

Can you repoduce your findings with booting OpenWRT on your board?

bye, Bastian


More information about the busybox mailing list