vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| The rudimenteray version of what you are asking for on any Unix server including AIX is the System Activity Reports. Log in as user adm and edit the crontab (scheduled job list for that user) / # su - adm /var/adm $ crontab -e *** uncomment the lines with the job parameters #================================================= ================ # SYSTEM ACTIVITY REPORTS # 8am-5pm activity reports every 20 mins during weekdays. # activity reports every an hour on Saturday and Sunday. # 6pm-7am activity reports every an hour during weekdays. # Daily summary prepared at 18:05. #================================================= ================ 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 & Once you've done this you can run sar without parameters and get your current day like so... /var/adm $ sar AIX ibmunix 1 5 0004663A4C00 07/04/03 00:00:00 %usr %sys %wio %idle 01:00:01 8 2 0 90 02:00:00 7 2 1 90 03:00:01 9 2 0 89 04:00:00 9 1 0 89 05:00:03 4 3 44 49 06:00:03 4 5 27 64 07:00:00 3 2 49 46 08:00:01 2 1 48 48 .. .. .. Or you can run it for another day during the month. (they are overwritten in a circular fashion) /var/adm $ sar -f /var/adm/sa/sa03 AIX ibmunix 1 5 0004663A4C00 07/03/03 00:00:00 %usr %sys %wio %idle 01:00:01 13 2 1 84 02:00:00 16 3 3 79 03:00:01 13 2 2 82 04:00:00 11 2 2 85 05:00:04 9 4 43 44 06:00:01 7 4 6 84 .. .. .. The jobs run in cron keep binary information on the performance. This can come in usefull for building a load profile. regards, Greg. On Sat, 17 May 2003 10:02:14 -0500, "B Fisher" <none@antispamming.com> wrote: >All, > >I am rather new to unix and AIX but not to real computers. (PS: Any VMS >people can really help here.) I am looking for a way to monitor performance >of my AIX box (v5.1) over time. I have run topas but it shows instantaneous >values (depending on the -i value). What I would really like is a utility >to run "as batch or background" continuously and sample performance data any >put in a file for later review. I don't want to have to parse the file, >just read it into a program and see results over various times. > >A VMS example might help since that is my major area - sorry in advance to >the non-VMS people: I can run the "topas" like program on VMS (called >monitor), and write the output to a binary file (not screen grabs), then >later run monitor and provide the file as input and a start/end date and >time, interval ... and review how my system was doing. This comes with the >operating system. > >Any recommendations? > >TIA |