Re: Help for ddb(4)'s "tr /p"

2017-01-23 Thread Philip Guenther
On Tue, 24 Jan 2017, Martin Pieuchot wrote: > Diff below does that and fix alignment issues with /a /o and /w. The > problem was that TID needs 6 columns not 5. > > With this ps /a no longer wraps on i386. > > ddb{0}> ps /a > TID COMMAND STRUCT PROC * UAREA *

Re: Help for ddb(4)'s "tr /p"

2017-01-23 Thread Martin Pieuchot
On 24/01/17(Tue) 11:35, Philip Guenther wrote: > On Tue, 24 Jan 2017, Martin Pieuchot wrote: > > On 24/01/17(Tue) 10:08, Philip Guenther wrote: > ... > > > Hmm, ps/n (the default) is the only of the ps subcommands to not show > > > the TID...so that it can show more columns of COMMAND. You've

Re: Help for ddb(4)'s "tr /p"

2017-01-23 Thread Philip Guenther
On Tue, 24 Jan 2017, Martin Pieuchot wrote: > On 24/01/17(Tue) 10:08, Philip Guenther wrote: ... > > Hmm, ps/n (the default) is the only of the ps subcommands to not show > > the TID...so that it can show more columns of COMMAND. You've added 8 > > columns without shrinking any of the existing

Re: Help for ddb(4)'s "tr /p"

2017-01-23 Thread Martin Pieuchot
On 24/01/17(Tue) 10:08, Philip Guenther wrote: > On Tue, 24 Jan 2017, Martin Pieuchot wrote: > > Now that pfind(9) takes tid we need a way to show TID in ddb(4) ps > > output. Otherwise it's hard to use "ps /p" > > You mean "tr /p", right? I do :) > Hmm, ps/n (the default) is the only of the

Re: Help for ddb(4)'s "tr /p"

2017-01-23 Thread Philip Guenther
On Tue, 24 Jan 2017, Martin Pieuchot wrote: > Now that pfind(9) takes tid we need a way to show TID in ddb(4) ps > output. Otherwise it's hard to use "ps /p" You mean "tr /p", right? > Here's the difference: > > Before: >PID PPID PGRPUID S FLAGS WAIT COMMAND >