From nobody Fri Jul 8 19:35:36 2022 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 31213180BB4B; Fri, 8 Jul 2022 19:35:37 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lfk5j0zCnz3STp; Fri, 8 Jul 2022 19:35:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657308937; 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=tV4ZT8oGdYsidviT7aqtBAUTLWzy9uf5+eVkYD0rXzQ=; b=UqLghLryzUNAsGs1cKVblv8yTgEl/i+XPFKxroKjU/471zqTbOFXI/Ig7VmS80WZNx4L6B NpphhMF5oGim9iO5QQCYHAgODj2oEB7y6EIYdg9vaejvOe2fBtYzEssuWjxRROc3cNh2/3 GTAZ6IwyTxnbmnQhOdAS0OUOs3hlxNkOQ/m+2EI6Y1zCljafqSKMiGRBzjcSFIcDGjuS4u aY0qvRmcytONX1Jbe++gz5QaLIB28GoWtkpD72QhgnukZOC2fArLxqqfOUg7cwQl1gos1d 1OPP+a9e14xeWD49y394FWE8pVsUcnQz1brv99SI4jGo9VS67LWAbhCP781NOA== 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 4Lfk5h74ZVzJJj; Fri, 8 Jul 2022 19:35:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 268JZauW017220; Fri, 8 Jul 2022 19:35:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 268JZaaB017219; Fri, 8 Jul 2022 19:35:36 GMT (envelope-from git) Date: Fri, 8 Jul 2022 19:35:36 GMT Message-Id: <202207081935.268JZaaB017219@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 39ad6e289f06 - main - swapinfo.8: Mention BLOCKSIZE in the ENVIRONMENT section 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 39ad6e289f062fc8da239c0372f49b21f0911060 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657308937; 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=tV4ZT8oGdYsidviT7aqtBAUTLWzy9uf5+eVkYD0rXzQ=; b=TL1UIbYxJRiOXJMVzyOtCoXgQlSipF0PJLxNDEVGl9psZdJUSwiX9IsVCnhOHhRPHnRdyg dJYd1glAaRNYgh3Kv8bsX+i3qjjOZYBtQjJCA8Rz4cTsvazYPvfMEnKDumN2Y/lU0HO2gY 0x0Jz05iK6/rotAFKeO5AZ3WjI0MUJ4c34diisaAUFZqN2YvL7YbEU7EZIvDMDBswsajTu DDfz+6f3VNeJy0ydp6vAt//CW2gHQM6tZrR1LuhruQdUHP/SEUzgsC02CeGj7o9cIpmUsX qgbrfCwrCQa7WUPawvedSdhbBKA44LE6zojhGecUb9u9FELtvO5X2ItTjtmy3w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657308937; a=rsa-sha256; cv=none; b=YgFp1ayAdjHRB5GMJlkhsb21zgcv5CqKK1rXk9iYk9JdYmZpUqTrzA2Uiwe0/aPhHVgKB4 qLNkm2ZvSsREJQXgFRcG+mNMRg6mEsbz7boCv3T8JnYJ8sgOQgDCkybgEPnuc4wZKtFEpU DOu3BBAkaVNCpeC3a5jpCQW4IQjfz8YHwtqX/bWSK8oYofwmBPojwQP0rV8n4Sk8pL/9+s dtE7oDUodKfD6ZpTtEImPG26t9BjC0bjweVjlyvfXhgt4YFL9LtZw9y17UmtTl6g3hU7zb yWEQXUtEwWPIDDuZ/vThaTGlC7HV1FN3dbVXyrgm1K9WR75gOqcFxokHYM2Asw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=39ad6e289f062fc8da239c0372f49b21f0911060 commit 39ad6e289f062fc8da239c0372f49b21f0911060 Author: Felix Johnson AuthorDate: 2022-07-08 19:33:02 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-07-08 19:35:33 +0000 swapinfo.8: Mention BLOCKSIZE in the ENVIRONMENT section Copy the ENVIRONMENT section from df(1) to swapinfo(8), except that the --si option is removed for swapinfo. PR: 235225 Reported by: 0mp MFC after: 3 days --- usr.sbin/pstat/pstat.8 | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/usr.sbin/pstat/pstat.8 b/usr.sbin/pstat/pstat.8 index c6cc99e5571b..db00b10c3bc5 100644 --- a/usr.sbin/pstat/pstat.8 +++ b/usr.sbin/pstat/pstat.8 @@ -35,7 +35,7 @@ .\" @(#)pstat.8 8.5 (Berkeley) 5/13/94 .\" $FreeBSD$ .\" -.Dd October 11, 2014 +.Dd July 8, 2022 .Dt PSTAT 8 .Os .Sh NAME @@ -229,6 +229,26 @@ is also specified, extract the name list from the specified system instead of the default, which is the kernel image the system has booted from. .El +.Sh ENVIRONMENT +.Bl -tag -width BLOCKSIZE +.It Ev BLOCKSIZE +If the environment variable +.Ev BLOCKSIZE +is set, and the +.Fl h , k , +or +.Fl m +options are not specified, the block counts will be displayed in units of +that block size. +If +.Ev BLOCKSIZE +is not set, and the +.Fl h , k , +or +.Fl m +options are not specified, the block counts will be displayed in 512-byte +blocks. +.El .Sh SEE ALSO .Xr ps 1 , .Xr systat 1 ,