Re: [PATCH] du: add flag to show cache memory usage

2025-04-07 Thread Masatake YAMATO
From: Bernhard Voelker Subject: Re: [PATCH] du: add flag to show cache memory usage Date: Mon, 7 Apr 2025 16:40:10 +0200 > On 4/7/25 01:49, Matteo Croce wrote: >> Under Linux, add a --memory flag which allows to show cache memory >> usage >> of files: >> >> $

Re: [PATCH] du: add flag to show cache memory usage

2025-04-07 Thread Bernhard Voelker
On 4/7/25 01:49, Matteo Croce wrote: Under Linux, add a --memory flag which allows to show cache memory usage of files: $ truncate -s100M file $ du file 0 file $ dd status=none bs=1M count=5 if=file of=/dev/null $ du --memory --human file 10M file $ dd status=none bs=1M skip=30 count=5

[PATCH] du: add flag to show cache memory usage

2025-04-06 Thread Matteo Croce
From: Matteo Croce Under Linux, add a --memory flag which allows to show cache memory usage of files: $ truncate -s100M file $ du file 0 file $ dd status=none bs=1M count=5 if=file of=/dev/null $ du --memory --human file 10M file $ dd status=none bs=1M skip=30 count=5 if=file of=/dev/n