Discussion:
testing, various tmpfs /run directories, df -x tmpfs
(too old to reply)
songbird
2024-06-19 00:00:01 UTC
Permalink
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/***@tty1.service

=====

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


songbird
David Wright
2024-06-19 04:10:01 UTC
Permalink
Post by songbird
"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.
songbird
2024-06-20 13:50:01 UTC
Permalink
Post by David Wright
Post by songbird
"df -x tmpfs" does the magic and gives me the better view that is
more useful.
df --output=source,ipcent,fstype,size,used,avail,pcent,target -B 1000000 -x tmpfs -x devtmpfs -x fuse.portal | sed -E 's/([^ ] )/\1 /g'
:)
Post by David Wright
$ 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

Loading...