<?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>mpstat command line Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/mpstat-command-line/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/mpstat-command-line/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:49:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>20 mpstat Commands Examples in Linux / UNIX &#124; mpstat Commands Tutorial</title>
		<link>https://www.scmgalaxy.com/tutorials/20-mpstat-command-examples-in-linux-unix/</link>
					<comments>https://www.scmgalaxy.com/tutorials/20-mpstat-command-examples-in-linux-unix/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 12 Dec 2015 12:01:34 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[Examples]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux mpstat Command]]></category>
		<category><![CDATA[mpstat]]></category>
		<category><![CDATA[mpstat Command]]></category>
		<category><![CDATA[mpstat Command Examples]]></category>
		<category><![CDATA[mpstat command line]]></category>
		<category><![CDATA[mpstat Commands Tutorials]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/12/12/20-mpstat-command-examples-in-linux-unix/</guid>

					<description><![CDATA[<p>If you are using SMP (Multiple CPU) system, use mpstat command to display the utilization of each CPU individually. mpstat [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/20-mpstat-command-examples-in-linux-unix/">20 mpstat Commands Examples in Linux / UNIX | mpstat Commands Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-3166 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/mpstat-command-examples-in-.png" alt="" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/mpstat-command-examples-in-.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/mpstat-command-examples-in--300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></div>
<div>If you are using SMP (Multiple CPU) system, use mpstat command to display the utilization of each CPU individually.</div>
<div></div>
<div>mpstat Report processors related statistics which includes Collecting and displays performance statistics for all logical processors in the system.. This display CPU statistics of individual CPU (or) Core.</div>
<div></div>
<div><strong>How to install mpstat?</strong></div>
<div>1. Ensure you are logged in as &#8216;root&#8217;</div>
<div>&#8216;mpstat&#8217; and &#8216;vmstat&#8217; are apart of the &#8216;sysstat&#8217; package and should be installed by default</div>
<div>2. Verify installation :</div>
<div># rpm -qa | grep -i sysstat</div>
<div>3. Installation, if needed :</div>
<div># rpm -ivh &lt;name&gt;</div>
<div>4. If you have connectivity to RHN or a Satellite Server:</div>
<div># yum install sysstat</div>
<div>5. If you are using Ubantu:</div>
<div># apt-get install sysstat</div>
<div></div>
<div>
<p><strong>Usage:</strong></p>
</div>
<div><strong>1. Using mpstat command without any option, will display the Global Average Activities by All CPUs.</strong></div>
<div>$ mpstat</div>
<div></div>
<div><strong>2. Using mpstat with option &#8216;-P&#8217; (Indicate Processor Number) and &#8216;ALL&#8217;, will display statistics about all CPUs one by one starting from 0. 0 will the first one.</strong></div>
<div>$ mpstat -P ALL</div>
<div></div>
<div><strong>3. To display the statistics for N number of iterations after n seconds interval with average of each cpu use the following command.</strong></div>
<div>$ mpstat -P ALL 2 5</div>
<div></div>
<div><strong>4. The option &#8216;I&#8217; will print total number of interrupt statistics about per processor.</strong></div>
<div>$ mpstat -I</div>
<div></div>
<div><strong>5. Get all the above information in one command i.e. equivalent to &#8220;-u -I ALL -p ALL&#8221;.</strong></div>
<div>$ mpstat -A</div>
<div></div>
<div><strong>Reference</strong></div>
<div><a href="http://linuxcommand.org/man_pages/mpstat1.html" target="_blank" rel="noopener">http://linuxcommand.org/man_pages/mpstat1.html</a></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/20-mpstat-command-examples-in-linux-unix/">20 mpstat Commands Examples in Linux / UNIX | mpstat Commands Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/20-mpstat-command-examples-in-linux-unix/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
