From nobody Wed Aug 21 04:59:21 2024 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 4WpYyy0qs6z5T7b4 for ; Wed, 21 Aug 2024 04:59:22 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WpYyx5kvdz4F1s for ; Wed, 21 Aug 2024 04:59:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724216361; a=rsa-sha256; cv=none; b=XFfk/jO0j4k3aLQF61uBO+A51Dtcl3Y3eTkvqreLpizn4Jgc1381kNj0NKkxNEoWQseKJ7 NaI+624bWnaeJN1qDGvvdAqH84ubpBggCaTpJOQKJU7Mc8R+UftOfgLycvHQEWRS4OwXjL qbzRdN2KtJs0BNlLqaI4eIhMsysKs3BHk7p0G1dduO6JsWA6n0gsP/rEGKvfbQL9+JvGbO 5jwHq5CBBQjFWmRt3p1eX+QH5PO25GpcckXhSnCD95rkm1iR7B5cs/c6zJ+gK8Jk9cubJx 7fRNdKrxPuw+opyIH3XmJ035zOHKMu45LClkC+7Sr8nYHmCqwUfd6pQG2NXlbw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724216361; 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: in-reply-to:in-reply-to:references:references; bh=3h8BRSHkmYp/oP+6xPfiJRBOz69oXgcS43ddPaaY/B8=; b=lG6ByoSlwbf2JiHfOZr34dunsNRegXPjRi7PyY44o1sDX521k/b3puC9SwsL4dHdzCON0o Mvl2QfY/SXLqhkchV+clKz4nbNPcSiYrZFL20A20eL7Sby7w7qd2Ri3cMVbJcCldAE2Oh2 JMMmquY/jcRPmz94te2p5dk/b2yz8iwi0TArrIMskDBIhseBgCYRrnv0LQZpNdFxxjBU8U M268ofuMWpvzE0ZcETCXdJX9prUBKH3arrfF68fePEE33yZUqdnGcBI8lj46fTjLKLwQV+ x1gkDrHaRozlV0xondLBCotd4T20aY35C72ZyQCka9Ymnfu2cVhJaXhGcDglpg== 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 4WpYyx5DxMzTMs for ; Wed, 21 Aug 2024 04:59:21 +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 47L4xLR6037667 for ; Wed, 21 Aug 2024 04:59:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47L4xLtV037666 for bugs@FreeBSD.org; Wed, 21 Aug 2024 04:59:21 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 280909] Please add the vm.swap_free sysctl variable Date: Wed, 21 Aug 2024 04:59:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tatsuki_makino@hotmail.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: cc Message-ID: In-Reply-To: References: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280909 Tatsuki Makino changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tatsuki_makino@hotmail.com --- Comment #3 from Tatsuki Makino --- swapctl -l seems to be getting it by sysctl. https: //cgit.freebsd.org /src/tree/sbin/swapon/swapon.c#n821 However, vm.swap_info does not appear to be a structure that can be directly displayed by sysctl commands. How about formatting output of swapon using libxo like df? https: //cgit.freebsd.org /src/tree/bin/df/df.c#n458 --=20 You are receiving this mail because: You are the assignee for the bug.=