• testing, various tmpfs /run directories, df -x tmpfs

    From songbird@21:1/5 to All on Wed Jun 19 02:00:01 2024
    recent bloat of tmpfs /run/{blah}

    looks horrible whenever i check the status of my file systems.

    it would be much better if those all went under just one tmpfs.

    luckily there is an option for that so i'll alias df with that
    option included. :)


    =====

    Filesystem Size Used Avail Use% Mounted on
    tmpfs 781M 1.3M 780M 1% /run
    tmpfs 5.0M 4.0K 5.0M 1% /run/lock
    tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-udev-load-credentials.service
    tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-sysctl.service tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-tmpfiles-setup-dev-early.service
    tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-tmpfiles-setup-dev.service
    tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-tmpfiles-setup.service
    tmpfs 781M 64K 781M 1% /run/user/1000
    tmpfs 1.0M 0 1.0M 0% /run/credentials/getty@tty1.service

    =====

    "df -x tmpfs" does the magic and gives me the better view that is
    more useful.


    songbird

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Wright@21:1/5 to songbird on Wed Jun 19 06:10:01 2024
    On Tue 18 Jun 2024 at 19:29:31 (-0400), songbird wrote:

    "df -x tmpfs" does the magic and gives me the better view that is
    more useful.

    FWIW I define dfree as:

    df --output=source,ipcent,fstype,size,used,avail,pcent,target -B 1000000 -x tmpfs -x devtmpfs -x fuse.portal | sed -E 's/([^ ] )/\1 /g'

    which produces a listing like:

    $ dfree
    Filesystem IUse% Type 1MB-blocks Used Avail Use% Mounted on
    /dev/nvme0n1p2 23% ext4 30783 17131 12063 59% /
    /dev/nvme0n1p3 3% ext4 30783 1922 27272 7% /apex-partial
    /dev/nvme0n1p1 - vfat 523 21 502 5% /boot/efi
    /dev/dm-0 2% ext4 390073 186974 183209 51% /home
    $

    For filesystems, I find a uniform MB works better than "human-readable" sizes.

    Cheers,
    David.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From songbird@21:1/5 to David Wright on Thu Jun 20 15:50:01 2024
    David Wright wrote:
    On Tue 18 Jun 2024 at 19:29:31 (-0400), songbird wrote:

    "df -x tmpfs" does the magic and gives me the better view that is
    more useful.

    FWIW I define dfree as:

    df --output=source,ipcent,fstype,size,used,avail,pcent,target -B 1000000 -x tmpfs -x devtmpfs -x fuse.portal | sed -E 's/([^ ] )/\1 /g'

    :)


    which produces a listing like:

    $ dfree
    Filesystem IUse% Type 1MB-blocks Used Avail Use% Mounted on
    /dev/nvme0n1p2 23% ext4 30783 17131 12063 59% /
    /dev/nvme0n1p3 3% ext4 30783 1922 27272 7% /apex-partial
    /dev/nvme0n1p1 - vfat 523 21 502 5% /boot/efi
    /dev/dm-0 2% ext4 390073 186974 183209 51% /home
    $

    For filesystems, I find a uniform MB works better than "human-readable" sizes.

    i also find the same units better for my pea brain... :)


    songbird

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)