Solved

to find memory usage in solairs

Posted on 2008-10-01
5
850 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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 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.

710 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