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,

su sys -c "/usr/lib/sa/sadc /var/adm/sa/sa`date +%d`"

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.