ps has to be invoked with -p, --pid not supported on Mac