01-19-2011
Memory usage shown is high
Hello all,
I am facing a memory related issue on my linux that is CentOS 4.0. What I see as an output of top command, free command is that memory usage is almost 90% which is quite high without much load on the system. This is continuously showing 90% or so of memory usage with top or free command.
However, when look at the later part of the output of the top command that is for processes (and sort it by %MEM usage by typing interactive M) and I sum up for individual processes, it is hardly exceeding 15%. The sum of %MEM is about 13% for the top 5 or 6 processes and beyond the 6th process, %MEM displayed is 0 (0%).
How do we explain this anomaly ? If the memory usage reported by top and free is fine, how do I find where the memory is being used? Also, what is the perfect way to find how much actual physical memory is being used by the system ?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at?
Thanks,
Lorraine
last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
Discussion started by: lorrainenineill
4 Replies
2. AIX
Hi,
We have AIX 5.1 machine of RAM 8 GB and paging space is 8GB. we are getting high memory usage of almost 99%.Can anybody please help in this ?
Partial vmstat o/p
kthr memory
----- -----------
r b avm fre
2 1 278727 1143
There is no paging issue.Becoz in... (5 Replies)
Discussion started by: jayakumarrt
5 Replies
3. HP-UX
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)
Discussion started by: alert0919
3 Replies
4. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
5. AIX
hi,
I want to ask , my AIX 6.1 is always used about 97% memory.
Is this normal ?
or any command can free up memory like Linux ?
thanks. (1 Reply)
Discussion started by: virusxx
1 Replies
6. Shell Programming and Scripting
can any one please help me to shell script
high memory usage alert (6 Replies)
Discussion started by: robo
6 Replies
7. AIX
Hello All
I have a system running AIX 61 shared uncapped partition (with 11 physical processors, 24 Virtual 72GB of Memory) .
The output from NMON, vmstat show a high run queue (60+) for continous periods of time intervals, but NO paging, relatively low I/o (6000) , CPU % is 40, Low network.... (9 Replies)
Discussion started by: IL-Malti
9 Replies
8. Solaris
Hi Experts,
Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing.
Why memory utilization on solaris always looks high?
I have statement about memory on solaris, is this true:
Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies
9. Red Hat
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)
Discussion started by: Maddy123
3 Replies
10. UNIX for Advanced & Expert Users
Hi,
This morning there was an app that caused a sudden spike in I/O and memory usage in the server. We found the reason for the I/O, however the memory spike was something new, as it had never happened before.
I figured out what caused the memory spike, however, how do I investigate why... (6 Replies)
Discussion started by: anaigini45
6 Replies
LEARN ABOUT DEBIAN
systemd-cgtop
SYSTEMD-CGTOP(1) systemd-cgtop SYSTEMD-CGTOP(1)
NAME
systemd-cgtop - Show top control groups by their resource usage
SYNOPSIS
systemd-cgtop [OPTIONS...]
DESCRIPTION
systemd-cgtop shows the top control groups of the local Linux control group hierarchy, ordered by their CPU, memory and disk I/O load. The
display is refreshed in regular intervals (by default every 1s), similar in style to top(1).
Resource usage is only accounted for control groups in the relevant hierarchy, i.e. CPU usage is only accounted for control groups in the
cpuacct hierarchy, memory usage only for those in memory and disk I/O usage for those in blkio. systemd(1) by default places all services
in their own control group in the cpuacct hierarchy, but not in memory nor blkio. If resource monitoring for these resources is required it
is recommended to add blkio and memory to the DefaultControllers= setting in /etc/systemd/system.conf (see systemd.conf(5) for details).
Alternatively, it is possible to enable resource accounting individually for services, by making use of the ControlGroup= option in the
unit files (See systemd.exec(5) for details).
To emphasize this: unless blkio and memory are enabled for the services in question with either of the options suggested above no resource
accounting will be available for system services and the data shown by systemd-cgtop will be incomplete.
OPTIONS
The following options are understood:
-h, --help
Prints a short help text and exits.
-p
Order by control group path name.
-t
Order by number of tasks in control group (i.e. threads and processes).
-c
Order by CPU load.
-m
Order by memory usage.
-i
Order by disk I/O load.
-d, --delay=
Specify refresh delay in seconds (or if one of ms, us, min is specified as unit in this time unit).
--depth=
Maximum control group tree traversal depth. Specifies how deep systemd-cgtop shall traverse the control group hierarchies. If 0 is
specified only the root group is monitored, for 1 only the first level of control groups is monitored, and so on. Defaults to 2.
KEYS
systemd-cgtop is an interactive tool and may be controlled via user input using the following keys:
h
Shows a short help text.
SPACE
Immediately refresh output.
q
Terminate the program.
p, t, c, m, i
Change ordering of control groups by path, number of tasks, CPU load, memory usage resp. IO load.
+, -
Increase, resp. decrease refresh delay.
EXIT STATUS
On success 0 is returned, a non-zero failure code otherwise.
SEE ALSO
systemd(1), systemctl(1), systemd-cgls(1), top(1)
AUTHOR
Lennart Poettering <lennart@poettering.net>
Developer
systemd 10/07/2013 SYSTEMD-CGTOP(1)