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
Differential D49522
ps.1: Use ISO/IEC byte units ziaee on Wed, Mar 26, 5:44 PM. Authored by Tags None Referenced Files
Details
The ps(1) utility uses 1024 byte units, not 1000 byte units. git grep KiB | wc -l Fixes: 20bdda14fa5c (Consistent usage of Kbyte unit)
Diff Detail
Event TimelineComment Actions Just my $0.02 https://en.wikichip.org/wiki/kibibyte and consistency is cool. and a certainly am convinced that https://github.com/freebsd/freebsd-src/commit/20bdda14fa5c7ccb96c814d09311db948b1d239a drops informations kBytes is not common usage for KiB Comment Actions Yea, the days of correcting marketing folks that say a new machine has 65kB of RAM are long since past. kB hasn't been a primary unit of measure of memory in maybe 40 years. So the sensibilities developed when it was (like I did) aren't a good judge for what's common (even though I read kBytes as 1024 always). And we're now maybe 20 years past when the view of IEC standard started to shift from 'silly' to 'useful', so this is a good change. |