jDiskMark / jdm-java

1 stars 0 forks source link

Drive or partition capacity reporting #8

Closed jamesmarkchan closed 8 months ago

jamesmarkchan commented 8 months ago

support disk capacity development

windows:

>cmd.exe /c fsutil volume diskfree c:\Users\james
Total free bytes                :  35,466,014,720 ( 33.0 GB)
Total bytes                     : 511,324,794,880 (476.2 GB)
Total quota free bytes          :  35,466,014,720 ( 33.0 GB)
Unavailable pool bytes          :               0 (  0.0 KB)
Quota unavailable pool bytes    :               0 (  0.0 KB)
Used bytes                      : 475,832,217,600 (443.2 GB)
Total Reserved bytes            :      26,562,560 ( 25.3 MB)
Volume storage reserved bytes   :               0 (  0.0 KB)
Available committed bytes       :               0 (  0.0 KB)
Pool available bytes            :               0 (  0.0 KB)

mac os

$ df -h /Users/james
Filesystem     Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk1s1  466Gi  191Gi  273Gi    42%  947563 9223372036853828244    0%   /

Linux

$ df -h /home/james
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2       228G   52G  165G  24% /

This information should be parsed and stored with the benchmark

jamesmarkchan commented 8 months ago

test on mac os x

capacity-working-macosx
jamesmarkchan commented 8 months ago

test on ubuntu ubuntu-disk-capacity-test

jamesmarkchan commented 8 months ago

test on windows 11 Screenshot 2024-01-28 123404

jamesmarkchan commented 8 months ago

@jslcom any thoughts on how we can improve the display text? Feels like a % and then "(...)" make it feel really busy.

jamesmarkchan commented 8 months ago

removed used and total from the table columns to reduce clutter. corsair-samgsung-rw-200s-bench