top(1): remove last vestiges of "last pid" support
authorcheloha <cheloha@openbsd.org>
Sat, 10 Sep 2022 16:58:51 +0000 (16:58 +0000)
committercheloha <cheloha@openbsd.org>
Sat, 10 Sep 2022 16:58:51 +0000 (16:58 +0000)
commit09447e1ca72940b7ca8e02d50402ee3836bf9ebb
tree53778722cd1a796c1ba7250cd0a41e608169adf2
parent7b534ec03bcaf50e5c3cd78669993dec92d37659
top(1): remove last vestiges of "last pid" support

millert@ removed most of the "last pid" support from top(1) in 1997.
See, e.g. top/machine.c,v1.7:

http://cvsweb.openbsd.org/src/usr.bin/top/machine.c?rev=1.7&content-type=text/x-cvsweb-markup

Let's remove the rest of it:

- Eliminate system_info.last_pid.

- Remove mpid parameter and "last pid" printing code from i_loadave().

Link: https://marc.info/?l=openbsd-tech&m=166277253606823&w=2
ok millert@
usr.bin/top/display.c
usr.bin/top/display.h
usr.bin/top/machine.c
usr.bin/top/machine.h
usr.bin/top/top.c