{"id":309,"date":"2014-03-20T16:02:57","date_gmt":"2014-03-20T21:02:57","guid":{"rendered":"http:\/\/www.hpux.ws\/?p=309"},"modified":"2014-03-20T16:02:57","modified_gmt":"2014-03-20T21:02:57","slug":"performance-measurement-using-measureware","status":"publish","type":"post","link":"https:\/\/www.hpux.ws\/?p=309","title":{"rendered":"Performance Measurement using measureware"},"content":{"rendered":"<p align=\"center\"><span style=\"color: #000000;\">Measureware Extract Documentation<\/span><\/p>\n<p><span style=\"color: #000000; font-family: Courier New;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #000000; font-family: Courier New;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #000000; font-family: Courier New;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">Necessary Processes:<\/span><\/p>\n<p><span style=\"color: #000000;\"><a href=\"mailto:root@myserver:\/tmp\/fog\">root@myserver:\/tmp\/fog<\/a>&gt; <b><span style=\"font-family: Courier New;\">ps -ef | grep scopeux<\/span><\/b><\/span><\/p>\n<p><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">root<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0 <\/span><span style=\"color: #000000;\">3246<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">1<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0 <\/span><span style=\"color: #000000;\">0<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0 <\/span><span style=\"color: #000000;\">Mar 19<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0 <\/span><span style=\"color: #000000;\">?<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">0:40 \/opt\/perf\/bin\/scopeux<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\">List of possible reporting parameters:<\/span><\/p>\n<p><span style=\"color: #000000;\">\/var\/opt\/perf\/reptfile<\/span><\/p>\n<p><span style=\"color: #000000; font-family: Courier New;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">Running datafiles live here:<\/span><\/p>\n<p><span style=\"color: #000000;\"><a href=\"mailto:root@myserver:\/root\">root@myserver:\/root<\/a>&gt; <b><span style=\"font-family: Courier New;\">ll \/var\/opt\/perf\/datafiles<\/span><\/b><\/span><\/p>\n<p><span style=\"color: #000000;\">total 154528<\/span><\/p>\n<p><span style=\"color: #000000;\">-rw-r&#8211;r&#8211;<span style=\"font-family: Courier New;\">\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">1 root<\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">sys<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">31 Feb 21 08:50 RUN<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\">-rw-r&#8211;r&#8211;<span style=\"font-family: Courier New;\">\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">1 root<\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">root<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">105 Sep 27<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0 <\/span><span style=\"color: #000000;\">2012 agdb<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\">-rw-r&#8211;r&#8211;<span style=\"font-family: Courier New;\">\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">1 root<\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">root<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">0 Sep 27<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0 <\/span><span style=\"color: #000000;\">2012 agdb.lk<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\">-rw-rw-rw-<span style=\"font-family: Courier New;\">\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">1 root<\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">root<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">168 Feb 21 18:28 classinfo.db<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\">-rw-r&#8211;r&#8211;<span style=\"font-family: Courier New;\">\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">1 root<\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">root<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">4206652 Feb 21 18:20 logappl<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\">-rw-r&#8211;r&#8211;<span style=\"font-family: Courier New;\">\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">1 root<\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">root<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">24054172 Feb 21 18:25 logdev<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\">-rw-r&#8211;r&#8211;<span style=\"font-family: Courier New;\">\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">1 root<\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">root<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">6464936 Feb 21 18:25 logglob<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\">-rw-r&#8211;r&#8211;<span style=\"font-family: Courier New;\">\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">1 root<\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">root<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">352232 Feb 21 10:55 logindx<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\">-rw-r&#8211;r&#8211;<span style=\"font-family: Courier New;\">\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">1 root<\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">root<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">15 Sep 27<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0 <\/span><span style=\"color: #000000;\">2012 logpcmd0<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\">-rw-r&#8211;r&#8211;<span style=\"font-family: Courier New;\">\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">1 root<\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">root<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">32673802 Feb 21 18:28 logproc<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\">-rw-r&#8211;r&#8211;<span style=\"font-family: Courier New;\">\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">1 root<\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">root<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">9740096 Feb 21 18:25 logtran<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\">drwxr-xr-x<span style=\"font-family: Courier New;\">\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">2 root<\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">root<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">96 Sep 27<\/span><\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0 <\/span><span style=\"color: #000000;\">2012 lost+found<\/span><\/span><\/p>\n<p><span style=\"color: #000000;\">-rw-r&#8211;r&#8211;<span style=\"font-family: Courier New;\">\u00a0\u00a0 <\/span><\/span><span style=\"color: #000000;\">1 root<\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><span style=\"color: #000000;\">root<\/span><\/span><span style=\"color: #000000;\"><span style=\"font-family: Courier New;\">\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0<\/span><\/span><span style=\"color: #000000;\">1504540 Oct 31<\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0 <\/span><span style=\"color: #000000;\">2012 mikslp.db<\/span><\/span><\/p>\n<p><span style=\"color: #000000; font-family: Courier New;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">Here is a typical template to generate data into a spreadsheet.<\/span><\/p>\n<p><span style=\"color: #000000;\">cat mwatemplate<\/span><\/p>\n<p><span style=\"color: #000000;\">REPORT &#8220;MWA Export on !SYSTEM_ID&#8221;<\/span><\/p>\n<p><span style=\"color: #000000;\">FORMAT ASCII<\/span><\/p>\n<p><span style=\"color: #000000;\">HEADINGS ON<\/span><\/p>\n<p><span style=\"color: #000000;\">SEPARATOR=&#8221;|&#8221;<\/span><\/p>\n<p><span style=\"color: #000000;\">SUMMARY=60<\/span><\/p>\n<p><span style=\"color: #000000;\">MISSING=0<\/span><\/p>\n<p><span style=\"color: #000000;\">DATA TYPE GLOBAL<\/span><\/p>\n<p><span style=\"color: #000000;\">YEAR<\/span><\/p>\n<p><span style=\"color: #000000;\">DATE<\/span><\/p>\n<p><span style=\"color: #000000;\">TIME<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_CPU_TOTAL_UTIL<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_CPU_SYS_MODE_UTIL<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_CPU_USER_MODE_UTIL<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_CPU_SYSCALL_UTIL<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_CPU_INTERRUPT_UTIL<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_PRI_QUEUE<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_CPU_CSWITCH_UTIL<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_SWAP_SPACE_UTIL<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_DISK_UTIL_PEAK<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_DISK_SUBSYSTEM_QUEUE<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_MEM_UTIL<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_MEM_CACHE_HIT_PCT<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_MEM_PAGEIN_RATE<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_MEM_PAGEOUT_RATE<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_MEM_SWAPIN_RATE<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_MEM_SWAPOUT_RATE<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_MEM_QUEUE<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_NET_PACKET_RATE<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_NET_OUTQUEUE<\/span><\/p>\n<p><span style=\"color: #000000;\">GBL_NETWORK_SUBSYSTEM_QUEUE<\/span><\/p>\n<p><span style=\"color: #000000; font-family: Courier New;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">Here is a script to process the measureware output and generate a spreadsheet using the above template file:<\/span><\/p>\n<p><span style=\"color: #000000; font-family: Courier New;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">#################### Begin Sample Extract Script ####################<\/span><\/p>\n<p><span style=\"color: #000000;\">#!\/usr\/bin\/ksh<\/span><\/p>\n<p><span style=\"color: #000000;\">#<\/span><\/p>\n<p><span style=\"color: #000000;\"># Extract to spreadsheet midnight to 6 am<\/span><\/p>\n<p><strong><span style=\"color: #000000;\">\/opt\/perf\/bin\/extract -xp -r \/root\/mwatemplate -g -b today 0:00 -e today 06:00 -f testfile.txt<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">#################### <span style=\"font-family: Courier New;\">\u00a0<\/span><\/span><span style=\"color: #000000;\">End Sample Extract Script <\/span><span style=\"font-family: Courier New;\"><span style=\"color: #000000;\">\u00a0<\/span><span style=\"color: #000000;\">####################<\/span><\/span><\/p>\n<p><span style=\"color: #000000; font-family: Courier New;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #000000;\">It is simple but effective. The command above looks at data between midnight and 6 am today. A look at the man page for extract will show you how to look at different data sets. There are an endless number of options. Choose template options based on the nature of the problem you are facing.<\/span><\/p>\n<p><span style=\"color: #000000; font-family: Courier New;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #000000; font-family: Courier New;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #000000; font-family: Courier New;\">\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Measureware Extract Documentation \u00a0 \u00a0 \u00a0 Necessary Processes: root@myserver:\/tmp\/fog&gt; ps -ef | grep scopeux \u00a0\u00a0\u00a0 root\u00a0 3246\u00a0\u00a0\u00a0\u00a0 1\u00a0 0\u00a0 Mar 19\u00a0 ?\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0:40 \/opt\/perf\/bin\/scopeux List of possible reporting parameters: \/var\/opt\/perf\/reptfile \u00a0 Running datafiles live here: root@myserver:\/root&gt; ll \/var\/opt\/perf\/datafiles total 154528 -rw-r&#8211;r&#8211;\u00a0\u00a0 1 root\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 sys\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 31 Feb 21 08:50 RUN -rw-r&#8211;r&#8211;\u00a0\u00a0 1 root\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 root\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 105 Sep [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_kadence_starter_templates_imported_post":false,"footnotes":""},"categories":[28,12,8],"tags":[85,86],"class_list":["post-309","post","type-post","status-publish","format-standard","hentry","category-capacity-planning","category-perf","category-sysadmin","tag-measureware","tag-performance-measurement"],"_links":{"self":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/309"}],"collection":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=309"}],"version-history":[{"count":1,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/309\/revisions"}],"predecessor-version":[{"id":310,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/309\/revisions\/310"}],"wp:attachment":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}