From nobody Tue Oct 22 12:50:41 2024 X-Original-To: dev-commits-src-main@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 4XXsVB0CR9z5PQdk; Tue, 22 Oct 2024 12:50:42 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XXsV96kSLz41SY; Tue, 22 Oct 2024 12:50:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729601441; 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=3w5YHcDG8TlultGdCBA+YpJoR88I2etMKPnTp1Vqmqk=; b=OCgiJ7GONUpy5VCpAP+c4g6LRSDQEZp7Ekrn/gizO7JN/IO0AETNdfE/eEKZfI1ViuN3J+ nrD3Pwubpvr8jMnnPPUsZpLGe44H1v22tpmFHTMJiPBvlLEQZGT2hCjHUnswlT+SbgAz22 tnVOVvqOLcOqYqEOoRhAlpuP+BEl4gb0vtelLcFLy2hCOhA0DrbuwC5MZxPEhGqnfw7lBr NENNvKCc6G+dLiJOQa3/Rl8wnMY3PQDArdhJdLFwtxeaLhUsu9j1uKi6CMpTo2T/1T2mz7 ljKkHuN5Zko3DVtlyCJhdFAV+SbTPA+SWrAJulo6UFH6Abxm55YBFhansRBh4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729601441; 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=3w5YHcDG8TlultGdCBA+YpJoR88I2etMKPnTp1Vqmqk=; b=lLf340x4Dqy61LceIo2+/S2w8tfahQ+gbq3FvOvJPX7S6FDXYu04xdNnyml6Xz60FmsnG/ /Eh7mJ2wR+su1GBRyml3ConL1+/jwtWzjxvxvneZbrHygNpyQGBLbzonnU9I8JImqHh+pp GJYXvGaKKcO3TGvQAOvqY/WWX1Comirno14qERio2Oa28bAUmgZxzMZKUa/bQN9sTdbQvm 3gXUVIRN0SR6rG4XKl62gcsGRUDsmGGhG7RzQcC/Ty+094rNX+ebQWbHBMOxgwyLH4Rhix 6KQ3i9IsQGA30FyffrpozprVW+yekTGq0QP10EAD/mHkTAfZCWaMDh1OKYtJaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729601441; a=rsa-sha256; cv=none; b=mFzbXYsyXdMmjSQrr+w2svDWTaz6JUKRKW5Tt2dtqjqKfqOiE6XgtHqM2mnQ2DQUKeyVfj n0/FDg5DTpTCFtUZpYG7adDahsNEoaSBpessp5XA6UMU6ozqSZCU/FXgAwLTXVGl4r4XF2 kOBSeSeIxbvu5tphhcPWar9Pgxn/Fh7IimTMJ0W3wrwhyVbZ+TjpVTJ9723Ko37u1OK2II wcE4VGJH68YC8lGGLQ39QWurukLMn00BcHJZXvk4HRYXzxUMMVZDsQ6Tes8uRZ/mUV/GQF a3m90vNwdF3byEYz8ZEcJVHtHDnf0cf5NOvxqo/mYwlBwcAUlgUolYCSmbF/4A== 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 4XXsV95Sl1zFCd; Tue, 22 Oct 2024 12:50:41 +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 49MCoffv068262; Tue, 22 Oct 2024 12:50:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49MCofDp068259; Tue, 22 Oct 2024 12:50:41 GMT (envelope-from git) Date: Tue, 22 Oct 2024 12:50:41 GMT Message-Id: <202410221250.49MCofDp068259@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 1249ee57e96b - main - vmstat: Add a column to vmstat -o output for laundry pages List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 1249ee57e96b84e84015b433d0a3bfdef0c108bf Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=1249ee57e96b84e84015b433d0a3bfdef0c108bf commit 1249ee57e96b84e84015b433d0a3bfdef0c108bf Author: Mark Johnston AuthorDate: 2024-10-22 12:48:04 +0000 Commit: Mark Johnston CommitDate: 2024-10-22 12:48:04 +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 --- 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 bd332c64e7ea..7a7c83fe1ac8 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -1464,6 +1464,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); @@ -1566,8 +1567,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]);