bad1080@piefed.social to Linux@lemmy.mlEnglish · edit-29 hours agowhat is this tmp disk btop is showing me? (OS: Kubuntu 25.10)media.piefed.socialimagemessage-square14fedilinkarrow-up112file-text
arrow-up112imagewhat is this tmp disk btop is showing me? (OS: Kubuntu 25.10)media.piefed.socialbad1080@piefed.social to Linux@lemmy.mlEnglish · edit-29 hours agomessage-square14fedilinkfile-text
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up2·8 hours agofor a more readable output df -ht tmpfs
minus-squarebad1080@piefed.socialOPlinkfedilinkEnglisharrow-up1·8 hours agothanks! but it’s unclear how to tell it lives in RAM… Filesystem Size Used Avail Use% Mounted on tmpfs 1,6G 2,2M 1,6G 1% /run tmpfs 7,8G 1,5G 6,3G 19% /dev/shm tmpfs 5,0M 8,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-resolved.service tmpfs 7,8G 236M 7,5G 3% /tmp tmpfs 1,6G 11M 1,6G 1% /run/user/1000
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up8·edit-28 hours agotmpfs is a memory filesystem, they all do https://man7.org/linux/man-pages/man5/tmpfs.5.html one-liner to get the total used size /usr/bin/df --type=tmpfs | awk 'NR>1 {sum+=$3} END {print "tmpfs used (MiB): " sum / 1024}'
for a more readable output
df -ht tmpfsthanks! but it’s unclear how to tell it lives in RAM…
tmpfs is a memory filesystem, they all do
https://man7.org/linux/man-pages/man5/tmpfs.5.html
one-liner to get the total used size
/usr/bin/df --type=tmpfs | awk 'NR>1 {sum+=$3} END {print "tmpfs used (MiB): " sum / 1024}'