Skip to contentSkip to conversation

memory usage

DISCUSSION Jiu Zheng 1 participant 1 message Jun 28, 1999 Memory management

lore
Share & tools
lore

Jiu Zheng

author
#0 lore raw

I have some questions about memory usage:

If you type cat /proc/meminfo, you can see the following messages,

total: used: free: shared:

buffers:     cached:
Mem:  15015936 10260480   4755456  6352896  1523712  6025216
Swap: 98697216          4096 98693120
MemTotal:     14664 kB
MemFree:       4644 kB
MemShared:     6204 kB
Buffers:       1488 kB
Cached:        5884 kB
SwapTotal:    96384 kB
SwapFree:     96380 kB

Can anybody explain what EXACTLY are shared, buffers, and cached? One can also get memory usage information of all processes by typing "ps aux".
Are the numbers (in "RSS" collomn?) having any relationship with those in /proc/meminfo ?

Thanks,

Jiu

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/