[Bug 264622] /usr/bin/top needs 7 digit formatting for PID _or_ PID in hex?
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Jun 2022 21:07:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264622
Bug ID: 264622
Summary: /usr/bin/top needs 7 digit formatting for PID _or_ PID
in hex?
Product: Base System
Version: 13.1-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: dgilbert@eicat.ca
Here's the top I'm currently looking at:
http://termbin.com/7uii
I'm going to paste just a few lines so everyone doesn't have to flip to a
browser
811995 root 5 134 i10 224M 189M uwait 14 0:04 65.55% rustc
1065359 root 4 134 i10 203M 172M uwait 6 0:02 43.84% rustc
757722 root 1 134 i10 126M 73M ppwait 2 0:04 19.17%
pkg-static
Now... I'll go on the record as "in favour" of process-ids of more than 100k
(was that our previous limit?) ... but this formatting is awful.
I see two choices:
1. eek out one more column for a 32 bit (2^32 ~ 4M) value ... username starts
in the 9th column.
2. Start representing PIDs as hex values.
I actually like #2. Obviously, a great number of utilities need to change for
#2 --- but that would save 2 or 3 columns in top (and similarly in ps).
Either way, something needs to change.
I would be willing to make either change, but who gets to decide on this?
--
You are receiving this mail because:
You are the assignee for the bug.