I have been trying to figure out what is the total physical memory used from this output:
And what is the free memory available for the application or any programs.
The answer has to be in this format:
1. Physical Memory Used= xx.xx%
2. Physical Memry available= yy.yy%
Can any one answer this question please.,
DATA: (output of free command ) :
######
OS=Suse Linux 11.
I figured this means the Memory Usage= used/total * 100 = 98.3%
- Since The Usage (in sar) showing 98.45% it is high time to wake up and to be alert.
Since this is closed to full capacity, and things can start breaking if not paid enough attention to the usage.
# from sar -r : What I am seeing is below:
-So I am trying to ask the experts what is the opinion about it , and if one can answer in a simple answer to this question: (Descriptive answer is welcome but I also want answer to 1. & 2.
I have a feeling like this is not real usage, so checking with linux experts.,
Short answer is, "cached" counts as some more "free". unused = free + cache.
So don't panic when you see "0% free"! There have been Linux admins who have rebooted their servers daily to 'clean the cache' until they realized that cache counts as free.
The reason cache is counted separately is because cache is important. You want there to be plenty of cache. If you have so many things running that you have no room for cache, that's bad.
Last edited by Corona688; 07-25-2013 at 07:46 PM..
IMHO the Linux memory strategy is overdone.
A Linux box that does continuous I/O will fill all memory with cache data, and indeed becomes unresponsive (i.e. starting a new process is slow).
Other OS like HP-UX have a tunable percentage of memory that is used for caching.
IMHO the Linux memory strategy is overdone.
A Linux box that does continuous I/O will fill all memory with cache data, and indeed becomes unresponsive (i.e. starting a new process is slow).
Other OS like HP-UX have a tunable percentage of memory that is used for caching.
Really? I think you need to back that up with something we can all look at.
I'm not saying there isn't a problem. But since you are putting up HP-UX as (implied) a system done "right"... I think you should help supply something that illustrates the problem you are seeing.
I'm not saying there isn't a problem. But since you are putting up HP-UX as (implied) a system done "right"... I think you should help supply something that illustrates the problem you are seeing.
I agree with MIG that it'd be a useful feature. I have seen situations in Linux where a short-running program which does a lot of I/O turfs out all the 'good' cache with data that's not going to be needed again; the system takes a little bit to recover and get frequently-used things back in memory. This isn't a Linux problem, it's a problem with the LRU algorithm in general, 'recently used' is not always a good benchmark for which things to keep.
kctune | awk 'NR==1 || /^dbc/'
The values are tuned down on this DB server.
AFAIR the defaults are dbc_min_pct=10 and dbc_max_pct=50
On an NFS server, you would increase the dbc_max_pct (to 90), in order to get near the Linux behavior that is ideal for NFS servers.
Hello
We are in the process of migrating few of our applications in our linux boxes to new linux box to streamline our applications . In this context , i would like to know how we can calculate a particular application is used .?
This data will then be used to select which applications need... (7 Replies)
Hi ,
There is one following alert .
Message : cdm:Average (2 samples) swap memory usage is now 91%, which is above the warning threshold (90%)
Here is my findings.
Output of TOP command in Linux server.
top - 14:21:44 up 6 days, 4:48, 1 user, load average: 2.55, 2.06,... (3 Replies)
ok, so i'm trying to write a shell script (not perl) that monitors memory usage on a server. but i'm confused as to what fields exactly determines that yes, memory is low on a particular server.
it sounds simple enough, but it really isn't. what do I look for in the field below?
... (1 Reply)
Hi,
I have AIX 5.3TL8 two node cluster using HACMP and have 10g database using RAW devices. I am seeing gradual increase in comp% memory everyday and it reaches 100% and evicts the node, we had 4 evictions in 40days.
I am pasting vmstat and vmo output, anyone seen this issue?
... (5 Replies)
Hi ,
As I am new to Linux server, I am facing some doubts like: On linux server virtual memory usage goes to 99%, but I have Threshold limit of 95%. So it crossed the threshold limit and alarmd.
Yesterday I moniterd the server using TOP command, and found some of Tibco process was consuming... (4 Replies)
Hi ,
As I am new to Linux server, I am facing some doubts like: On linux server virtual memory usage goes to 99%, but I have Threshold limit of 95%. So it crossed the threshold limit and alarmd.
Yesterday I moniterd the server using TOP command, and found some of Tibco process was consuming... (1 Reply)
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Hi All,
I am trying to find the physical memory usage by each process/users.
Can you please let me know how to get the memory usage?.
Thanks,
bsraj. (12 Replies)
What's the best way to find out how much memory is being used/available? I tried using free, but I didn't quite understand the output. Can someone explain it?
$ free
total used free shared buffers cached
Mem: 16304536 16256376 48160 0 ... (6 Replies)