Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2023 11:23:58 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 873117aefd2a - stable/13 - swapinfo.8: Mention BLOCKSIZE in the ENVIRONMENT section
Message-ID:  <202310041123.394BNwtQ085268@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by 0mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=873117aefd2a3b796cc82942a885f066b1d6bf5d

commit 873117aefd2a3b796cc82942a885f066b1d6bf5d
Author:     Felix Johnson <felix.the.red@gmail.com>
AuthorDate: 2022-07-08 19:33:02 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2023-10-04 11:14:57 +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
    
    (cherry picked from commit 39ad6e289f062fc8da239c0372f49b21f0911060)
---
 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 9cf0e7ef340b..2075718626a3 100644
--- a/usr.sbin/pstat/pstat.8
+++ b/usr.sbin/pstat/pstat.8
@@ -34,7 +34,7 @@
 .\"
 .\"     @(#)pstat.8	8.5 (Berkeley) 5/13/94
 .\"
-.Dd October 11, 2014
+.Dd July 8, 2022
 .Dt PSTAT 8
 .Os
 .Sh NAME
@@ -228,6 +228,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 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310041123.394BNwtQ085268>