Memory Reprentation Mismatch In TOP

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Memory Reprentation Mismatch In TOP
# 1  
Old 09-27-2011
Memory Reprentation Mismatch In TOP

Hi All

I have server of Redhat Enterprise Linux 6.1 with the below configuration

OS: RHEL 6.1
Kernel:2.6.32-131.0.15.el6.x86_64
SOCKET:1
CPU:6
Memory 12 GB

I am running a tool & after that when i run top command i see the below output.

Code:
 
Tasks: 241 total, 2 running, 239 sleeping, 0 stopped, 0 zombie
Cpu(s): 45.1%us, 3.6%sy, 0.0%ni, 10.6%id, 40.6%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 12331548k total, 12178896k used, 152652k free, 228k buffers
Swap: 6301688k total, 3239180k used, 3062508k free, 9968k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3061 sudhirj 20 0 7017m 3.7g 1540 D 96.7 31.3 3:40.54 encounter
3062 sudhirj 20 0 6942m 3.7g 1540 D 73.1 31.2 3:33.81 encounter
3058 sudhirj 20 0 7023m 3.7g 1540 D 40.5 31.5 3:40.29 encounter
3060 sudhirj 20 0 6966m 3.6g 1536 R 37.9 31.0 3:43.17 encounter
3059 sudhirj 20 0 6985m 3.7g 1540 D 17.3 31.5 3:35.93 encounter
78 root 20 0 0 0 0 S 15.6 0.0 0:51.42 kswapd0
3057 sudhirj 20 0 6989m 3.7g 1512 D 11.6 31.1 3:43.65 encounter

Total RAM on Server is 12 GB & if i m calculating RES then its showing 22 GB 3.7 for each thread & total 6 threads. Can any one let me know why its showing viered output.Is it a bug in OS.

Regards

Ankit[/SIZE]

Last edited by pludi; 09-27-2011 at 04:35 AM..
# 2  
Old 09-27-2011
Looking at your screen shot, it appears you are using up most of the 12GB of memory and also you are using 3GB of swap space.

As for the other 7GB i would hazard a guess that it is including shared memory in the Resident size column hence whatever is being shared is getting listed 6 times over, but thats only a guess.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Kill top 5 memory uses process

Hi All, how to kill 5 top memory used process in my hp-ux. Thanks, Kki (9 Replies)
Discussion started by: kki
9 Replies

2. UNIX for Advanced & Expert Users

Solaris memory reported incorrectly by top

Hi guys, I got an issue today with one of my servers. The guy is reporting by top only 1.8 available Gig for physical memory. I see my processes and they don't even get to 15Gigs, I have 64 physical Gigs. Details Memory: 64G phys mem, 1820M free mem, 32G total swap, 32G free swap I have... (4 Replies)
Discussion started by: ocramas
4 Replies

3. Linux

Unkown memory usage, top doesn't know

Hi, Yersterday I started monitoring my homeserver memory consumition due some errors found in the system (network hangs). I've detected almost all the memory used (~10 MB free from 1GB). First I thought it was because of the MySQL configuration, so I monitored it with top and found it wasn't... (6 Replies)
Discussion started by: nefeli
6 Replies

4. Solaris

HELP - memory usage on Solaris : ps -efl and top

Hi all, OS Version: SunOS <hostname> 5.10 Generic_142900-13 sun4v sparc SUNW,Sun-Blade-T6340 I need some expert guidance on investigating memory usage on Solaris. I want to know whether am interpreting the output from ps -efl correctly and whether the command top is showing the right... (3 Replies)
Discussion started by: newbie_01
3 Replies

5. Solaris

Free memory in top and prstat command

Hi Export, i execute 'top' command to show the free memory in Solaris host, but the read is much lower than the RSS value shown in prstat command. Which one can reflect the real status and it is possible the difference caused by any patch of OS? Top command (only 883 memory is free)... (3 Replies)
Discussion started by: eiga
3 Replies

6. AIX

Need a list of top 10 CPU using processes (also top 10 memory hogs, separately)

Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies

7. Shell Programming and Scripting

how can i extract only the Memory line from top command ?

Hello all i need in csh to extract only the Memory line from the out put of the top command how can it easily done (1 Reply)
Discussion started by: umen
1 Replies

8. UNIX for Dummies Questions & Answers

How to get system memory usage like top

Hello all im working on sunos machine that dont have the top installed and can't be install , now i need to get information similar to what top gives me about the cpu usage and so can it be done somehow else where ? (3 Replies)
Discussion started by: umen
3 Replies

9. Solaris

Top and Prstat display different results for memory

I have a question about the accuracy of prstat. I did a 'prstat -t' and it shows 99% of my memory is occupied by oracle. NPROC USERNAME SIZE RSS MEMORY TIME CPU 194 oracle 343G 340G 99% 86:17.24 56% However, 'top' shows I still have 7762meg of memory free. Memory: 16G real, 7762M... (4 Replies)
Discussion started by: zen03
4 Replies

10. UNIX for Advanced & Expert Users

unix top command (memory usage)

in unix when i use top i get an output like this: load averages: 0.64, 0.57, 0.53 14:04:42 347 processes: 1 running, 1 waiting, 169 sleeping, 172 idle, 4 stopped CPU states: 16.4% user, 2.8% nice, 7.6%... (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies
Login or Register to Ask a Question