Filesystem: get_pids() "safe": scan /proc only once
Caution: advanced shell trickery.
With many processes, scanning /proc can take significant time.
Use only one find /proc, feed /proc/**/maps to grep via fifo and xargs,
and send matching symlinks to stdout directly.
On a "busy" system, this cuts the time for get_pids() almost in half.