Thursday, April 3, 2008

AIX Performance Tools

Cpu Bottlenecks
#tprof -x sleep 60
#more sleep.prof (aix 5.3) or #more __prof.all (aix 5.2)


Memory Bottlenecks
global report
#svmon -G
top 3 users of memory
#svmon -Pt 3

I/O Bottlenecks
start monitoring disk activity
# filemon -o fmout
stop monitoring and create report
#trcstop
to see the report
#more fmout

To break it down further, seeing individual files
#filemon -O all -o fmout

No comments:

UNIX: How to print column nicely using printf

[user@hostfwnms1-oam tmp]# cat b.sh printf "%-26s %-19s %-8s %-8s %-s %-s\n" HOSTNAME IP PING SNMPWALK 0-ok 1-fail for i in `cat n...