Sponsored Content
Operating Systems Linux Red Hat Memory Reprentation Mismatch In TOP Post 302559382 by ajaincv on Tuesday 27th of September 2011 02:41:13 AM
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..
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
FREE(1)                                                            User Commands                                                           FREE(1)

NAME
free - Display amount of free and used memory in the system SYNOPSIS
free [options] DESCRIPTION
free displays the total amount of free and used physical and swap memory in the system, as well as the buffers and caches used by the ker- nel. The information is gathered by parsing /proc/meminfo. The displayed columns are: total Total installed memory (MemTotal and SwapTotal in /proc/meminfo) used Used memory (calculated as total - free - buffers - cache) free Unused memory (MemFree and SwapFree in /proc/meminfo) shared Memory used (mostly) by tmpfs (Shmem in /proc/meminfo) buffers Memory used by kernel buffers (Buffers in /proc/meminfo) cache Memory used by the page cache and slabs (Cached and SReclaimable in /proc/meminfo) buff/cache Sum of buffers and cache available Estimation of how much memory is available for starting new applications, without swapping. Unlike the data provided by the cache or free fields, this field takes into account page cache and also that not all reclaimable memory slabs will be reclaimed due to items being in use (MemAvailable in /proc/meminfo, available on kernels 3.14, emulated on kernels 2.6.27+, otherwise the same as free) OPTIONS
-b, --bytes Display the amount of memory in bytes. -k, --kibi Display the amount of memory in kibibytes. This is the default. -m, --mebi Display the amount of memory in mebibytes. -g, --gibi Display the amount of memory in gibibytes. --tebi Display the amount of memory in tebibytes. --pebi Display the amount of memory in pebibytes. --kilo Display the amount of memory in kilobytes. Implies --si. --mega Display the amount of memory in megabytes. Implies --si. --giga Display the amount of memory in gigabytes. Implies --si. --tera Display the amount of memory in terabytes. Implies --si. --peta Display the amount of memory in petabytes. Implies --si. -h, --human Show all output fields automatically scaled to shortest three digit unit and display the units of print out. Following units are used. B = bytes K = kibibyte M = mebibyte G = gibibyte T = tebibyte P = pebibyte If unit is missing, and you have exbibyte of RAM or swap, the number is in tebibytes and columns might not be aligned with header. -w, --wide Switch to the wide mode. The wide mode produces lines longer than 80 characters. In this mode buffers and cache are reported in two separate columns. -c, --count count Display the result count times. Requires the -s option. -l, --lohi Show detailed low and high memory statistics. -s, --seconds delay Continuously display the result delay seconds apart. You may actually specify any floating point number for delay using either . or , for decimal point. usleep(3) is used for microsecond resolution delay times. --si Use kilo, mega, giga etc (power of 1000) instead of kibi, mebi, gibi (power of 1024). -t, --total Display a line showing the column totals. --help Print help. -V, --version Display version information. FILES
/proc/meminfo memory information BUGS
The value for the shared column is not available from kernels before 2.6.32 and is displayed as zero. Please send bug reports to <procps@freelists.org> SEE ALSO
ps(1), slabtop(1), top(1), vmstat(8). procps-ng 2016-06-03 FREE(1)
All times are GMT -4. The time now is 06:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy