Print the pid in lastcomm(1) output for post mortem analysis. Put
authorbluhm <bluhm@openbsd.org>
Wed, 1 Feb 2023 00:03:38 +0000 (00:03 +0000)
committerbluhm <bluhm@openbsd.org>
Wed, 1 Feb 2023 00:03:38 +0000 (00:03 +0000)
commit13c74f85fdd37f861c4be143ad335e7af9eb2c13
tree4411bd53b80b9d6a4d1b22868705645460359098
parente8de15770c4d31dd167f3c91fed2ca73b57aff2f
Print the pid in lastcomm(1) output for post mortem analysis.  Put
it in brackets after the command name, like syslogd does it in log
files.  A while ago the process id was added to process accounting
in the kernel, so no ABI break this time.
OK deraadt@
usr.bin/lastcomm/lastcomm.c