Solved

to find memory usage in solairs

Posted on 2008-10-01
5
851 Views
Last Modified: 2013-12-27
Hi,

I want to find the find the used and available physical memory and swap on a solaris machine on which top is not installed. I am not allowed to install anything on this system. Can I do it with prstat,sar etc..?
Thanks in advance.
0
Comment
Question by:conversekid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 13

Assisted Solution

by:Rowley
Rowley earned 100 total points
ID: 22613351
Check out:

http://docs.sun.com/app/docs/doc/816-5166/swap-1m?l=en&a=view
http://docs.sun.com/app/docs/doc/816-5166/vmstat-1m?l=en&a=view

You can also use some stuff from the dtrace toolkit (solaris 10 only)  to extract system info:

http://www.brendangregg.com/dtrace.html


0
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 400 total points
ID: 22613372
try

vmstat 5 5

and look at memory stat part

0
 
LVL 13

Assisted Solution

by:Rowley
Rowley earned 100 total points
ID: 22613417
prstat -a and -t are also a good ones to play with.
0
 
LVL 40

Accepted Solution

by:
omarfarid earned 400 total points
ID: 22613433
any reason why you can not install s/w especially if it is a standard tool?
0
 

Author Comment

by:conversekid
ID: 22615741
its an old production server and its preferred not to make any changes on the system
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

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…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

617 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