Operating System - HP-UX
1835085 Members
2530 Online
110073 Solutions
New Discussion

top command output -- memory usage

 
ezhilarasan_1
Occasional Advisor

top command output -- memory usage

Hi,

In Unix top command result, the memory usage and free is not clear to me.
I have attached the top command result of memory portion for our m/c
Please explain each value in this.
What is the figures in bracket and not in bracket ?
What is the last column value ( in this case 5465404K ) ?

Memory: 1430732K (811932K) real, 1511896K (1041452K) virtual, 5465404K free Page# 1/14

Thanks
R.Ezhil


3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: top command output -- memory usage

You might find swapinfo -tam

More useful.

real memory is RAM
Virtual memory is/includes swap

Hope that helps.

These utilties all have slightly different calculation methods, adding to confusion.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ken Penland_1
Trusted Contributor

Re: top command output -- memory usage

Yeah, I never use the memory info in top...alot of the time it just seems plain WRONG to me...either use swapinfo or dmesg to get your memory utilization :)
'
A. Clay Stephenson
Acclaimed Contributor

Re: top command output -- memory usage

Top's memory display is not wrong but rather you need to understand what it is. Top ONLY deals with process memory; it knows (or cares) nothing about physical memory or memory used for kernel data structures --- like buffer cache.
If it ain't broke, I can fix that.