LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 08-17-2008, 07:03 AM   #16
maooah
Member
 
Registered: Dec 2007
Posts: 44

Original Poster
Rep: Reputation: 15

Hi kebabbert

my requirement is to
1)display how much total CPU resources used ,
2)physical RAM used by the all the processes (oracle,veritas, operating system etc)
3)how much swap space is and utlizied?

if the above things can be achevied by prstat please let me know how to use prstat with what option so that i can get my required information

and apart from this it will be helpful if you tell me any tool which can generate a report for resources being utilized from morning 9:00A.M--5:00P.M in order to have a close look at average resources is in used. my manager asked me to generate a report .

Regards

Last edited by maooah; 08-17-2008 at 07:05 AM.
 
Old 08-17-2008, 05:46 PM   #17
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
I'm not an expert in this field but I would give a look to sar, Solaris system activity reporter. You usually configure it to sample data periodically from the system and then you generate reports. Look at Solaris documentation. The short version (as I configured it):

Code:
# crontab -l sys
0,20,40 * * * * /usr/lib/sa/sa1
5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A
# svcadm enable sar
# svcs sar
STATE          STIME    FMRI
online         Aug_12   svc:/system/sar:default
You configure a cron job, in this case the user sys launches sa1 every 20 minutes every day of the week and sa2 from monday to friday at minute 5 and 18 of every hour (as you can notice I changed the default sys crontab).

Then, with the sar command, you can generate reports.

Hope this helps.
 
Old 08-17-2008, 07:43 PM   #18
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
This is the link to the relevant sar documentation:
http://docs.sun.com/app/docs/doc/817...nitor-8?a=view

Bye,
Enrico
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
top command Volcano Programming 18 10-15-2008 10:02 PM
Top command mtnpaul Linux - Software 2 04-17-2008 04:25 AM
Top Command swamprat Linux - Software 3 09-23-2007 02:08 AM
'N' lines of Top Command? DarkPenguin Linux - General 2 04-11-2006 11:05 AM
command top getting error bluenectar Linux - General 2 08-19-2005 09:37 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 06:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration