The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
c89-Issue vasanthan HP-UX 0 05-16-2008 08:30 AM
Unix Arithmatic operation issue , datatype issue thambi Shell Programming and Scripting 23 02-19-2008 07:19 AM
sh and csh issue mpc8250 Shell Programming and Scripting 2 02-10-2008 08:59 AM
ftp issue ravi raj kumar Shell Programming and Scripting 5 02-06-2008 08:24 AM
VPN Issue silvaman IP Networking 0 03-02-2004 07:18 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-28-2009
lbreddy lbreddy is offline
Registered User
  
 

Join Date: Mar 2008
Location: bangalore
Posts: 23
Sar Issue

Dear All,

I had added these lines in crontab.

0 * * * 0-6 /usr/lib/sa/sa1
00,15,30,45 * * * 0-6 /usr/lib/sa/sa1
5 18 * * 0-6 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A

After adding these lines I have to get sar file.

But here I am not getting any files in /var/adm/sa directory in one of my SUN server.

But other servers i am getting files like sa28 (sa$date) file.

Please send me the solution what I need to do and where i have to change the settings?

Thanks and Regards,
  #2 (permalink)  
Old 01-28-2009
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,120
su sys -c "/usr/lib/sa/sadc /var/adm/sa/sa`date +%d`"
  #3 (permalink)  
Old 01-28-2009
hegemaro hegemaro is offline
Registered User
  
 

Join Date: Feb 2006
Location: Schenectady, NY
Posts: 134
You need to uncomment all of the code lines in /etc/rc2.d/S21perf. Then execute the script. I've missed this step many times myself.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:41 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0