is there a command to check the system physical/available memory

Posted on 2001-09-02
Last Modified: 2013-12-27
When I log on to the system GUI console, I can simply click on Sistem Info tab to check both the system physical and available memories.  But I just wonder how to get the same info from a telnet session.

uname does not show details like memory/CPU etc
Question by:frankf
  • 2
  • 2

Expert Comment

ID: 6449954
Try the command: prtdiag -v
This is located in /usr/platform/sun4u/sbin
(if your architecture is a sun4u)


Author Comment

ID: 6451761

thanks for your comment.  this utility (prtdiag) is good.  it shows some useful info like CPU speed and physical memory.  but it does not show available memory as system info does

Accepted Solution

filiep earned 50 total points
ID: 6452370
There is also a program called top which can be downloaded from


Expert Comment

ID: 6456785
vmstat will give you memory stats among other things.

Also swap -l will show you swap usage.

Be careful with these tho as they can be misleading. Solaris doesn't automatically free swap space up after it has been used. vmstat and swap -l will show swap in use - even if some of this 'used' swap space is okay to clear.

I suggest reading the vmstat man page.

If you can get top, as filep suggests this will be good. Nice easy to read format as well- it lists the top processes and there memory footprints on an individual basis. Great for sussing memory leaks etc.

Author Comment

ID: 6459662
thanks filiep

i downloaded the top from and have it installed

it is what I want

many thanks


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now