<?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>networking &#8211; Luxing Huang</title>
	<atom:link href="https://luxing.im/tag/networking/feed/" rel="self" type="application/rss+xml" />
	<link>https://luxing.im</link>
	<description>Thoughs and things</description>
	<lastBuildDate>Fri, 13 Dec 2013 21:50:39 +0000</lastBuildDate>
	<language>en-CA</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
<site xmlns="com-wordpress:feed-additions:1">58771605</site>	<item>
		<title>A few system monitoring tools under Linux</title>
		<link>https://luxing.im/a-few-system-monitoring-tools-under-linux/</link>
					<comments>https://luxing.im/a-few-system-monitoring-tools-under-linux/#respond</comments>
		
		<dc:creator><![CDATA[Luxing Huang]]></dc:creator>
		<pubDate>Thu, 28 Nov 2013 03:27:19 +0000</pubDate>
				<category><![CDATA[Learning Notes]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[system]]></category>
		<guid isPermaLink="false">http://blog.luxing.im/?p=202</guid>

					<description><![CDATA[Under Linux, you can use ldd to find out an executable&#8217;s library dependency, you can use top to find out the current processes and their relevant information. In this article, some third party software will be introduced for easier management under terminal session. Processes htop Besides the built-in top which we can use for monitoring &#8230; <p class="link-more"><a href="https://luxing.im/a-few-system-monitoring-tools-under-linux/" class="more-link">Continue reading<span class="screen-reader-text"> "A few system monitoring tools under Linux"</span></a></p>]]></description>
										<content:encoded><![CDATA[<p>Under Linux, you can use <em>ldd</em> to find out an executable&#8217;s library dependency, you can use <em>top</em> to find out the current processes and their relevant information. In this article, some third party software will be introduced for easier management under terminal session.<br />
<span id="more-202"></span></p>
<h1>Processes</h1>
<h3>htop</h3>
<p>Besides the built-in <em>top</em> which we can use for monitoring current processes&#8217; status, we have a much better tool <em>htop</em>. User can see how much workload each of your cpu is doing, you can sort the list in every column and you can press t for tree view for main and forked/sub processes relationships. There are a few things htop doesn&#8217;t show on default screen, such as used buffer size and cache size etc, but you can always use <em>free -k</em> or <em>top</em> as supplements.</p>
<h1>File systems</h1>
<h3>du and df</h3>
<p>There are a few tools I need to take this note down. The default built-in <em>df</em> and <em>du</em> utility are great tools. Man page is always helpful in detail.</p>
<h3>iostat</h3>
<p>This comes with the package sysstat in RPM based Linux distributions (CentOS/Fedora/etc), available at their main repositories. Not so sure for the deb people. I always use the command </p>
<pre>iostat -dmx /dev/sda 3</pre>
<p> to check sda&#8217;s usage every 3 seconds.</p>
<h3>iotop</h3>
<p>iotop is a simple I/O monitor, this package is written by Python 2.x and it requires root privilege to run. It is really simple but it does the job. Check out <code>--help</code> for a bit more functionality.</p>
<h3>ftop</h3>
<p>ftop shows processes of open files and file systems. This software is now 5 years old and hasn&#8217;t been updated, but it does the job, and I like this better than iotop. For CentOS people, this package comes from rpmforge, you&#8217;ll have to add the repository first to your box.</p>
<h1>Networking monitoring</h1>
<p>Networking is another very important thing that needs to be mornitored. <em>netstat</em> does a fairly good job for a fixed point of time&#8217;s status, don&#8217;t we need a bit more than that?</p>
<h3>iftop</h3>
<p>iftop can show current port and ip of the host and the destination, provided this you can use <em>netstat</em> to find out what process is behind a typical service. This can also show in bars how heavily a service is using the network.</p>
<p>It needs root privilege to run, it also has a .iftoprc file <a href="https://github.com/reicheltd/dotfiles/blob/master/.iftoprc" target="_blank">available</a> for configuring defaults.</p>
<h3>nload</h3>
<p>nload doesn&#8217;t need root privilege to run, so the functionality is even simpler. Just monitoring the load on network. Press F2 for its configuration.</p>
<p>nload is available in rpmforge for CentOS.</p>
<p>Overall, these are the basic level system monitoring tools, and there are many more like those. For enterprise environment monitoring, there are much more sophisticated tools available. </p>
<p>In recent releases of GNOME, KDE and maybe others, they provide a GUI based system monitoring tools too. See what fits you the most.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://luxing.im/a-few-system-monitoring-tools-under-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">202</post-id>	</item>
	</channel>
</rss>
