1 / 31

Parm V6.1 Performance Analysis Report Maker overview

Parm V6.1 Performance Analysis Report Maker overview. http://www.junsoft.com. Doc Rev: 2.0.

erelah
Download Presentation

Parm V6.1 Performance Analysis Report Maker overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Parm V6.1Performance Analysis Report Makeroverview http://www.junsoft.com Doc Rev: 2.0

  2. Contents 1. Installation 2. getdata & mkrep.sh 3. gsar 4. psinfo 5. jtop 6. ParmView 7. ParmClient 8. Real-time Monitoring Tool 9. mkgraph10. dolog11. tcpmon –T12. netmon –T13. gwserv

  3. - Installation Download: http://www.junsoft.com [download]License: http://www.junsoft.com [license] (30 days demo license available)Manual: http://www.junsoft.com/doc/parm http://server:9900/doc (If setting up ParmView) /opt/Jspasrm/htmldoc/index.html Installation: # pkgadd -d parm.V6.1.pkg

  4. - getdata & mkrep.sh (1) # getdata -i 30 -t 4Start to gather system info: interval 30 seconds, time: 4Collecting data: vmstat iostat netstat mpstatData directory: ./data.20010608.093000.30# cd data.20010608.093000.30# mkrep.sh simple JunsoftTop web page is index_simple.html# gwservgwserv is started on port 8008 http://server:8008/index_simple.html

  5. - getdata & mkrep.sh (2)

  6. - getdata & mkrep.sh (3) # getdata -G vminp -A -i 30 -t 4 p: include psinfo command -A: gather information of all processes from psinfo command # mkrep.sh -N -G cpu,swap,free,rw/s,Krw/s,pkt custom JunsoftTop web page is index_custom.html

  7. - getdata & mkrep.sh (4)

  8. - gsar (1) sar_index.html

  9. - gsar (2)

  10. - gsar (3)

  11. - gsar (4)

  12. - psinfo (1)

  13. - psinfo (2)

  14. - psinfo (3) # psinfo -M wcpu=70,hs=40 60Date.time PID PPID USERNAME SIZE RSS HP+STK S NLWP WCPU% CPU% MEM% ELAPSED TIME CMDLINE0421.09:54:20 1652 1646 guest 28.93M 22.04M 13.71M S 1 72.35% 82.35% 18.0% 0d520 01:50.02 a.out0421.09:55:40 1652 1646 guest 28.93M 22.04M 13.71M S 1 74.05% 84.05% 18.0% 0d580 02:30.23 a.out # mkdir /pslog# ln -s /pslog /opt/Jsparm/parmview/pslog 0 0 * * * /opt/JSparm/bin/psinfo_dailymon /pslog wcpu=70,hs=40 60 1440 * * * * * /opt/JSparm/bin/psinfo_dailymon /pslog wcpu=70,hs=40 http://server:9900/pslog

  15. - psinfo (4) # psinfo -A 60 100 > psinfo-A.log# psparse pspinfo-A.log... skip ...# psparse -h pspinfo-A.log... skip ...# psparse -S pspinfo-A.log... skip ...# psparse -M wcpu=70,hs=200 pspinfo-A.log... skip ... # gpsinfo -t 090000 -i 30 psinfo-A.log # getdata -G vminp -A -i 39 -t 4 p: include psinfo command -A: gather information of all processes from psinfo command

  16. - psinfo (5) D-ALL 4.93 [ 98.60% ] (D-TIME 2.96 D-CHILD 1.97) 4.93 / 5.00 * 100 = 98.60% (5 second interval) senddata: 2.80 / 5.00 * 100 = 56.00% test: 1.98 / 5.00 * 100 = 39.60% # psparse -D psinfo-A.logDate.time 0609.04:36:22 proc 72 lwp 145 cpu 17.46% hp+stk 46.35M : D-ALL 4.93 [ 98.60% ] (D-TIME 2.96 D-CHILD 1.97) PID PPID USER HP+STK D-WCPU% D-CPU% ELAPSED D-TIME D-CHILD CMDLINE 2172 2171 guest 3.109M 56.00% 56.00% 0d3 2.80 0.00 senddata -p axbi 2162 426 guest 0.344M 39.60% 39.60% 0d6 0.01 1.97 test 288 283 guest 9.227M 1.20% 1.20% 0d23708 0.06 0.00 rcvdata -p axbi 2154 830 root 0.117M 0.60% 0.60% 0d15 0.03 0.00 psinfo -A 5 20 2150 449 guest 0.117M 0.40% 0.40% 0d49 0.02 0.00 psinfo -H 2 1000 2170 2162 guest 0.023M 0.40% 0.40% 0d3 0.02 0.00 viewer xx.txt 2171 2170 guest 0.039M 0.40% 0.40% 0d3 0.02 0.00 sendcmd ... skip ... # psinfo -A 5 2 | psparse -D - Date.time 0609.04:36:17 proc 72 lwp 145 cpu 8.52% hp+stk 44.27M : D-ALL 1.82 [ 36.40% ] (D-TIME 1.42 D-CHILD 0.40) PID PPID USER HP+STK D-WCPU% D-CPU% ELAPSED D-TIME D-CHILD CMDLINE 2169 2168 guest 1.031M 13.00% 13.00% 0d1 0.65 0.00 senddata -p axbi 426 408 guest 0.055M 7.20% 7.20% 0d23654 0.02 0.34 /usr/bin/ksh 288 283 guest 9.227M 7.00% 7.00% 0d23703 0.35 0.00 rcvdata -p axbi 2162 426 guest 0.336M 3.40% 3.40% 0d1 0.11 0.06 test 388 381 guest 1.625M 3.00% 3.00% 0d23671 0.15 0.00 dtwm 408 381 guest 9.766M 0.80% 0.80% 0d23657 0.04 0.00 senddata 2150 449 guest 0.117M 0.60% 0.60% 0d44 0.03 0.00 psinfo -H 2 1000 2154 830 root 0.117M 0.60% 0.60% 0d10 0.03 0.00 psinfo -A 5 20 2167 2162 guest 0.023M 0.40% 0.40% 0d1 0.02 0.00 moniter 2168 2167 guest 0.039M 0.40% 0.40% 0d1 0.02 0.00 call 128102 23

  17. - psinfo (6) # psparse -X psinfo-A.logDate.time 0609.04:36:07 proc 68 zomb 0 run 0 lwp 141 cpu 2.47% load1m 0.19 ptime 2801.20 hp+stk 42.84MPID : CMDLINE157 : /usr/lib/autofs/automountd191 : /usr/sbin/nscd151 : /usr/sbin/inetd -s 382 : rpc.ttdbserverd 421 : rpc.rstatd171 : /usr/sbin/cron170 : /usr/sbin/syslogd221 : /usr/lib/power/powerd240 : /usr/sbin/vold268 : /usr/lib/snmp/snmpdx -y -c /etc/snmp/conf 287 : mibiisa -r -p 32792233 : /opt/JSparm/bin/parmagent235 : /opt/JSparm/bin/gwserv -Bc /etc/parmclient.conf291 : /usr/openwin/bin/fbconsole -d :0281 : /usr/lib/saf/ttymon -g -h -p king console login: -T sun -d /dev/console -l con274 : /usr/lib/dmi/dmispd283 : /usr/dt/bin/dtlogin -daemon 288 : /usr/openwin/bin/Xsun :0 -nobanner -auth /var/dt/A:0-BEayJa 289 : /usr/dt/bin/dtlogin -daemon 309 : /bin/ksh /usr/dt/bin/Xsession 338 : /usr/openwin/bin/htt -nosm 342 : htt_server -nosm -h -lc_basiclocale ko 343 : htt_props -nosm -lc_basiclocale ko 347 : /usr/java/bin/sparc/native_threads/java -classpath /usr/dt/appconfig/hotjava/cl 319 : /usr/openwin/bin/fbconsole 361 : /usr/dt/bin/sdt_shell -c unset DT; DISPLAY=:0; /usr/dt/bin/dt 363 : -ksh -c unset DT; DISPLAY=:0; /usr/dt/bin/dtsession_res -merg 381 : /usr/dt/bin/dtsession... skip ...

  18. - jtop

  19. - ParmView (1) # cd /opt/JSparm/etc# cp parmview.conf /etc# sh /etc/rc2.d/S31mmon startmmon[2033] is startedgwserv[2035] is started on port 9900 ---------------- Data Info ----------------------Directory: /opt/Jsparm/dbspace Name: mdb-yyyy.mm Size: about 5.3MB http://server:9900

  20. - ParmView (2)

  21. - ParmClient # cd /opt/JSparm/etc# cp parmclient.conf /etc# sh /etc/rc2.d/S90parmagent startparmagent[2042] is started on port 9810gwserv[2044] is started on port 9800 http://server:9800

  22. - Real-time Monitoring Tool

  23. - mkgraph (1) mkgraph [options] file Options are as follows: -? print this help -0 zero based graph -A use the line which is starting with character, as data -B bar graph -b draw border line -c config file which has the selected field -C bg:c1 colors of the graph, colors must be 6 hex digits: bg: background color, def: ffffff c1: foreground color1, def: 0000ff -d delimiter field delimiter, def: whitespace -D directory output directory, def: . -e dot X-axis extension -G fn[:max[:desc]][,fn[:max[:desc]]]... draw graphs for the specified fields fn: 1 2 3 ... -H column names are in data file -h height height per graph -i interval interval (second) -k not skip line automatically which starts with '#' -l n draw vertical line on graph every n'th data -m print maximum values for each field -N write time info(HH:MM:SS) at the bottom of the graph -n count count of data to be processed -o outfile output file, def: graph[.gif] -S skiplist list starting word to skip (separated by coma) -s start starting data to be processed. n or HHMMSS or HH:MM:SS -T title top label -t HHMMSS starting time of gathering data -V show version -v print data in text without graph -W generate HTML page -w width width of the graph file data file

  24. - mkgraph (2)

  25. - mkgraph (3)

  26. - mkgraph (4)

  27. - mkgraph (5)

  28. - dolog

  29. - tcpmon -T

  30. - netmon -T

  31. - gwserv

More Related