<?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>Incredible Vehicle &#187; *nix</title>
	<atom:link href="http://incrediblevehicle.com/tag/nix/feed/" rel="self" type="application/rss+xml" />
	<link>http://incrediblevehicle.com</link>
	<description>(It's a blog.)</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:00:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>System accounting tools</title>
		<link>http://incrediblevehicle.com/2009/07/16/system-accounting-tools/</link>
		<comments>http://incrediblevehicle.com/2009/07/16/system-accounting-tools/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 04:27:39 +0000</pubDate>
		<dc:creator>Matthew</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[*nix]]></category>

		<guid isPermaLink="false">http://incrediblevehicle.com/?p=656</guid>
		<description><![CDATA[I like playing around with operating systems. I installed Windows 7 RC a few weeks ago, for instance. And then a couple of weeks ago, I installed Ubuntu 9.04. I&#8217;m sticking with Ubuntu for now, despite Flash not having any sound. One thing guaranteed to bring on swearing is an OS that&#8217;s tanking. Some process [...]]]></description>
			<content:encoded><![CDATA[<p>I like playing around with operating systems. I installed Windows 7 RC a few weeks ago, for instance. And then a couple of weeks ago, I installed Ubuntu 9.04. I&#8217;m sticking with Ubuntu for now, despite Flash not having any sound.</p>

<p>One thing guaranteed to bring on swearing is an OS that&#8217;s tanking. Some process sucks up CPU or disk and pulls down the whole OS with it. *nix flavored operating systems make this easier to deal with by exposing OS internals and providing you with tools to process that information.</p>

<p>What&#8217;s bothered me until now is that I had no idea how to audit things like who&#8217;s using up the most CPU cycles, who&#8217;s taking up all the network bandwidth and so on. My rough equivalent was <code>ps -eo c,args | tail -n +2 | sort</code>, wrapped up in a convenience function. I was looking at NetBSD stuff and stumbled across a few tools under the <a href="http://www.netbsd.org/docs/guide/en/chap-tuning.html">configuration, administering, and tuning</a> section. These tools surely have Linux counterparts, if they aren&#8217;t mostly the same.</p>

<p>Of particular interest to me were:</p>

<ul>
    <li><a href="http://linux.die.net/man/1/iostat"><code>iostat(1)</code></a></li>
    <li><code><a href="http://linux.die.net/man/1/lastcomm">lastcomm(1)</a></code></li>
    <li><span style="font-family: monospace, 'Times New Roman', 'Bitstream Charter', Times, fantasy;"><a href="http://linux.die.net/man/8/sa">sa(8)</a></span></li>
</ul>

<p>sysstat appears to be a collection of tools in Linux.</p>

<p>I still haven&#8217;t found a good network auditing tool. I suppose <a href="http://www.wireshark.org/">wireshark</a> is a viable choice, coming as it does with <a href="http://www.wireshark.org/docs/man-pages/">command line tools</a>. I&#8217;ll have to play around&#8212; I don&#8217;t really want low-level packet dumps, and a list of open connections from <a href="http://linux.die.net/man/8/netstat"><code>netstat(8)</code></a> isn&#8217;t quite what I want, either. I&#8217;ll have to play around. And of course if you have any suggestions, feel free to drop &#8216;em in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://incrediblevehicle.com/2009/07/16/system-accounting-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
