How is "Available" calculated for tmpfs?

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content