HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Need assistance on interpreting memory usage d...
Operating System - Linux
1827808
Members
13671
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2006 05:45 AM
11-07-2006 05:45 AM
Can someone give me more information about how to interpret how much memory I have un-used/available for applications on my Linux server?
"top" shows this (and appears that I don't have much free memory left):
Mem: 2055236k av, 2031852k used, 23384k free
"free" shows this:
total used free shared buffers cached
Mem: 2055236 2032884 22352 0 206704 1531700
-/+ buffers/cache: 294480 1760756
Swap: 4096532 0 4096532
"top" shows this (and appears that I don't have much free memory left):
Mem: 2055236k av, 2031852k used, 23384k free
"free" shows this:
total used free shared buffers cached
Mem: 2055236 2032884 22352 0 206704 1531700
-/+ buffers/cache: 294480 1760756
Swap: 4096532 0 4096532
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2006 05:52 AM
11-07-2006 05:52 AM
Solution
Normal, please see:
https://www.redhat.com/advice/tips/meminfo.html
Linux will always try to use all available memory, if not for applications, for buffers/cache.
From the output of free command, you can see how much memory is used as buffers/cache. So the memory used by your application is what you see in +/- buffers/cache.
https://www.redhat.com/advice/tips/meminfo.html
Linux will always try to use all available memory, if not for applications, for buffers/cache.
From the output of free command, you can see how much memory is used as buffers/cache. So the memory used by your application is what you see in +/- buffers/cache.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 09:37 AM
11-08-2006 09:37 AM
Re: Need assistance on interpreting memory usage data
One surprise to watch out for is that shared memory and tmpfs files are reported as part of the "Cached" total in /proc/meminfo and top. That can make it seem that there is a lot of pagecache in use and easily freed when much of that memory is actually shared memory or tmpfs files that would need to be swapped out to release their RAM. You can see the amount of system V shared memory in RAM using "ipcs -u". There is no easy way to see the amount of tmpfs RAM. The total amount in RAM and swap can be seeing looking at the output of "df".
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP