HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to account for memory in Redhat Linux
Operating System - Linux
1829638
Members
1686
Online
109992
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
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
08-20-2007 01:17 AM
08-20-2007 01:17 AM
How to account for memory in Redhat Linux
Hello,
RH ES ver 3.5,
#free -m
total used free shared buffers cached
Mem: 6015 5984 30 0 270 3032
-/+ buffers/cache: 2681 3333
Swap: 4094 2439 1655
from this,
Total RAM = 6GB, used = 5.9GB,Free = 30MB
Memroy used by all processess
ps -aux|gawk '{print $4}'|awk '{print s+=$1}'
total %MEM = 51.3
from free -m it says only 30MB free, ps - aux shows, only 51.3 % is used, so
Where is the restof the memory ?
Thanks
ps -aux|gawk '{print $4}'|awk '{print s+=$1}'
RH ES ver 3.5,
#free -m
total used free shared buffers cached
Mem: 6015 5984 30 0 270 3032
-/+ buffers/cache: 2681 3333
Swap: 4094 2439 1655
from this,
Total RAM = 6GB, used = 5.9GB,Free = 30MB
Memroy used by all processess
ps -aux|gawk '{print $4}'|awk '{print s+=$1}'
total %MEM = 51.3
from free -m it says only 30MB free, ps - aux shows, only 51.3 % is used, so
Where is the restof the memory ?
Thanks
ps -aux|gawk '{print $4}'|awk '{print s+=$1}'
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 01:43 AM
08-20-2007 01:43 AM
Re: How to account for memory in Redhat Linux
Buffers and Cache.
Speeds up all your Disk IO.
Speeds up all your Disk IO.
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 02:55 AM
08-20-2007 02:55 AM
Re: How to account for memory in Redhat Linux
Linux dynamically manages the buffer cache.
It stores a lot of data read from the hard disk in RAM.
So total memory consumption = memory taken by process + memory given to caches
The amount of mem given to cache is dynamic i.e when you start a new process the buffer cache will be shrinked and new process will be given that memory.
This all is done to increase the speed of system.
It stores a lot of data read from the hard disk in RAM.
So total memory consumption = memory taken by process + memory given to caches
The amount of mem given to cache is dynamic i.e when you start a new process the buffer cache will be shrinked and new process will be given that memory.
This all is done to increase the speed of system.
abandon all hope, ye who enter here..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2007 04:12 AM
08-20-2007 04:12 AM
Re: How to account for memory in Redhat Linux
a similar thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1133779
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1133779
abandon all hope, ye who enter here..
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP