• Disc analiyser figures

    From RobH@rob@despammer.com to alt.os.linux.mint on Sun Oct 5 14:55:30 2025
    From Newsgroup: alt.os.linux.mint

    On a separate desk top pc which runs 2 extra programs, 1 a weather
    station and the other a cctv program.

    Out of curiosity, I wanted to see how much free space I had left on a
    250Gb ssd, so according to properties in the files app, I have 45Gb free space. So then I ran disc analiser and it give me these figures:

    Kernel 479mb
    Modules 23Gb
    lib 28.5Gb
    usr 39.6
    CCTV 8.2kb
    weather program 4.1kb

    So the total usage there is approx 90Gb

    And in the centre of disc analyser it says 60.2|Gb

    My questions are why so little space left on my 250Gb ssd
    And why the differences between what properties say is 45Gb free space
    and what is that 60.2Gb figure mean
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Paul@nospam@needed.invalid to alt.os.linux.mint on Sun Oct 5 12:17:18 2025
    From Newsgroup: alt.os.linux.mint

    On Sun, 10/5/2025 9:55 AM, RobH wrote:
    On a separate desk top pc which runs 2 extra programs, 1 a weather station and the other a cctv program.

    Out of curiosity, I wanted to see how much free space I had left on a 250Gb ssd, so according to properties in the files app, I have 45Gb free space. So then I ran disc analiser and it give me these figures:

    Kernel 479mb
    Modules 23Gb
    lib-a-a-a 28.5Gb
    usr-a-a-a 39.6
    CCTV-a-a-a 8.2kb
    weather program 4.1kb

    So the total usage there is approx 90Gb

    And in the centre of disc analyser it says 60.2|Gb

    My questions are why so little space left on my 250Gb ssd
    And why the differences between what properties say is 45Gb free space and what is that 60.2Gb figure mean

    But you don't want a disk analyser. These programs can crawl slash for you.
    The "sudo" is so anything which only root can read, get analysed too.

    sudo kdirstat / # Assuming we have a one disk system, and want to see the file distribution
    sudo qdirstat / # Same thing, from a different ecosystem.

    "QDirStat is based on that code, but made independent of any KDE libraries or infrastructure,
    so it has much fewer library and package dependencies; basically only the Qt 5 libs and libz,
    both of which most Linux / BSD machines have installed anyway if there is any graphical desktop installed."

    The programs recursively descend a tree and total things up.

    You can have a swapfile as in /swapfile or you can have a swap partition.
    When you run the "top" command, you can see if a swapon -a was done
    at boot and the swap partition(s) are loaded.

    *******

    The utility "gnome-disks" shows you the layout of your disk drive,
    so you don't miss anything. While you can study mounted things
    (mounted with respect to /), if something wasn't mounted it could
    take up space and miss your forensic advances.

    The "df" or diskfree command, tells you of component mounts in the system,
    and for the partitions that are optional, can tell you whether they are
    mounted at the moment.

    Most sessions, usually see me using gnome-disks, to see which
    partitions are mounted. A mounted partition seen in gnome-disks,
    has a "fill line" indicating how filled it is, and you can read the
    legend in the lower pane for details. The button on the left, in the
    controls under the partition box row, the triangle can mount or umount
    a partition you have clicked.

    Be careful with gnome-disks. It contains a couple of power user
    features which can be destructive. There is a bandwidth test,
    which threatens to do R/W testing instead of R only speed
    tests of a drive. And there is a button for "deleting partitions",
    which is a pretty dangerous button to have in an interface. Whether
    it has "interlocks" or "are you sure?" things or not, a partition
    delete is a danger. You will need to learn how the tool works,
    thoroughly, to really enjoy it and not cause a catastrophe.

    Summary: You have a space gobbling partition which is not mounted.
    Use gnome-disks, and spot the partition where you "can't see
    the fill", which means it is not mounted at the moment.

    Paul


    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From RobH@rob@despammer.com to alt.os.linux.mint on Sun Oct 5 18:12:12 2025
    From Newsgroup: alt.os.linux.mint

    On 05/10/2025 17:17, Paul wrote:
    On Sun, 10/5/2025 9:55 AM, RobH wrote:
    On a separate desk top pc which runs 2 extra programs, 1 a weather station and the other a cctv program.

    Out of curiosity, I wanted to see how much free space I had left on a 250Gb ssd, so according to properties in the files app, I have 45Gb free space. So then I ran disc analiser and it give me these figures:

    Kernel 479mb
    Modules 23Gb
    lib-a-a-a 28.5Gb
    usr-a-a-a 39.6
    CCTV-a-a-a 8.2kb
    weather program 4.1kb

    So the total usage there is approx 90Gb

    And in the centre of disc analyser it says 60.2|Gb

    My questions are why so little space left on my 250Gb ssd
    And why the differences between what properties say is 45Gb free space and what is that 60.2Gb figure mean

    But you don't want a disk analyser. These programs can crawl slash for you. The "sudo" is so anything which only root can read, get analysed too.

    sudo kdirstat / # Assuming we have a one disk system, and want to see the file distribution
    sudo qdirstat / # Same thing, from a different ecosystem.

    "QDirStat is based on that code, but made independent of any KDE libraries or infrastructure,
    so it has much fewer library and package dependencies; basically only the Qt 5 libs and libz,
    both of which most Linux / BSD machines have installed anyway if there is any graphical desktop installed."

    The programs recursively descend a tree and total things up.

    You can have a swapfile as in /swapfile or you can have a swap partition. When you run the "top" command, you can see if a swapon -a was done
    at boot and the swap partition(s) are loaded.

    *******

    The utility "gnome-disks" shows you the layout of your disk drive,
    so you don't miss anything. While you can study mounted things
    (mounted with respect to /), if something wasn't mounted it could
    take up space and miss your forensic advances.

    The "df" or diskfree command, tells you of component mounts in the system, and for the partitions that are optional, can tell you whether they are mounted at the moment.

    Most sessions, usually see me using gnome-disks, to see which
    partitions are mounted. A mounted partition seen in gnome-disks,
    has a "fill line" indicating how filled it is, and you can read the
    legend in the lower pane for details. The button on the left, in the
    controls under the partition box row, the triangle can mount or umount
    a partition you have clicked.

    Be careful with gnome-disks. It contains a couple of power user
    features which can be destructive. There is a bandwidth test,
    which threatens to do R/W testing instead of R only speed
    tests of a drive. And there is a button for "deleting partitions",
    which is a pretty dangerous button to have in an interface. Whether
    it has "interlocks" or "are you sure?" things or not, a partition
    delete is a danger. You will need to learn how the tool works,
    thoroughly, to really enjoy it and not cause a catastrophe.

    Summary: You have a space gobbling partition which is not mounted.
    Use gnome-disks, and spot the partition where you "can't see
    the fill", which means it is not mounted at the moment.

    Paul



    Thanks for the reply.
    Apologies, it is called Disc Usage Analyser in my Linux Mint system.

    sudo: kdirstat: command not found

    Now according to Gnome Discs, I have my 250Gb ssd which has 3
    partitions: sda1, sda2 and sda3, and it is sda3 which is 76.9% full.
    All partitions are mounted.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Alan K.@alan@invalid.com to alt.os.linux.mint on Sun Oct 5 13:21:16 2025
    From Newsgroup: alt.os.linux.mint

    On 10/5/25 1:12 PM, RobH wrote:
    On 05/10/2025 17:17, Paul wrote:
    On Sun, 10/5/2025 9:55 AM, RobH wrote:
    On a separate desk top pc which runs 2 extra programs, 1 a weather station and the other a cctv program.

    Out of curiosity, I wanted to see how much free space I had left on a 250Gb ssd, so according to properties in the files app, I have 45Gb free space. So then I ran disc analiser and it give me these figures:

    Kernel 479mb
    Modules 23Gb
    lib-a-a-a 28.5Gb
    usr-a-a-a 39.6
    CCTV-a-a-a 8.2kb
    weather program 4.1kb

    So the total usage there is approx 90Gb

    And in the centre of disc analyser it says 60.2|Gb

    My questions are why so little space left on my 250Gb ssd
    And why the differences between what properties say is 45Gb free space and what is that 60.2Gb figure mean

    But you don't want a disk analyser. These programs can crawl slash for you. >> The "sudo" is so anything which only root can read, get analysed too.

    sudo kdirstat / # Assuming we have a one disk system, and want to see the file distribution
    sudo qdirstat / # Same thing, from a different ecosystem.

    "QDirStat is based on that code, but made independent of any KDE libraries or infrastructure,
    so it has much fewer library and package dependencies; basically only the Qt 5 libs and libz,
    both of which most Linux / BSD machines have installed anyway if there is any graphical desktop installed."

    The programs recursively descend a tree and total things up.

    You can have a swapfile as in /swapfile or you can have a swap partition.
    When you run the "top" command, you can see if a swapon -a was done
    at boot and the swap partition(s) are loaded.

    *******

    The utility "gnome-disks" shows you the layout of your disk drive,
    so you don't miss anything. While you can study mounted things
    (mounted with respect to /), if something wasn't mounted it could
    take up space and miss your forensic advances.

    The "df" or diskfree command, tells you of component mounts in the system, >> and for the partitions that are optional, can tell you whether they are
    mounted at the moment.

    Most sessions, usually see me using gnome-disks, to see which
    partitions are mounted. A mounted partition seen in gnome-disks,
    has a "fill line" indicating how filled it is, and you can read the
    legend in the lower pane for details. The button on the left, in the
    controls under the partition box row, the triangle can mount or umount
    a partition you have clicked.

    Be careful with gnome-disks. It contains a couple of power user
    features which can be destructive. There is a bandwidth test,
    which threatens to do R/W testing instead of R only speed
    tests of a drive. And there is a button for "deleting partitions",
    which is a pretty dangerous button to have in an interface. Whether
    it has "interlocks" or "are you sure?" things or not, a partition
    delete is a danger. You will need to learn how the tool works,
    thoroughly, to really enjoy it and not cause a catastrophe.

    Summary: You have a space gobbling partition which is not mounted.
    Use gnome-disks, and spot the partition where you "can't see
    the fill", which means it is not mounted at the moment.

    Paul



    Thanks for the reply.
    Apologies, it is called Disc Usage Analyser in my Linux Mint system.

    sudo: kdirstat: command not found

    Now according to Gnome Discs, I have my 250Gb ssd which has 3
    partitions: sda1, sda2 and sda3, and it is sda3 which is 76.9% full.
    All partitions are mounted.
    sudo apt install kdirstat
    or
    sudo apt install qdirstat
    --
    Linux Mint 22.2, Thunderbird 128.14.0esr, Mozilla Firefox 143.0.1
    Alan K.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Mike Easter@MikeE@ster.invalid to alt.os.linux.mint on Sun Oct 5 13:03:55 2025
    From Newsgroup: alt.os.linux.mint

    RobH wrote:
    it is called Disc Usage Analyser in my Linux Mint system.

    That is a strange tool to make multicolor 'designs' as either a tree map
    or a ring shaped 'analysis'.

    I've never used it, but I 'don't like it'; don't see a use for it. Its
    webpage says that it is useful to see where space is wasted.

    Its command is baobab (?!) and its package description says:
    Disk Usage Analyzer is a graphical, menu-driven application to analyse
    disk usage in a GNOME environment. It can easily scan either the whole filesystem tree, or a specific user-requested directory branch (local or remote).

    https://wiki.gnome.org/Apps(2f)DiskUsageAnalyzer.html https://apps.gnome.org/Baobab/
    --
    Mike Easter
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Jeff Layman@Jeff@invalid.invalid to alt.os.linux.mint on Sun Oct 5 22:18:40 2025
    From Newsgroup: alt.os.linux.mint

    On 05/10/2025 21:03, Mike Easter wrote:
    RobH wrote:
    it is called Disc Usage Analyser in my Linux Mint system.

    That is a strange tool to make multicolor 'designs' as either a tree map
    or a ring shaped 'analysis'.

    I've never used it, but I 'don't like it'; don't see a use for it. Its webpage says that it is useful to see where space is wasted.

    Its command is baobab (?!) and its package description says:
    Disk Usage Analyzer is a graphical, menu-driven application to analyse
    disk usage in a GNOME environment. It can easily scan either the whole
    filesystem tree, or a specific user-requested directory branch (local or
    remote).

    https://wiki.gnome.org/Apps(2f)DiskUsageAnalyzer.html https://apps.gnome.org/Baobab/

    When I ran Windows, I used to use SequoiaView to see what was using disk space. I see that it hasn't been updated in years. <https://sequoiaview.win.tue.nl/>
    --
    Jeff
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From RobH@rob@despammer.com to alt.os.linux.mint on Sun Oct 5 22:45:43 2025
    From Newsgroup: alt.os.linux.mint

    On 05/10/2025 17:17, Paul wrote:
    On Sun, 10/5/2025 9:55 AM, RobH wrote:
    On a separate desk top pc which runs 2 extra programs, 1 a weather station and the other a cctv program.

    Out of curiosity, I wanted to see how much free space I had left on a 250Gb ssd, so according to properties in the files app, I have 45Gb free space. So then I ran disc analiser and it give me these figures:

    Kernel 479mb
    Modules 23Gb
    lib-a-a-a 28.5Gb
    usr-a-a-a 39.6
    CCTV-a-a-a 8.2kb
    weather program 4.1kb

    So the total usage there is approx 90Gb

    And in the centre of disc analyser it says 60.2|Gb

    My questions are why so little space left on my 250Gb ssd
    And why the differences between what properties say is 45Gb free space and what is that 60.2Gb figure mean

    But you don't want a disk analyser. These programs can crawl slash for you. The "sudo" is so anything which only root can read, get analysed too.

    sudo kdirstat / # Assuming we have a one disk system, and want to see the file distribution
    sudo qdirstat / # Same thing, from a different ecosystem.

    "QDirStat is based on that code, but made independent of any KDE libraries or infrastructure,
    so it has much fewer library and package dependencies; basically only the Qt 5 libs and libz,
    both of which most Linux / BSD machines have installed anyway if there is any graphical desktop installed."

    The programs recursively descend a tree and total things up.

    You can have a swapfile as in /swapfile or you can have a swap partition. When you run the "top" command, you can see if a swapon -a was done
    at boot and the swap partition(s) are loaded.

    *******

    The utility "gnome-disks" shows you the layout of your disk drive,
    so you don't miss anything. While you can study mounted things
    (mounted with respect to /), if something wasn't mounted it could
    take up space and miss your forensic advances.

    The "df" or diskfree command, tells you of component mounts in the system, and for the partitions that are optional, can tell you whether they are mounted at the moment.

    Most sessions, usually see me using gnome-disks, to see which
    partitions are mounted. A mounted partition seen in gnome-disks,
    has a "fill line" indicating how filled it is, and you can read the
    legend in the lower pane for details. The button on the left, in the
    controls under the partition box row, the triangle can mount or umount
    a partition you have clicked.

    Be careful with gnome-disks. It contains a couple of power user
    features which can be destructive. There is a bandwidth test,
    which threatens to do R/W testing instead of R only speed
    tests of a drive. And there is a button for "deleting partitions",
    which is a pretty dangerous button to have in an interface. Whether
    it has "interlocks" or "are you sure?" things or not, a partition
    delete is a danger. You will need to learn how the tool works,
    thoroughly, to really enjoy it and not cause a catastrophe.

    Summary: You have a space gobbling partition which is not mounted.
    Use gnome-disks, and spot the partition where you "can't see
    the fill", which means it is not mounted at the moment.

    Paul



    Running df -h shows sda3 on the 250GB disk, as using 175Gb
    How can I find out why it is using so much space

    Thanks
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to alt.os.linux.mint on Sun Oct 5 21:54:59 2025
    From Newsgroup: alt.os.linux.mint

    On Sun, 5 Oct 2025 22:45:43 +0100, RobH wrote:

    Running df -h shows sda3 on the 250GB disk, as using 175Gb
    How can I find out why it is using so much space

    Assuming it is mounted at /-2mount-point-+, then you can look at the usage
    of the top-level directories on that volume with a command like

    du -ks /-2mount-point-+/*/

    and then drill down from there. If you have other volumes mounted under
    it, then they will confuse the issue. You can get around that with a bind mount.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vallor@vallor@vallor.earth to alt.os.linux.mint on Sun Oct 5 23:36:00 2025
    From Newsgroup: alt.os.linux.mint

    At Sun, 5 Oct 2025 21:54:59 -0000 (UTC), Lawrence D|o-C-OOliveir<ldo@nz.invalid> wrote:

    On Sun, 5 Oct 2025 22:45:43 +0100, RobH wrote:

    Running df -h shows sda3 on the 250GB disk, as using 175Gb
    How can I find out why it is using so much space

    Assuming it is mounted at /|e-2mount-point|e-+, then you can look at t> usage of the top-level directories on that volume with a command like

    du -ks /|e-2mount-point|e-+/>
    and then drill down from there. If you have other volumes mounted
    under it, then they will confuse the issue. You can get around that
    with a bind mount.

    Good advice.

    There's also the -S option to du, which totals up
    usage in directories. So:

    sudo du -Sx / > /tmp/d.sizes

    Then:

    sort -rn /tmp/d.sizes > /tmp/sorted.d.sizes

    head /tmp/sorted.d.sizes

    The "-x" in "du -Sx" means to stay on the same filesystem,
    so if /home is separate, you'll need to repeat the process
    there.
    --
    -v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090Ti 24G
    OS: Linux 6.17.0 D: Mint 22.2 DE: Xfce 4.18
    NVIDIA: 580.95.05 Mem: 258G
    "The best defense is to stay out of range."
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Alan K.@alan@invalid.com to alt.os.linux.mint on Sun Oct 5 20:11:54 2025
    From Newsgroup: alt.os.linux.mint

    On 10/5/25 7:36 PM, vallor wrote:
    Good advice.

    There's also the -S option to du, which totals up
    usage in directories. So:

    sudo du -Sx / > /tmp/d.sizes

    Then:

    sort -rn /tmp/d.sizes > /tmp/sorted.d.sizes

    head /tmp/sorted.d.sizes

    The "-x" in "du -Sx" means to stay on the same filesystem,
    so if /home is separate, you'll need to repeat the process
    there.

    Simplified without creating the file:
    sudo du -Sx / | sort -rn | head -20
    --
    Linux Mint 22.2, Thunderbird 128.14.0esr, Mozilla Firefox 143.0.3
    Alan K.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Paul@nospam@needed.invalid to alt.os.linux.mint on Sun Oct 5 20:32:02 2025
    From Newsgroup: alt.os.linux.mint

    On Sun, 10/5/2025 5:45 PM, RobH wrote:


    Running df -h shows sda3 on the 250GB disk, as using 175Gb
    How can I find out why it is using so much space

    Thanks

    [Picture] Use "Download Original" for full resolution picture

    https://i.postimg.cc/fL7MC8vT/Linux-Slash-qdirstat.gif

    The picture shows two qdirstat sessions.

    1) For the first part of the analysis, you only want your
    slash partition mounted. Then when you do a

    sudo apt install qdirstat

    sudo qdirstat /

    you are mostly scanning slash and not /media/mint/MYDATA
    which is an optional partition I can mount (later).

    2) In the second picture, I mount the MYDATA partition, then use

    sudo qdirstat /media/mint/MYDATA

    and the analysis is limited to my right-most partition only.

    In the first picture at the top, the analysis of slash, shows silly me,
    I left a 29GB kernel build in my home directory.

    In the second picture, purely for illustration purposes,
    my Linux kernel build is transferred to MYDATA (just to make an illustrative mess).

    In the second picture, you can see a rather large tar file,
    which attracts my attention as a big green rectangle in the
    display, and since the tar is a duplicate of the entire kernel
    tree, I can just delete the file

    rm /media/mint/MYDATA/tar.tar.gz # Name, not all that original

    The kernel build, has some fractional gigabyte files in it,
    and they might be the next thing I would delete or compress.

    Paul
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vallor@vallor@vallor.earth to alt.os.linux.mint on Mon Oct 6 03:27:39 2025
    From Newsgroup: alt.os.linux.mint

    At Sun, 5 Oct 2025 20:11:54 -0400, "Alan K." <alan@invalid.com> wrote:

    On 10/5/25 7:36 PM, vallor wrote:
    Good advice.

    There's also the -S option to du, which totals up
    usage in directories. So:

    sudo du -Sx / > /tmp/d.sizes

    Then:

    sort -rn /tmp/d.sizes > /tmp/sorted.d.sizes

    head /tmp/sorted.d.sizes

    The "-x" in "du -Sx" means to stay on the same filesystem,
    so if /home is separate, you'll need to repeat the process
    there.

    Simplified without creating the file:
    sudo du -Sx / | sort -rn | head -20

    The trouble with that is that running the du -Sx can be a fairly
    expensive operation (depending on how much you keep on the partition in question, of course), so you might want to save the entire output for
    further inspection.

    It's one of those things for which I like to keep multiple stages.
    YMMV.

    BTW, it's _so_ expensive on my fileserver that I run it less than once
    a year there...

    $ ll sorted.volume1.d.sizes
    -rw-r----- 1 root root 902516082 Jul 7 2024 sorted.volume1.d.sizes
    --
    -v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090Ti 24G
    OS: Linux 6.17.0 D: Mint 22.2 DE: Xfce 4.18
    NVIDIA: 580.95.05 Mem: 258G
    "Wisdom is knowing what to do with what you know."
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Bob Martin@bob.martin@excite.com to alt.os.linux.mint on Mon Oct 6 05:13:28 2025
    From Newsgroup: alt.os.linux.mint

    On 5 Oct 2025 at 17:12:12, RobH <rob@despammer.com> wrote:

    Thanks for the reply.
    Apologies, it is called Disc Usage Analyser in my Linux Mint system.

    sudo: kdirstat: command not found

    Now according to Gnome Discs, I have my 250Gb ssd which has 3
    partitions: sda1, sda2 and sda3, and it is sda3 which is 76.9% full.
    All partitions are mounted.

    Run
    sudo apt autoremove
    to clear out all the recent kernel updates.

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From RobH@rob@despammer.com to alt.os.linux.mint on Mon Oct 6 10:31:59 2025
    From Newsgroup: alt.os.linux.mint

    On 06/10/2025 06:13, Bob Martin wrote:
    On 5 Oct 2025 at 17:12:12, RobH <rob@despammer.com> wrote:

    Thanks for the reply.
    Apologies, it is called Disc Usage Analyser in my Linux Mint system.

    sudo: kdirstat: command not found

    Now according to Gnome Discs, I have my 250Gb ssd which has 3
    partitions: sda1, sda2 and sda3, and it is sda3 which is 76.9% full.
    All partitions are mounted.

    Run
    sudo apt autoremove
    to clear out all the recent kernel updates.


    Thanks, doing that has given me an extra 34Gb of space.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From RobH@rob@despammer.com to alt.os.linux.mint on Mon Oct 6 10:38:56 2025
    From Newsgroup: alt.os.linux.mint

    On 06/10/2025 01:11, Alan K. wrote:
    On 10/5/25 7:36 PM, vallor wrote:
    Good advice.

    There's also the -S option to du, which totals up
    usage in directories.-a So:

    sudo du -Sx / > /tmp/d.sizes

    Then:

    sort -rn /tmp/d.sizes > /tmp/sorted.d.sizes

    head /tmp/sorted.d.sizes

    The "-x" in "du -Sx" means to stay on the same filesystem,
    so if /home is separate, you'll need to repeat the process
    there.

    Simplified without creating the file:
    -a-a-a-asudo du -Sx / | sort -rn | head -20

    Pardon me fore asking, but what do the 6 and 7 figure numbers mean on
    the left hand side when it lists the folders etc.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Dan Purgert@dan@djph.net to alt.os.linux.mint on Mon Oct 6 10:02:20 2025
    From Newsgroup: alt.os.linux.mint

    On 2025-10-06, RobH wrote:
    On 06/10/2025 01:11, Alan K. wrote:
    On 10/5/25 7:36 PM, vallor wrote:
    Good advice.

    There's also the -S option to du, which totals up
    usage in directories.-a So:

    sudo du -Sx / > /tmp/d.sizes

    Then:

    sort -rn /tmp/d.sizes > /tmp/sorted.d.sizes

    head /tmp/sorted.d.sizes

    The "-x" in "du -Sx" means to stay on the same filesystem,
    so if /home is separate, you'll need to repeat the process
    there.

    Simplified without creating the file:
    -a-a-a-asudo du -Sx / | sort -rn | head -20

    Pardon me fore asking, but what do the 6 and 7 figure numbers mean on
    the left hand side when it lists the folders etc.

    It's the file-size. I *believe* it is in blocks on your drive; so the numbering will be dependent on your filesystem (e.g. here I have 4K
    blocks, so a 13K file shows as "4"; but if you have 512B blocks, it
    would be 26).
    --
    |_|O|_|
    |_|_|O| Github: https://github.com/dpurgert
    |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vallor@vallor@vallor.earth to alt.os.linux.mint on Tue Oct 7 05:19:41 2025
    From Newsgroup: alt.os.linux.mint

    At Mon, 6 Oct 2025 10:02:20 -0000 (UTC), Dan Purgert <dan@djph.net>
    wrote:

    On 2025-10-06, RobH wrote:
    On 06/10/2025 01:11, Alan K. wrote:
    On 10/5/25 7:36 PM, vallor wrote:
    Good advice.

    There's also the -S option to du, which totals up
    usage in directories.-a So:

    sudo du -Sx / > /tmp/d.sizes

    Then:

    sort -rn /tmp/d.sizes > /tmp/sorted.d.sizes

    head /tmp/sorted.d.sizes

    The "-x" in "du -Sx" means to stay on the same filesystem,
    so if /home is separate, you'll need to repeat the process
    there.

    Simplified without creating the file:
    -a-a-a-asudo du -Sx / | sort -rn | head -20

    Pardon me fore asking, but what do the 6 and 7 figure numbers mean
    on the left hand side when it lists the folders etc.

    It's the file-size. I *believe* it is in blocks on your drive; so the numbering will be dependent on your filesystem (e.g. here I have 4K
    blocks, so a 13K file shows as "4"; but if you have 512B blocks, it
    would be 26).

    From the man page:
    Display values are in units of the first available SIZE from
    --block-size, and the DU_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE
    environment variables. Otherwise, units default to 1024
    bytes (or 512 if POSIXLY_CORRECT is set).

    So basically, it's in Kbytes, as in units of 1024 bytes.

    (Sidenote: I can never remember if that's supposed to be
    "POSIXLY_CORRECT" or "POSIX_CORRECTLY".)
    --
    -v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090Ti 24G
    OS: Linux 6.17.0 D: Mint 22.2 DE: Xfce 4.18
    NVIDIA: 580.95.05 Mem: 258G
    "Bugs are Sons of Glitches!"
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Russell Gadd@russ.mail.lists@gmail.com to alt.os.linux.mint on Wed Oct 8 06:38:00 2025
    From Newsgroup: alt.os.linux.mint

    On 05/10/2025 21:03, Mike Easter wrote:
    RobH wrote:
    it is called Disc Usage Analyser in my Linux Mint system.

    That is a strange tool to make multicolor 'designs' as either a tree map
    or a ring shaped 'analysis'.

    I've never used it, but I 'don't like it'; don't see a use for it. Its webpage says that it is useful to see where space is wasted.

    Its command is baobab (?!) ...


    I find it useful to clean out backups that I don't need (on a backup disc).
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vallor@vallor@vallor.earth to alt.os.linux.mint on Wed Oct 8 06:09:21 2025
    From Newsgroup: alt.os.linux.mint

    At Wed, 8 Oct 2025 06:38:00 +0100, Russell Gadd
    <russ.mail.lists@gmail.com> wrote:

    On 05/10/2025 21:03, Mike Easter wrote:
    RobH wrote:
    it is called Disc Usage Analyser in my Linux Mint system.

    That is a strange tool to make multicolor 'designs' as either a
    tree map or a ring shaped 'analysis'.

    I've never used it, but I 'don't like it'; don't see a use for it.
    Its webpage says that it is useful to see where space is wasted.

    Its command is baobab (?!) ...


    I find it useful to clean out backups that I don't need (on a backup
    disc).

    BTW, for anyone interested:

    https://github.com/mcuelenaere/fsv

    It's a clone of the tool that SGI machines had for visually
    inspecting disk usage in directories. Seen in _Jurassic Park_,
    when Lex says "It's a Unix system...I know this!"

    But having said that, I just ran it in a directory that had
    a bunch of big video files, and the proportions between the
    directory make the smaller directories difficult to see.
    --
    -v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090Ti 24G
    OS: Linux 6.17.1 D: Mint 22.2 DE: Xfce 4.18
    NVIDIA: 580.95.05 Mem: 258G
    "Man who jumps through screen door likely to strain himself."
    "Windows N'T: as in Wouldn't, Couldn't, and Didn't."
    --- Synchronet 3.21a-Linux NewsLink 1.2