On BSD-ish systems, the ps command likes the -j argument rather than the -ef arguments used in pconsole.sh. As pointed out a long time ago by both Marek Jaros and Davin Reade.