<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LoadRunner TnT &#187; Tools</title>
	<atom:link href="http://www.loadrunnertnt.com/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.loadrunnertnt.com</link>
	<description>Performance Testing, LoadRunner Tips &#38; Tricks</description>
	<lastBuildDate>Mon, 08 Mar 2010 07:57:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Analyzing Client-side Performance Issue with YSlow</title>
		<link>http://www.loadrunnertnt.com/tools/analyzing-client-side-performance-issue-with-yslow/</link>
		<comments>http://www.loadrunnertnt.com/tools/analyzing-client-side-performance-issue-with-yslow/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 07:42:05 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Add-Ons]]></category>
		<category><![CDATA[Analyze]]></category>
		<category><![CDATA[Bottleneck]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=607</guid>
		<description><![CDATA[YSlow, another popular client-side performance profiling tool for web applications, is an add-on for Firefox.  With YSlow, you will be able to determine how fast (or slow) your web page is loading, breaking down to the individual components on the web page.  One thing to note, YSlow requires another add-on, Firebug to be installed in [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.loadrunnertnt.com/wp-content/uploads/2009/12/1257808290.png"><img class="alignleft size-full wp-image-608" title="1257808290" src="http://www.loadrunnertnt.com/wp-content/uploads/2009/12/1257808290.png" alt="" width="32" height="32" /></a>YSlow</strong>, another popular client-side performance profiling tool for web applications, is an add-on for Firefox.  With YSlow, you will be able to determine how fast (or slow) your web page is loading, breaking down to the individual components on the web page.  One thing to note, YSlow requires another add-on, Firebug to be installed in Firefox before you can install it.  With YSlow you can use to determine the following <strong>website performance problems</strong>:<span id="more-607"></span></p>
<ul>
<li><strong>Download Component      Size</strong> &#8211; YSlow provides the size of the downloaded component and provides      suggestion in keeping the optimum amount of data size that the component      should be. This include images, Javascripts, CSS and cookie size are just      few of the examples.</li>
<li>
<div id="attachment_612" class="wp-caption alignright" style="width: 262px"><a href="http://www.loadrunnertnt.com/wp-content/uploads/2009/01/initial-yslow-stats.png"><img class="size-medium wp-image-612" title="initial-yslow-stats" src="http://www.loadrunnertnt.com/wp-content/uploads/2009/01/initial-yslow-stats-252x300.png" alt="" width="252" height="300" /></a><p class="wp-caption-text">YSlow Screenshot</p></div>
<p><strong>Bad Requests</strong> – It detects missing      components that churns 404 errors.  Addressing      404 errors can help improve performance at the client and server end by      removing requests made on missing objects as well as removing time needed      to handle this requests on missing objects on the server.</li>
<li><strong>Detect duplicate      requests/components</strong> – It detects duplicate HTTP requests made which degrades both the      client and the server performance.  It      also detects duplicate Javascripts which can result in duplicate request      to the server or further slowing down the client browser.</li>
<li><strong>Placement of files</strong> – Another good      feature made by YSlow is the detection of the placement of the Javascripts      and CSS files.  The placement of the      Javascripts and CSS files will help improve the performance at the client      side.</li>
<li><strong>Detect expiry of      components</strong> – YSlow can help determine if a component should be retrieved on      every web page loading.  If a      component such as an image (company banner) does not changed frequently,      it is suggested to it expire at a far later date.  Else, for every time the page loads, a      request will be made to the image.</li>
</ul>
<p><!--adsensestart--><br />
What is great about <strong>YSlow</strong> is it provides you with the best practises for creating high performance web sites.  It helps you detect which components are too big and provide suggestions for you to improve the performance.  The best practises for high performance web sites can be found at <a href="http://developer.yahoo.com/performance/">Yahoo! YSlow Developer Network</a>.</p>
<p>The disadvantage of YSlow is it is not installable on Internet Explorer, unlike <a href="../tools/performance-profiling-using-http-watch/">HTTPWatch</a>.  If you are a fan of the real-time analysing the response (wait) time on HTTPWatch, then you will be disappointed with YSlow on this.  YSlow does not provide any visual indicator on the time taken during loading (or requesting to the server) in real time.  It will only display the time only after the entire web page is downloaded.</p>
<p>The above are just some of the features that are available in YSlow.  You can <a href="https://addons.mozilla.org/en-US/firefox/addon/5369">download YSlow</a> and start profiling your website. We hope to hear your review soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/tools/analyzing-client-side-performance-issue-with-yslow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Performance Profiling Using HTTP Watch</title>
		<link>http://www.loadrunnertnt.com/tools/performance-profiling-using-http-watch/</link>
		<comments>http://www.loadrunnertnt.com/tools/performance-profiling-using-http-watch/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 05:01:42 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Bottleneck]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[profiling]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=602</guid>
		<description><![CDATA[If you need to profile the performance of your web page, HTTPWatch is the tool (plugin) you can count on to do it.  With HTTPWatch, not only can you determine the load time of the web page (web performance profiling), you can also determine the time taken for loading each individual object.  Through this you [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.loadrunnertnt.com/wp-content/uploads/2009/12/httpwatch_logo_graphic.png"><img class="alignleft size-full wp-image-603" title="httpwatch_logo_graphic" src="http://www.loadrunnertnt.com/wp-content/uploads/2009/12/httpwatch_logo_graphic.png" alt="" width="76" height="78" /></a>If you need to profile the performance of your web page, <strong>HTTPWatch</strong> is the tool (plugin) you can count on to do it.  With HTTPWatch, not only can you determine the load time of the web page (web performance profiling), you can also determine the time taken for loading each individual object.  Through this you can determine if there are bottlenecks or under-optimized setting for the web server and apply the corrective resolution to it.<span id="more-602"></span></p>
<p>HTTPWatch is like a traffic sniffer (they termed it traffic viewer).  Once you start a recording a session, you can view almost anything that is sent via the browser, such as the HTTP headers, the response code, cookies, any caching used, methods, redirections, compression, encoding, and authentication.</p>
<p style="text-align: center;"><a href="http://www.loadrunnertnt.com/wp-content/uploads/2009/12/c8eab66d-9a86-4fd7-ae24-77f3d533dc85_2_full.png"><img class="size-medium wp-image-604 aligncenter" title="c8eab66d-9a86-4fd7-ae24-77f3d533dc85_2_full" src="http://www.loadrunnertnt.com/wp-content/uploads/2009/12/c8eab66d-9a86-4fd7-ae24-77f3d533dc85_2_full-300x271.png" alt="" width="300" height="271" /></a></p>
<p><!--adsensestart--><br />
What I like most out of the available information is the header, status codes, errors, cookies, redirections and compression.   HTTPWatch can view the following:</p>
<ul>
<li><strong>Header</strong> – Is a valid header being sent from the client and if the server is returning a valid header as well?</li>
<li><strong>Status Codes</strong> – What is the status code returning?  Is it giving me a correct HTTP 200 or something else (e.g. 302, 404) that may cause degradation of the client side performance?  Note: HTTP codes other than 200 may degrade the web server as well.</li>
<li><strong>Cookies</strong> – Are cookies under-performing?  Are the cookies being retrieved correctly?  Having cookies expired or should they be made to expired?</li>
<li><strong>Redirections</strong> – Are unnecessary redirections made due to invalid requests to invalid objects or missing objects that were removed (e.g. 404 errors)?</li>
<li><strong>Compression</strong> – Have all HTTP requests made from the client returned in compression thus decreasing the throughput?</li>
</ul>
<p>The plugin can be installed for both Internet Explorer and Firefox users.  There is a free version readily available to download which is sufficient for you to conduct most performance troubleshooting and fix problems on the web server.   The problem with HTTP Watch is that it needs to install in to the system, and this can be considered intrusive if your organisation or your client has a policy against installation of non-compliance software.  It has a Firefox version which means you can use a portable version of Firefox with HTTPWatch installed with it.  This is a workaround against the policy.  Personally, I have a preference over YSlow (another HTTP sniffer/viewer in Firefox portable) than HTTPWatch as it has a cleaner interface (in my opinion).</p>
<p>You can use <strong>HTTPWatch</strong> if you need to profile one single user for your web application and considering not using a stop watch (at least it’s more professional than a stopwatch technique in your client’s opinion).</p>
<p><a href="http://download.httpwatch.com/httpwatch.exe">Click here to download HTTPWatch!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/tools/performance-profiling-using-http-watch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automating Web-Browser Activities in a Breeze with iMacro</title>
		<link>http://www.loadrunnertnt.com/tools/automating-web-browser-activities-in-a-breeze-with-imacro/</link>
		<comments>http://www.loadrunnertnt.com/tools/automating-web-browser-activities-in-a-breeze-with-imacro/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 10:43:23 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Add-Ons]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[functional]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=593</guid>
		<description><![CDATA[iMacro from iOpus is a popular web automation add-on for Firefox.  For Firefox fans, you will be delighted with the features in iMacro that frees you from the mandate and boring work you need to perform on your web application.  If you need to automate your activities on the web-browser, you can use iMacro to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.loadrunnertnt.com/wp-content/uploads/2009/12/10472.png"><img class="size-full wp-image-594 alignleft" title="10472" src="http://www.loadrunnertnt.com/wp-content/uploads/2009/12/10472.png" alt="" width="115" height="86" /></a><a title="iMacro" href="https://addons.mozilla.org/en-US/firefox/addon/3863" target="_blank"><strong>iMacro from iOpus</strong></a> is a popular web automation add-on for Firefox.  For Firefox fans, you will be delighted with the features in iMacro that frees you from the mandate and boring work you need to perform on your web application.  If you need to automate your activities on the web-browser, you can use iMacro to do the job for you.  Moreover, you can use this automation for your functional testing needs by passing various variables into the web application.<span id="more-593"></span></p>
<p>What iMacro can do is similar to most automated testing tool and macros.  It uses a record and playback engine, and generates a script for you.  The script is in .imm format but it is very intuitive and easy to understand (like plain English).   The script can be open by any text editor and amended to your needs.  You can pass in different parameter values to test your web application.  You can loop the script to test the different values.</p>
<p>The below sample script:</p>
<blockquote><p>VERSION BUILD=6240709 RECORDER=FX<br />
SET !ERRORIGNORE YES<br />
SET !DATASOURCE C:\ DataSource\ ParameterList.txt<br />
SET !LOOP 1<br />
SET !DATASOURCE_LINE {{!LOOP}}<br />
TAB T=1<br />
TAB CLOSEALLOTHERS<br />
URL GOTO=http://www.communitysamplesite. com/ members/{{!COL1}}/</p></blockquote>
<p><!--adsensestart--></p>
<ol>
<li>The version of the build (no effect)</li>
<li>Set ignoring of error to yes – the effect is that the script will not stop if there is an error (similar to LoadRunner continue-on-error feature)</li>
<li>Set the data source to obtain the parameter value list – The parameter list can be manipulate by any text editor or excel-applications</li>
<li>Set the starting value (row ) from the parameter  to 1 – Meaning pulling the 1<sup>st</sup> record</li>
<li>Set the starting row in the parameter list (data source)</li>
<li>Set the target tab on Firefox browser</li>
<li>Close all other tabs in Firefox  browser</li>
<li>Go to URL of the member of Community Sample Site</li>
</ol>
<p>One thing that I’m unsure of is if iMacro has the ability to log errors during looping.  If you set iMacro to loop through the parameter values without <strong>SET !ERRORIGNORE YES</strong>, the script will abort when an error is encountered.  On the other hand, if <strong>SET !ERRORIGNORE YES</strong> is defined, the script will continue to run and not able to log any errors encountered.  I’m not too sure about this as I’ve not explored the log files yet or encountered any errors during my script execution.  Anyone who have done so, please fill us in with the details!  Greatly appreciated!</p>
<p>You can download <a href="https://addons.mozilla.org/en-US/firefox/addon/3863">iMacro from Mozilla Add-ons</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/tools/automating-web-browser-activities-in-a-breeze-with-imacro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Determine the Windows patches installed using Windows 2003 Resource Kit</title>
		<link>http://www.loadrunnertnt.com/tools/determine-the-windows-patches-installed-using-windows-2003-resource-kit/</link>
		<comments>http://www.loadrunnertnt.com/tools/determine-the-windows-patches-installed-using-windows-2003-resource-kit/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 09:00:24 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=386</guid>
		<description><![CDATA[Before going to any data center, we are required to ensure that the Windows have its appropriate service packs and patches installed. Using the utility, srvinfo.exe from a bigger suite of tool kit, Microsoft Windows 2003 Resource Kit Tools, you will be able to collect information from remote machines such as (a) services installed, running [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Microsoft" src="http://loadrunnertnt.com/images/company_microsoft_logo.jpg" alt="" width="146" height="37" />Before going to any data center, we are required to ensure that the Windows have its appropriate service packs and patches installed. Using the utility, <strong>srvinfo.exe</strong> from a bigger suite of tool kit, <a title="Microsoft Windows 2003 Resource Kit Tools" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;DisplayLang=en" target="_blank">Microsoft Windows 2003 Resource Kit Tools</a>, you will be able to collect information from remote machines such as (a) services installed, running and stopped, (b) disk capacity and usage, (c) installed hotfixes, (d) their installation date and (e) installed network protocol. This are all essential information that data center officers would like to know prior the machine is being plug into the network. What&#8217;s <strong>Microsoft Windows 2003 Resource Kit Tools</strong> then?  It is <span>a set of tools to help administrators streamline management tasks such as troubleshooting operating system issues, managing Active Directory, configuring networking and security features, and automating application deployment.<span id="more-386"></span></span></p>
<p>After downloading available from <a title="Download Windows 2003 Resource Kit" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;DisplayLang=en" target="_blank">Microsoft Download Center</a> and installation, the utilities are stored in the following folders:</p>
<p><span><strong>%Program Files%\Windows Resource Kits\Tools</strong></span></p>
<p><strong>srvinfo.exe</strong> is used in the command prompt.  The options available are as followed:</p>
<ul>
<li><span>-d: Display service drivers/ services</span></li>
<li><span>-ns: Hides service information</span></li>
<li><span>-nf: Hides hotfix information</span></li>
<li><span>-r: Displays service internal names</span></li>
<li><span>-s: Displays shares</span></li>
<li><span>-v: Displays version information for Exchange Server, Internet Information Services (IIS), and Microsoft SQL Server. </span></li>
</ul>
<p><span>Type <strong>&#8217;svrinfo&#8217;</strong> on the command line to display information about the local server. To display information about a remote server, attach \\COMPUTER_NAME to the command line. For example, to display hotfix information about computer \\BETTY and hide the service information, enter the following command:</p>
<p><strong>srvinfo -ns \\BETTY</strong></span></p>
<p>To output the list of hotfixes to a text file for the authority assessing the machine, you can use the following command.</p>
<p><span><strong>srvinfo -ns \\BETTY &gt;&gt; C:\hotfix_installed.txt</strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/tools/determine-the-windows-patches-installed-using-windows-2003-resource-kit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing WireShark Network Protocol Analyzer</title>
		<link>http://www.loadrunnertnt.com/tools/introducing-wireshark-network-protocol-analyzer/</link>
		<comments>http://www.loadrunnertnt.com/tools/introducing-wireshark-network-protocol-analyzer/#comments</comments>
		<pubDate>Tue, 27 May 2008 09:01:47 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[WireShark]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=388</guid>
		<description><![CDATA[WireShark is a powerful network protocol analyzer (or network packet sniffer), formally known as Ethereal Network Analyzer that allows the user to capture and determine the network traffic between the client (source) and server (destination). It is a free tool under the GNU General Public License and is readily available for download.
What are the key [...]]]></description>
			<content:encoded><![CDATA[<div><a title="Link to WireShark now!" href="http://www.wireshark.org/" target="_blank"><strong><img class="alignleft" title="Wireshark" src="http://loadrunnertnt.com/images/wireshark_banner.png" alt="" width="186" height="64" />WireShark</strong></a> is a powerful network protocol analyzer (or network packet sniffer), formally known as Ethereal Network Analyzer that allows the user to capture and determine the network traffic between the client (source) and server (destination). It is a free tool under the GNU General Public License and is readily available for <a title="Click link to download WireShark" href="http://www.wireshark.org/download.html" target="_blank">download</a>.</div>
<p>What are the key features <a href="http://www.wireshark.org/about.html" target="_blank">WireShark &#8220;About&#8221; page</a> in our opinion for performance testing)?<span id="more-388"></span><!--adsensestart--></p>
<ul>
<li>Inspection of hundreds of protocols</li>
<li>Live capture and offline analysis</li>
<li> Multi-platform: Runs on Windows, Linux, OS X, Solaris, FreeBSD, NetBSD, and many others</li>
<li>Read/write many different capture file formats: tcpdump (libpcap), Catapult DCT2000, Cisco Secure IDS iplog, Microsoft Network Monitor, Network General Sniffer® (compressed and uncompressed), Sniffer® Pro, and NetXray®, Network Instruments Observer, Novell LANalyzer, RADCOM WAN/LAN Analyzer, Shomiti/Finisar Surveyor, Tektronix K12xx, Visual Networks Visual UpTime, WildPackets EtherPeek/TokenPeek/AiroPeek, and many others</li>
<li> Capture files compressed with gzip can be decompressed on the fly</li>
<li>Live data can be read from Ethernet, IEEE 802.11, PPP/HDLC, ATM, Bluetooth, USB, Token Ring, Frame Relay, FDDI, and others (depending on your platfrom)</li>
<li>Decryption support for many protocols, including IPsec, ISAKMP, Kerberos, SNMPv3, SSL/TLS, WEP, and WPA/WPA2</li>
<li>Output can be exported to XML, PostScript®, <strong>CSV</strong>, or plain text</li>
</ul>
<p><a href="http://www.wireshark.org/about.html" target="_blank">(Source: WireShark, About)</a></p>
<p><strong>What is it got to do with LoadRunner or even performance testing?</strong> Most performance testing is the generation (or emulation) of network request and traffic to the target server thus loading it. Therefore, this required understanding of the network request and traffic being generated to the server especially for scripting tasks. Often there are situations when we are unable to record any events after selecting a protocol and we ponder what is the actual communication being used. Of course, there are other alternatives such as <strong>WinSock</strong> protocol in <strong>LoadRunner</strong>. However, the catch, the traffic captured can be overwhelming when using WinSock recording in a single session and this create a huge data.ws file that is difficult to navigate or view (and at times crash the notepad or Vugen!). Using WireShark, you can view and filter the protocols via the packet content and makes work a lot more easier.</p>
<p>Other usage of the tool is to monitor the amount of bytes transferred between a source and destination. This is not achievable with <strong>Windows Perfmon&#8217;s Network Interfac</strong>e object counters as it captures the statistics on the total amount of sent and received bytes on the NIC card and doesn&#8217;t break down to the amount of bytes sent to and received from a particular destination. With WireShark, we are able to do that by filtering to the destination. What&#8217;s even useful is the ability to export the filtered information into a CSV file for further analysis.in another article.</p>
<p>WireShark can be a little intimidating to new users. As such, there are a couple of helpful resources to get the new users familiarized with the tool on their website. Furthermore, they provide videos on techniques to identifying communication. There is also a <a title="Click to access Laura Chappell's WireShark University!" href="http://www.wiresharktraining.com/index.html" target="_blank">Laura Chappell&#8217;s WireShark University</a> that has a paid training program as well as materials for the new users to reference.</p>
<p><a href="http://www.wireshark.org/download.html" target="_blank">Download WireShark now!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/tools/introducing-wireshark-network-protocol-analyzer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Local Unix monitoring made possible?</title>
		<link>http://www.loadrunnertnt.com/tools/local-unix-monitoring-made-possible/</link>
		<comments>http://www.loadrunnertnt.com/tools/local-unix-monitoring-made-possible/#comments</comments>
		<pubDate>Sat, 24 May 2008 08:57:35 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=381</guid>
		<description><![CDATA[Have you ever come across an attempt to monitor Unix resources with just only rstatd? Where there are no options available to use SiteScope via telnet or SSH? Or simply because of the time factor that you must monitor the Unix resources in the load test conducted the following day?
Check out this script from Bad [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever come across an attempt to monitor Unix resources with just only <em>rstatd</em>? Where there are no options available to use SiteScope via <em>telnet</em> or SSH? Or simply because of the time factor that you must monitor the Unix resources in the load test conducted the following day?<span id="more-381"></span></p>
<p>Check out this script from <a title="Bad Penguin.co.uk" href="http://www.badpenguin.co.uk/" target="_blank">Bad Penguin.co.uk</a>. This script at it&#8217;s latest version when placed in a Unix machine, collects performance statistics at desired intervals and convert them into CSV report which can be imported to a spreadsheet, database and LoadRunner Analysis to perform analyzing work. It uses standard unix utilities (<em>iostat, vmstat, netstat</em> and<em> uptime</em>) and has been tested on Linux and Solaris systems.  The usage of <em>vmstat, netstat, iostat</em> and <em>uptime</em> is far more comprehensive than those used by <em>rstatd</em>.</p>
<p>Click on the link below to get a copy of the script!</p>
<p><a title="Download Unix Performance Monitor.sh" href="http://www.badpenguin.co.uk/main/content/view/43/35/" target="_blank">performanceMonitor.sh</a></p>
<p>The script is used in two ways. One to generate statistics and two to convert to a CSV format. The below describes the command to execute.</p>
<div>
<table style="height: 40px;" border="0" width="559">
<tbody>
<tr>
<td>Generate statistics</td>
<td><em> $ performanceMonitor.sh run</em></td>
</tr>
<tr>
<td>Convert to CSV format</td>
<td><em>$ performanceMonitor.sh csv YYYYMMDD</em></td>
</tr>
</tbody>
</table>
</div>
<div>Before you use the script to collect statistics, you will need to configure the interval between each collection. This is to change the variable <strong>SLEEP</strong>. Set it at an acceptable level, e.g. 15 to reduce the overhead generated from the execution of the commands. When you are done with exporting out to a CSV format, you can use the Analysis import feature to import this CSV file for analysis work. We used the below settings in Analysis for import this CSV files.</div>
<div></div>
<div><strong>Fig.1: Analysis Import Settings</strong></div>
<div><strong><img class="aligncenter" title="Unix Import Settings" src="http://loadrunnertnt.com/images/unix_import_settings.JPG" alt="" width="326" height="300" /><br />
</strong></div>
<div>Take note that, after running <em>$performanceMonitor.sh run</em> on the command prompt, the script will run infinitely till it a manual break is issue.  Therefore, you may consider writing a <em>cron job</em> to enhance the monitoring scheduling in the load test.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/tools/local-unix-monitoring-made-possible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

