From nobody Tue Oct 29 13:34:17 2024 X-Original-To: dev-commits-src-all@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 4XdB7F3RT9z5bTSt; Tue, 29 Oct 2024 13:34:17 +0000 (UTC) (envelope-from git@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XdB7F318Dz4DBV; Tue, 29 Oct 2024 13:34:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730208857; 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=oXfZ8D9dIHuF7eVyJN0U69r7OV2FQdizFpZjsi3ZNLc=; b=Yvi5c6bS+OE0HKQMfgUTBNsR7CpqHfk2b6lu9ZXxVKtgm3XdN7Fd9Dl0pU3KWyuShHrW2B 2gvNKaUup7/A/IGXO1v3ZGHj+EIqo54cuSXqlDabcimJyhp8ruLYXr0bHZlqB0ZjVloF7z hw01SXn25AtHMmwwo1++wiaknge5MNVJiHW/Mc5uC74g6GQm7fCx2z7wZqVCO/bTdMyzU9 2zEOVLsHZwQaOlf7J3jmve0O68Po1fzpwmo47Z23zxkr8mpjZLwVaFv70GYgk07hZRQb5b htSaW++/oHEmFs2+SbWGysdrmNpsRLtt7ki/2eRUmIP/Cz06ix3rDpKiA1+84g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730208857; 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=oXfZ8D9dIHuF7eVyJN0U69r7OV2FQdizFpZjsi3ZNLc=; b=U9nK5kdlunfjZ44qzXxtgRmV7MZQ0RzlmoIuSJ9r6wA1CGLCmHwnyeaeYjfaY7fmVZRmEn bN1sjAKtqPNJRdJszVPcQ4qwJf8xHbXEvU8jk2nQ4dbyPILUmDATgGBubRC+nhVt5gbgxr 7sUAVSOtptEaHlFwX3z8iB/l7lBlHEO6AaEk2CqlFnmW8KaMh3edpH+5E2irEtkO7g49ID Lu6vxc+9GiJGikVdo0oVD6JCsKQkWXVR8IMowqDkRLlhMkm46YSMeCMKqBwVQ0XjwS5qIe fi5fpfuIVUSsrayziUe74fYyHwZmaIYqQjhmOTqTq1Be7UNxvXjFUP+j6nK/bA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730208857; a=rsa-sha256; cv=none; b=cTU9LyQBchFoHRWbTGO0w13BKb89T0SykrBX6sUR0Gw8dEYgHxrn2u6XJJQ3A1g2ndX1WD maqow7KhE5hAKtfYMWU+JPpZdACOBcrTfDXEFAxkwbpAKzBDKoy3Om9N/yQ6yql6q82KDx D1Wisi2x8Cu9lspoIsQZCKdBZ2lVdoxEweLPmuR1KBPf7tn3nkhA5ttRbLUmU5SSi6hS8G q7wuzZ/fLL7Dc5suk7IZ3W5vp1ESQOE2xpqGCAuXCxvpEfr+/hGkuiq/VP8cp5ryyW3LhC itEzHpiNaHw997YA6sLv7JYuS7Q2n1VPVZRow+s4M0XN1PcB3s3wXT0q0DwKKg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4XdB7F2b0YzPmP; Tue, 29 Oct 2024 13:34:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49TDYHjv035777; Tue, 29 Oct 2024 13:34:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49TDYHGX035774; Tue, 29 Oct 2024 13:34:17 GMT (envelope-from git) Date: Tue, 29 Oct 2024 13:34:17 GMT Message-Id: <202410291334.49TDYHGX035774@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 6feb4f363cdb - stable/14 - vmstat: Add a column to vmstat -o output for laundry pages List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 6feb4f363cdbe6a41ca631b37d1451cd5f1191e0 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=6feb4f363cdbe6a41ca631b37d1451cd5f1191e0 commit 6feb4f363cdbe6a41ca631b37d1451cd5f1191e0 Author: Mark Johnston AuthorDate: 2024-10-22 12:48:04 +0000 Commit: Mark Johnston CommitDate: 2024-10-29 13:04:25 +0000 vmstat: Add a column to vmstat -o output for laundry pages Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D47215 (cherry picked from commit 1249ee57e96b84e84015b433d0a3bfdef0c108bf) --- usr.bin/vmstat/vmstat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index 0fee2395071f..3ae34c0219c6 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -1470,6 +1470,7 @@ display_object(struct kinfo_vmobject *kvo) xo_emit("{:resident/%5ju} ", (uintmax_t)kvo->kvo_resident); xo_emit("{:active/%5ju} ", (uintmax_t)kvo->kvo_active); xo_emit("{:inactive/%5ju} ", (uintmax_t)kvo->kvo_inactive); + xo_emit("{:laundry/%5ju} ", (uintmax_t)kvo->kvo_laundry); xo_emit("{:refcount/%3d} ", kvo->kvo_ref_count); xo_emit("{:shadowcount/%3d} ", kvo->kvo_shadow_count); @@ -1572,8 +1573,8 @@ doobjstat(void) xo_warn("Failed to fetch VM object list"); return; } - xo_emit("{T:RES/%5s} {T:ACT/%5s} {T:INACT/%5s} {T:REF/%3s} {T:SHD/%3s} " - "{T:CM/%2s} {T:TP/%3s} {T:PATH/%s}\n"); + xo_emit("{T:RES/%5s} {T:ACT/%5s} {T:INACT/%5s} {T:LAUND/%5s} " + "{T:REF/%3s} {T:SHD/%3s} {T:CM/%2s} {T:TP/%3s} {T:PATH/%s}\n"); xo_open_list("object"); for (i = 0; i < cnt; i++) display_object(&kvo[i]);