Solved

to find memory usage in solairs

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

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…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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.
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.

830 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