Solved

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

Posted on 2001-09-02
5
1,176 Views
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
0
Comment
Question by:frankf
  • 2
  • 2
5 Comments
 
LVL 1

Expert Comment

by:filiep
Comment Utility
Try the command: prtdiag -v
This is located in /usr/platform/sun4u/sbin
(if your architecture is a sun4u)

F.
0
 

Author Comment

by:frankf
Comment Utility
filiep,

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
0
 
LVL 1

Accepted Solution

by:
filiep earned 50 total points
Comment Utility
There is also a program called top which can be downloaded from www.sunfreeware.com

F.
0
 
LVL 2

Expert Comment

by:jonke
Comment Utility
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.
0
 

Author Comment

by:frankf
Comment Utility
thanks filiep

i downloaded the top from www.sunfreeware.com and have it installed

it is what I want

many thanks

frankf
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

771 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

12 Experts available now in Live!

Get 1:1 Help Now