LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-13-2011, 04:37 PM   #1
gadhave.vikas
LQ Newbie
 
Registered: May 2009
Location: Navi Mumbai (Maharashtra)
Distribution: Dont Know
Posts: 22

Rep: Reputation: 0
how to enable sar report


Hi team,

how can i enable sar report on solaris 10 system.

i need the report should genrate every day for 5 hr's start from 1 to 5 am.

Regards,
Vikas
 
Old 05-13-2011, 05:26 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by gadhave.vikas View Post
Hi team,
how can i enable sar report on solaris 10 system. i need the report should genrate every day for 5 hr's start from 1 to 5 am.
Read the man pages for the "sar" and "crontab" commands. Put the sar command (with the appropriate options), in a shell script, and use cron to run it each day at 1 AM.
 
Old 05-16-2011, 10:24 AM   #3
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
I have the following in the sys users crontab:

0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/lib/sa/sa1
45 23 * * * /usr/lib/sa/sa2 -s 0:00 -e 23:59 -i 1200 -A
 
1 members found this post helpful.
  


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
Need the meaning of outch/s in sar report pskumar Solaris / OpenSolaris 4 09-15-2010 06:00 AM
Issue with sar report pskumar Solaris / OpenSolaris 4 07-22-2010 01:17 PM
LXer: LD Port Report 1.12 update, Can now Follow CDP neighbors during the report opti LXer Syndicated Linux News 0 09-18-2009 01:11 PM
sar report is showing %idle as zero b_rahulkumar Linux - Newbie 0 02-11-2009 12:34 PM
sar report mokku Linux - Newbie 2 08-14-2008 01:11 PM

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

All times are GMT -5. The time now is 06:42 PM.

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