• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1201
  • Last Modified:

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

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
frankf
Asked:
frankf
  • 2
  • 2
1 Solution
 
filiepCommented:
Try the command: prtdiag -v
This is located in /usr/platform/sun4u/sbin
(if your architecture is a sun4u)

F.
0
 
frankfAuthor Commented:
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
 
filiepCommented:
There is also a program called top which can be downloaded from www.sunfreeware.com

F.
0
 
jonkeCommented:
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
 
frankfAuthor Commented:
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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now