git: 75a320e4312e - main - ps.1: Use ISO/IEC byte units

From: Alexander Ziaee <ziaee_at_FreeBSD.org>
Date: Fri, 28 Mar 2025 17:59:19 UTC
The branch main has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=75a320e4312e98a687a7bd922a1e2fa6649ad2c1

commit 75a320e4312e98a687a7bd922a1e2fa6649ad2c1
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2025-03-26 17:34:59 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-03-28 17:59:00 +0000

    ps.1: Use ISO/IEC byte units
    
    The ps(1) utility uses 1024 byte units, not 1000 byte units.
    
    git grep KiB | wc -l
            535
    git grep KBytes | wc -l
            39
    
    Fixes:                  20bdda14fa5c (Consistent usage of Kbyte unit)
    MFC after:              3 days
    Reviewed by:            jsm, imp, mhorne
    Approved by:            mhorne (mentor)
    Differential Revision:  https://reviews.freebsd.org/D49522
---
 bin/ps/ps.1 | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/bin/ps/ps.1 b/bin/ps/ps.1
index f90bf008a286..542ae71e898a 100644
--- a/bin/ps/ps.1
+++ b/bin/ps/ps.1
@@ -416,7 +416,7 @@ for details.
 The process scheduling increment (see
 .Xr setpriority 2 ) .
 .It Cm rss
-the real memory (resident set) size of the process in Kbytes.
+the real memory (resident set) size of the process in KiB.
 .It Cm start
 The time the command started.
 If the command started less than 24 hours ago, the start time is
@@ -569,7 +569,7 @@ number of copy-on-write faults
 The processor number on which the process is executing (visible only on SMP
 systems).
 .It Cm dsiz
-data size (in Kbytes)
+data size in KiB
 .It Cm emul
 system-call emulation environment (ABI)
 .It Cm etime
@@ -668,7 +668,7 @@ real group ID
 .It Cm rgroup
 group name (from rgid)
 .It Cm rss
-resident set size (in Kbytes)
+resident set size in KiB
 .It Cm rtprio
 realtime priority (see
 .Xr rtprio 1)
@@ -693,7 +693,7 @@ blocked signals (alias
 .It Cm sl
 sleep time (in seconds; 127 = infinity)
 .It Cm ssiz
-stack size (in Kbytes)
+stack size in KiB
 .It Cm start
 time started
 .It Cm state
@@ -719,11 +719,11 @@ control terminal process group ID
 .It Cm tracer
 tracer process ID
 .\".It Cm trss
-.\"text resident set size (in Kbytes)
+.\"text resident set size in KiB
 .It Cm tsid
 control terminal session ID
 .It Cm tsiz
-text size (in Kbytes)
+text size in KiB
 .It Cm tt
 control terminal name (two letter abbreviation)
 .It Cm tty
@@ -745,7 +745,7 @@ accumulated user CPU time
 .It Cm vmaddr
 vmspace pointer
 .It Cm vsz
-virtual size in Kbytes (alias
+virtual size in KiB (alias
 .Cm vsize )
 .It Cm wchan
 wait channel (as a symbolic name)