Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

to find memory usage in solairs

Posted on 2008-10-01
5
Medium Priority
?
856 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 400 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 1600 total points
ID: 22613372
try

vmstat 5 5

and look at memory stat part

0
 
LVL 13

Assisted Solution

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

Accepted Solution

by:
omarfarid earned 1600 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

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…
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

963 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