Physical and Free mem on TOP command

Hi,

When I run the free command on solaris, I get the following:
"Memory: 60G phys mem, 69G free mem"

Q: how cna the free mem be higher then the physical mem?:confused:

Amit

perhaps it adds swap/virtual RAM

Don't use top on Solaris. It is not delivered with the OS and might report bogus or inaccurate data.

Use vmstat 2 2 to get free virtual and physical memory.
Use prstat -Z to get per process and global memory usage.
Use pmap -x pid to get detailed memory usage for a single process.
Use echo ::memstat | mdb -k to get RAM usage.
Use swap -s to get virtual memory usage.

2 Likes

I'm trying to help one of my DBA's understand this. Do you have an Oracle reference to why 'TOP' isn't a good idea?