A pid is the process identication number. Special pids are swapper (0) and init (1). OpenBSD (by default) and FreeBSD chose random pid numbers when a new process is forked, other systems chose the next sequentially available number.