From nobody Sun Mar 20 16:58:27 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 E14661A378CD for ; Sun, 20 Mar 2022 16:58:27 +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 4KM3q75D7Cz4RRl for ; Sun, 20 Mar 2022 16:58:27 +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 8FF712AD1 for ; Sun, 20 Mar 2022 16:58:27 +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 22KGwRa1081998 for ; Sun, 20 Mar 2022 16:58:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22KGwRfE081997 for bugs@FreeBSD.org; Sun, 20 Mar 2022 16:58:27 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 262687] vmstat does not handle disk names properly, column alignment broken if number of DA disks goes over 9 Date: Sun, 20 Mar 2022 16:58:27 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: oleg.cherkasov@linux.com 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=1647795507; 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=hQa4fHdut/t4NambdspO4WjLfL/QOzHHm2dw4YCFH34=; b=K2qyob7vpGlApmxHsKIGbUVRSm+UqrygzuVZalxcmQgNMkL5kego4yrI3h9gCARRfZPtDA 511UQLbMBD54mIGsKPYeOLxQ9kr7PbH3yHafqPeV9n8P9QqPim7WdTxQLwEu1hX6xqOdRG DWrKsNhNPTb3kxK2VRi9s2aKyE3zn8zF+g+qMfwTx4rORjuPvKoQhhFMlq32epEWuuEpDI 04LBCWQAD6Q7iK0VD5rKuNGXk1XJWH/HkGUlAEZm1UNraxsz92u7v9PV5DsBmAfKIUzKti 47E9wMppNq6ATDs2NUmOaXTaNw6GhhvQsjRw6AJ+jVksXwxCQuDJXO4PoofO8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647795507; a=rsa-sha256; cv=none; b=IhZokNI+4G/djhogpZgtnqGsF+PCLdaC2SrV0NIgPkgGPvXQwb+AJpwUBV0LKhsesWSRDJ qjcsqYHBKV8zqqip8uOLavfFaBfN7L26np6vidN35y+DiFJMLPyFd1dGivXc6rb1zkFuNh R6HL4jvUDLQvdNkq4xQzGDfGCbqPc9l5IB4bCXUc95wPqsvFkrv4+oyCxvAeER5DHl2SP0 pMPbwT1gehBIzNZvLUhTKE5m/i4NNsUqdTlzQOIqBJOBul+l9R6Mk8axkyargwKjXNg76u /7vF84ydVMYNWHIUeAH5NUn7oUZwZ2yKJIZN4ZyRspvyNYHYXoSw3zRa6P/ExA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262687 Bug ID: 262687 Summary: vmstat does not handle disk names properly, column alignment broken if number of DA disks goes over 9 Product: Base System Version: 13.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: oleg.cherkasov@linux.com Hi, vmstat does not handle disk names properly if the counter goes over 9. Her= e is the example from my system with 16 disks: vmstat -p SCSI -n 32 2 procs memory page disks=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 faults cpu r b w avm fre flt re pi po fr sr da0 da1 da2 da3 da4 da5 da6 d= a7 da8 da9 da10 da11 da12 da13 da14 da15 in sy cs us sy id 4 0 1 454G 32G 951 46 163 0 1.9K 9.3K 0 0 0 0 0 0 0 = 0=20=20 0 0 0 0 0 0 0 0 465 9.1K 7.9K 5 1 94 1 0 1 454G 32G 12K 0 46 0 13K 4.1K 37 37 4 4 4 4 4 = 4=20=20 1 1 1 1 1 1 1 1 147 15K 4.1K 3 1 96 3 0 1 454G 32G 6.0K 0 290 0 7.8K 4.1K 0 0 72 68 69 65 65 = 69=20 61 60 60 58 63 61 66 60 877 18K 9.5K 8 1 92 1 0 1 454G 32G 6.4K 0 254 0 5.9K 4.2K 37 36 12 12 12 12 12 = 12=20 13 13 13 13 14 14 14 14 241 18K 5.0K 7 1 92 1 0 1 454G 32G 16K 0 5 0 18K 4.0K 0 0 0 0 0 0 0 = 0=20=20 5 5 4 4 4 4 5 5 86 11K 2.2K 2 0 97 1 0 1 454G 32G 6.9K 0 0 0 5.4K 4.2K 0 0 50 48 54 51 56 = 52=20 46 44 47 45 43 46 43 42 713 14K 6.8K 3 1 96 There is an assumption that disk number length is always equal to 1 (single digit). --=20 You are receiving this mail because: You are the assignee for the bug.=