#!/bin/sh
# This command produces the pid of the parent process:
ps -l | awk "{if (\$4 == $$) print \$5}"
