Additional state details.

Record termination time and preserve pid for matching up eg OOM logs in
dmesg.