Solaris Top Command

hi all

anyone can help me to enable top command on solaris 9 version

Regards

You might prefer to use "prstat", which has several features you won't find with top (and reciprocally ...).

hi jlliagre
thanks for your support
i use prstat command but i dont find how much physical memory is used by all the processes on the server , i think we can get this information from top command very clear how much memory in use and how physical memory is free

i will be glad if you help me in this

Best Regards

The physical memory used by the processes is shown in the RSS column.

You can see how much ram is used by all processes by using the "prstat -a" option.

You can display how much free RAM is available by looking at the vmstat "free" column.

By the way, while top is not part of Solaris, you can still download it from Solaris freeware repositories like sunfreeware.com or blastwave.org.

Hi Jlliagre

thanks i was wandering for this.

1)you mean if i add RSS column values i can get how much physical memory consumed

2)as you said from vmstat command the column free will give us free ram avabilable and what is column that swap indicate and this sizes are in kbytes??

Regards

This will give you the sum of physical memory used by the userland processes, not the overall sum of physical memory used. The kernel and other entities make use of RAM too.
If you want a detailed view of RAM usage, run this command:

echo "::memstat" | mdb -k

From the vmstat manual page:

               swap    available swap space (Kbytes)

               free    size of the free list (Kbytes)

You might look here.

http://http://www.sunfreeware.com/indexsparc9.html

@maooah
u can get it here I suppose

GDS - http://gd.tuwien.ac.at/platform/sun/solaris/freeware/intel/5.11/

if its intel arch, am using for solaris 10 and its working :b:

hi Jlliagre

from the output of this command the conclusion is 64% Physical RAM is free and remaining is utilized by other process( OS and other applications )

waiting for your reply
Regards

I would interpret these numbers slightly differently.

28% of your RAM is unused.
72% is used, including 36% which is immediately available should the need appears, the reason why it is also accounted as free by the command.

Your RAM consumption might double or even triple before pagination start to be noticeable, which means your system is currently far to be RAM bounded.