this post was submitted on 20 Mar 2026
12 points (100.0% liked)

Linux

63907 readers
481 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

i have only one internal ssd and no external drives are connected

you are viewing a single comment's thread
view the rest of the comments
[–] eager_eagle@lemmy.world 2 points 9 hours ago (1 children)

for a more readable output

df -ht tmpfs

[–] bad1080@piefed.social 0 points 9 hours ago (1 children)

thanks! 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
[–] eager_eagle@lemmy.world 9 points 9 hours ago* (last edited 9 hours ago)

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}'