How is "Available" calculated for tmpfs?
Issue
-
How available /tmp is calculated
-
/tmp should 950m free and MemFree only shows 642M free. We would like to know how free space in /tmp is calculated base on the free memory.
# more /proc/meminfo
MemTotal: 264494360 kB
MemFree: 642216 kB
...
# df /tmp
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 2097152 1147068 950084 55% /tmp
Environment
- Red Hat Enterprise Linux [ALL]
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.