From owner-freebsd-bugs@freebsd.org Thu May 14 02:39:14 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 945E62E240A for ; Thu, 14 May 2020 02:39:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49MwjG3Vf4z3DsL for ; Thu, 14 May 2020 02:39:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7826C2E2409; Thu, 14 May 2020 02:39:14 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 77EDF2E2407 for ; Thu, 14 May 2020 02:39:14 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49MwjG2f7hz3DsK for ; Thu, 14 May 2020 02:39:14 +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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5654F3B8D for ; Thu, 14 May 2020 02:39:14 +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 04E2dEKk088566 for ; Thu, 14 May 2020 02:39:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04E2dEwi088565 for bugs@FreeBSD.org; Thu, 14 May 2020 02:39:14 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 246458] [patch] systat - Introduced sysputpage() to display large page size with human readable format. Date: Thu, 14 May 2020 02:39:14 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ota@j.email.ne.jp 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 attachments.created 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2020 02:39:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246458 Bug ID: 246458 Summary: [patch] systat - Introduced sysputpage() to display large page size with human readable format. Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: ota@j.email.ne.jp Created attachment 214477 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D214477&action= =3Dedit display page size fields in SI unit https://reviews.freebsd.org/D24834 Using UI units allows to fit larger numbers in columns. Stop calling v_page_size - this is a value that doesn't change at runtime. Renamed WINDOW *wnd to *wd to avoid conflict with global *wnd variable. Use bit-shift to convert page size to byte. New screen: 5 users Load 0.23 0.27 0.17 May 13 18:15 Mem usage: 7%Phy 4%Kmem VN PAGER SWAP PAG= ER Mem: REAL VIRTUAL in out in o= ut Tot Share Tot Share Free count Act 56664K 0 335228K 0 2288M pages All 57400K 675840 336988K 1572864 ioflt Interrupts Proc: cow 58 total r p d s w Csw Trp Sys Int Sof Flt zfod 3 atkbd= 0 1 58 164 1 50 23 16 ozfod 18 acpi0= 9 %ozfod psm0 = 12 0.2%Sys 0.0%Intr 0.0%User 0.0%Nice 99.8%Idle daefr 2 ata0 = 14 | | | | | | | | | | | prcfr ehci0= 19 totfr em1:i= rq0 9 dtbuf react em0:i= rq0 Namei Name-cache Dir-cache 119343 maxvn pdwak 24 cpu0:timer Calls hits % hits % 1621 numvn 10 pdpgs 11 cpu1:timer 15 15 100 248 frevn intrn ahci0= :ch0 142M wire ahci0= :ch1 Disks ada0 ada1 ada2 ada3 cd0 pass0 pass1 31916K act ahci0= :ch2 KB/t 0.00 0.00 0.00 0.00 0.00 0.00 0.00 3244K inact ahci0= :ch3 tps 0 0 0 0 0 1 0 0 laund MB/s 0.00 0.00 0.00 0.00 0.00 0.00 0.00 2288M free Old screen: 6 users Load 0.31 0.30 0.21 May 13 18:20 Mem usage: 10%Phy 5%Kmem Mem: KB REAL VIRTUAL VN PAGER SWAP PAG= ER Tot Share Tot Share Free in out in o= ut Act 59008 340200 2273772 count All 59744 660 341960 1536 pages Proc: Interrupts r p d s w Csw Trp Sys Int Sof Flt ioflt 64 total 59 195 36 138 28 20 35 6 cow 5 atkbd= 0 1 19 zfod 19 acpi0= 9 0.5%Sys 0.1%Intr 0.1%User 0.0%Nice 99.3%Idle 2 ozfod psm0 = 12 | | | | | | | | | | 8%ozfod 2 ata0 = 14 daefr ehci0= 19 7 dtbuf 18 prcfr em1:i= rq0 Namei Name-cache Dir-cache 119343 maxvn 33 totfr em0:i= rq0 Calls hits % hits % 2227 numvn react 23 cpu0:timer 233 214 92 2 1 538 frevn pdwak 13 cpu1:timer 10 pdpgs 2 ahci0= :ch0 Disks ada0 ada1 ada2 ada3 cd0 pass0 pass1 intrn ahci0= :ch1 KB/t 10.22 0.00 0.00 0.00 0.00 0.00 0.00 173992 wire ahci0= :ch2 tps 2 0 0 0 0 1 0 34048 act ahci0= :ch3 MB/s 0.02 0.00 0.00 0.00 0.00 0.00 0.00 41712 inact %busy 0 0 0 0 0 0 0 laund 2273772 free --=20 You are receiving this mail because: You are the assignee for the bug.=