this post was submitted on 11 Jul 2023
13 points (100.0% liked)

Linux

48159 readers
858 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm using EndeavourOS. I installed btop++ as well as Disk Usage Analyzer. Both give me different disk space information.

I know I don't have 60gb worth of files on my system for sure, DUA confirms that. How can I get btop++ to read the correct disk space usage?

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago (2 children)

It seems like one is showing GiB and the other GB, which are two different units.

KB = 1000B KiB = 1024B

Which doesn't seem significant but it adds up.

[–] [email protected] 4 points 1 year ago

I'd like to add that GB is pronounced Gigabyte, and GiB is pronounced Gibibyte. For the full list of units you can check this

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

It’s not this significant (3x). it should be closer to 7%. My guess is that OP is using something like btrfs, whose data used is calculated differently due to the CoW nature, and btop++ is using using a generic tool to estimate disk usage rather than the btrfs utility that DUA is almost certainly using.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

GiB vs GB, but it shouldn't be that much difference at a really cursory look.

[–] Digester 1 points 1 year ago (1 children)

I tried to vim into the config file to change GiG to GB but I didn't find the option.

[–] [email protected] 1 points 1 year ago

You're probably stuck with whatever it's telling you.

[–] [email protected] 1 points 1 year ago

@Digester
Search DuckDuckGo (or google) for “854GiB to GB”. The result will show 916.9755GB. It’s the units difference.

load more comments
view more: next ›