]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
top(1): use a different command to toggle tid vs pid
authoreadler <eadler@FreeBSD.org>
Sat, 9 Jun 2018 02:14:33 +0000 (02:14 +0000)
committereadler <eadler@FreeBSD.org>
Sat, 9 Jun 2018 02:14:33 +0000 (02:14 +0000)
commited8df841b1d1de77ee909287a40c6028f2e069bb
treef41d1a09e706d4eb2c697e7daa4899395f9f0c4c
parent617832d02f5043ceabb2ad26f19609d26be5098d
top(1): use a different command to toggle tid vs pid

- By popular demand, implement a different switch ("T") for toggling
between thread id and process id.
- Add an assert that the size of command chars is as expected.
- Also clean up some messiness I found when implementing this.
- Further document the new flag.

Requested by: flo, ronald-lists@klop.ws, bapt
PR: 139389 (for the record)
X-MFC-With: r334474
usr.bin/top/commands.c
usr.bin/top/machine.c
usr.bin/top/machine.h
usr.bin/top/top.1
usr.bin/top/top.c
usr.bin/top/top.h