From nobody Sat Jun 11 21:07:04 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 77865845A12 for ; Sat, 11 Jun 2022 21:07:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LL9Ph1Jfmz3Btl for ; Sat, 11 Jun 2022 21:07:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0CCBD1468C for ; Sat, 11 Jun 2022 21:07:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 25BL73ab042659 for ; Sat, 11 Jun 2022 21:07:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25BL73wh042658 for bugs@FreeBSD.org; Sat, 11 Jun 2022 21:07:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264622] /usr/bin/top needs 7 digit formatting for PID _or_ PID in hex? Date: Sat, 11 Jun 2022 21:07:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dgilbert@eicat.ca X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654981624; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Dfui9OSk/5DmHbL+zPG5NyaAUQL1rZmxSr1+B0aW+h0=; b=SEwCO50pxwtvBv9Ms4+ksU21jCG7r/u4J3U4ZXlSf2nsxxZg/SQKzkrtM4mf1JadHsNiJk LwgJPio11r9NR5CHBttrtVR9zuObMv2Cg2H2qXbAjHqz4+BT4l2xV3w8zkW+qWbnYCxewF zIrUzY3Gaecnz9QqgLCY8urMzS9+Lsqc8Sy0MZwrW1cn9QAi0M0N765Xntbd5r/30Y77kt 33CjoN4zteROWUlBfhFbumTlU2IPu6uil5c6IPQ186whdO/yxqh7XoxyZcfsgeeEozFRUn uE28T+ee0Zs4PiX9exriUx8HEK0Ig6Ik1em1nKrGCv/1zPRiYfcWPJTlafkhNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654981624; a=rsa-sha256; cv=none; b=syLrVXi1SMJRtqr0+li/MuYfyTAxpdzIGaMSJK1Cm4PdA1SV3h16304edFz9L6DcHd3NfZ d5h1Oe5x1t+jEzfhEAb3Bkq4lXUhKPZFeEwsGXpDpiDlYCspkt29xfXbib6kPRLhoAtObJ NTCs2kVV7xGE7Zd7hwk2XToTrNyqDBGoIqZA5VDnPW6LhuUWWa7/dVtlpVQcVqSDBaSf6z WjI17bnoPMp1M+GmUvK9lAqHU80g/3iSCUJlilIt+k3ZonMLuh3PeVrXxXSg1YeFfX2H06 kVKuBwtHZlLSLJRUY6XTskmwlNg9gu0m/L8wLw+N/hMprLtH67kglTBjf+vf9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264622 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% rus= tc 1065359 root 4 134 i10 203M 172M uwait 6 0:02 43.84% ru= stc 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:=20 1. eek out one more column for a 32 bit (2^32 ~ 4M) value ... username star= ts in the 9th column.=20=20 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? --=20 You are receiving this mail because: You are the assignee for the bug.=