May 1, 2006 #1 xyz786 IS-IT--Management Joined Apr 5, 2006 Messages 45 Location US Hello All, How can I set SAR to keep 30 days worth of data in AIX? Is there any entry in crontab to change to get this work. Any suggestions? Thanks
Hello All, How can I set SAR to keep 30 days worth of data in AIX? Is there any entry in crontab to change to get this work. Any suggestions? Thanks
May 1, 2006 #2 hirschaj MIS Joined May 19, 2005 Messages 350 Location US Uncomment these lines from the adm users crontab... Code: #0 8-17 * * 1-5 /usr/lib/sa/sa1 1200 3 & #0 * * * 0,6 /usr/lib/sa/sa1 & #0 18-7 * * 1-5 /usr/lib/sa/sa1 & #5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 3600 -ubcwyaqvm & Modify them as needed and you will have 1 month of sar history available. Jim Hirschauer http://www.aixexpert.com Upvote 0 Downvote
Uncomment these lines from the adm users crontab... Code: #0 8-17 * * 1-5 /usr/lib/sa/sa1 1200 3 & #0 * * * 0,6 /usr/lib/sa/sa1 & #0 18-7 * * 1-5 /usr/lib/sa/sa1 & #5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 3600 -ubcwyaqvm & Modify them as needed and you will have 1 month of sar history available. Jim Hirschauer http://www.aixexpert.com
May 2, 2006 Thread starter #3 xyz786 IS-IT--Management Joined Apr 5, 2006 Messages 45 Location US Thanks Jim.. Upvote 0 Downvote