I just wanted to thank everyone...and there was a lot, that responded. Your info was useful and I got SAR running. Thought I would just compile info out of the responses and pass it on down the line. SAR not running: ...........check the following Make sure lines in the SYS crontab are uncommented. (don't edit the crontab file under /var/spool/cron/crontabs) # crontab -l sys #ident "@(#)sys 1.5 92/07/14 SMI" /* SVr4.0 1.2 */ # The sys crontab should be used to do performance collection. See cron # and performance manual pages for details on startup. 0 * * * 0-6 /usr/lib/sa/sa1 20,40 8-17 * * 1-5 /usr/lib/sa/sa1 5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A Go to /var/adm and make sure your sa file permissions look like this: drwxrwxr-x 2 adm sys 512 Dec 12 00:00 sa Make sure your SYS in the /etc/passwd looks something like this: sys:x:3:3::/: (keep an eye out for something like a noshell) Make sure the sys user entry in the /etc/shadow file contain the string "NP" not *LK*. Check your perf file: # pwd /etc/init.d # cat perf #!/sbin/sh # Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T. # All rights reserved. # THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T # The copyright notice above does not evidence any # actual or intended publication of such source code. # Copyright (c) 1997 by Sun Microsystems, Inc. # All rights reserved. #ident "@(#)perf.sh 1.7 97/12/08 SMI" # Uncomment the following lines to enable system activity data gathering. if [ -z "$_INIT_RUN_LEVEL" ]; then set -- `/usr/bin/who -r` _INIT_RUN_LEVEL="$7" _INIT_RUN_NPREV="$8" _INIT_PREV_LEVEL="$9" fi if [ $_INIT_RUN_LEVEL -ge 2 -a $_INIT_RUN_LEVEL -le 4 -a \ $_INIT_RUN_NPREV -eq 0 -a \( $_INIT_PREV_LEVEL = 1 -o \ $_INIT_PREV_LEVEL = S \) ]; then /usr/bin/su sys -c "/usr/lib/sa/sadc /var/adm/sa/sa`date +%d`" .....then do a ./perf start Go to your /usr/lib/sa and make sure they look something like this: # cd /usr/lib/sa # ls -la total 54 drwxrwxr-x 2 adm bin 512 Jul 3 2002 . drwxr-xr-x 62 root bin 13312 Jun 8 2003 .. -r-xr-xr-x 1 bin bin 492 Jan 5 2000 sa1 -r-xr-xr-x 1 bin bin 555 Jan 5 2000 sa2 -r-xr-xr-x 1 bin bin 10508 Nov 2 2001 sadc John Kompare Unix System Administrator (USA) McKesson Technology Services (MTS) 700 Locust St., IADU - 9 Dubuque, IA-52001 Tel: 563-557-3904 Fax: 563-557-2965 Web: <http://www.mckesson.com/> http://www.mckesson.com/ Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Fri Dec 12 12:45:06 2003
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:25 EST