Pid

Writes PID out to a file and such. Because init scripts and sysadmin stuff.