btop++ show different reading than DUA

3 years ago by Digester to c/linux

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?

load all comments
reggie 5 points 3 years ago

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.

path: 0 1147485, hotness: undefined, score: 5, children: 2
YonatanAvhar 4 points 3 years 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

path: 0 1147485 1152125, hotness: undefined, score: 4, children: 0
swrdghcnqstdr 2 points 3 years 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.

path: 0 1147485 1177619, hotness: undefined, score: 2, children: 0
linux
linux

@lemmy.ml

login for more options
68190
9482
5969

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

go to feed...