--- Begin Message ---
Subject: |
[PATCH] Make Memory Human Readable in proced Buffers |
Date: |
Mon, 14 Nov 2022 10:19:51 +0000 |
Hi, this patch makes vsize and rss human readable in proced buffers by formatting them as megabytes or gigabytes according to their size, similar as the -h flag for ls and du.
The current behaviour is to show them always as kilobytes, though I'm unsure if this meant as 1000 bytes or 1024 bytes, this patch assumes the former case.
Thanks, Laurence
0001-Make-vsize-and-rss-human-readable-in-proced-buffers.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#59272: [PATCH] Make Memory Human Readable in proced Buffers |
Date: |
Thu, 17 Nov 2022 11:55:25 +0200 |
> Cc: 59272@debbugs.gnu.org, Visuwesh <visuweshm@gmail.com>,
> Juri Linkov <juri@linkov.net>
> From: Laurence Warne <laurencewarne@gmail.com>
> Date: Wed, 16 Nov 2022 08:56:42 +0000
>
> Alright, I've had a look at sysdep.c, and it looks like bytes are divided by
> 1024 to convert to kilobytes.
>
> I've attached an updated patch using Juri's suggestion.
Thanks, installed, and closing the bug.
--- End Message ---