bad1080@piefed.social to Linux@lemmy.mlEnglish · edit-212 hours agowhat is this tmp disk btop is showing me? (OS: Kubuntu 25.10)media.piefed.socialimagemessage-square14fedilinkarrow-up113file-text
arrow-up113imagewhat is this tmp disk btop is showing me? (OS: Kubuntu 25.10)media.piefed.socialbad1080@piefed.social to Linux@lemmy.mlEnglish · edit-212 hours agomessage-square14fedilinkfile-text
minus-squarebad1080@piefed.socialOPlinkfedilinkEnglisharrow-up1·12 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-up9·edit-211 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}'
thanks! 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}'