<?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>SurlyJake</title>
	<atom:link href="http://www.surlyjake.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.surlyjake.com</link>
	<description>notes on my technical whigmaleeries</description>
	<lastBuildDate>Tue, 09 Feb 2010 20:51:12 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ZFS Cant rm: No space left on device</title>
		<link>http://www.surlyjake.com/freebsd8/zfs-cant-rm-no-space-left-on-device/</link>
		<comments>http://www.surlyjake.com/freebsd8/zfs-cant-rm-no-space-left-on-device/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 22:52:42 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[FreeBSD8]]></category>
		<category><![CDATA[ZFS]]></category>
		<category><![CDATA[dd]]></category>
		<category><![CDATA[Filesystem]]></category>
		<category><![CDATA[rm command]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=582</guid>
		<description><![CDATA[If you completely fill up a zfs pool, it wont let you delete files on it. What you CAN do, is pick a scapegoat file to wipe out or remove a snapshot. Then you will be able to use the rm command. what I did:
# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
themirror       39G     39G      [...]]]></description>
			<content:encoded><![CDATA[<p>If you completely fill up a zfs pool, it wont let you delete files on it. What you CAN do, is pick a scapegoat file to wipe out or remove a snapshot. Then you will be able to use the rm command. what I did:</p>
<pre><code># df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
themirror       39G     39G      0B   100%    /home/jacob/themirror</code>
<code># rm 3gfile
rm: 3gfile: No space left on device</code>
<code># dd if=/dev/null of=3gfile
0+0 records in
0+0 records out
0 bytes transferred in 0.000046 secs (0 bytes/sec)</code>
<code># rm 3gfile</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/freebsd8/zfs-cant-rm-no-space-left-on-device/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD error in /boot/loader.conf</title>
		<link>http://www.surlyjake.com/freebsd8/freebsd-error-in-bootloader-conf/</link>
		<comments>http://www.surlyjake.com/freebsd8/freebsd-error-in-bootloader-conf/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 21:29:41 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[FreeBSD8]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=572</guid>
		<description><![CDATA[While experimenting with ZFS in FreeBSD, I made some tweaks to the vk.kmem_size variable in /boot/loader.conf. when setting it like this:
#/boot/loader.conf
vm.kmem_size="1024"
everything worked, but I wanted to see what would happen if i doubled it. Unfortunately, setting vm.kmem_size to 2048 kept the FreeBSD kernel from booting. At startup it would just do this:
panic: kmem_suballoc: bad status [...]]]></description>
			<content:encoded><![CDATA[<p>While experimenting with ZFS in FreeBSD, I made some tweaks to the vk.kmem_size variable in /boot/loader.conf. when setting it like this:</p>
<pre><code>#/boot/loader.conf
vm.kmem_size="1024"</code></pre>
<p>everything worked, but I wanted to see what would happen if i doubled it. Unfortunately, setting vm.kmem_size to 2048 kept the FreeBSD kernel from booting. At startup it would just do this:</p>
<pre><code>panic: kmem_suballoc: bad status return of 3
cpuid = 0</code></pre>
<p>To fix the erroneous variable setting, I had to :</p>
<p>1. Reboot.</p>
<p>2. Wait for the FreeBSD Boot menu. (the screen that lists Default, ACPI disabled, safe, and single user modes)</p>
<p>3. Press 6 to select &#8220;Escape to loader prompt&#8221;</p>
<p>4. At the loader prompt, type &#8220;show&#8221;. This will provide all the default variable settings. press the spacebar to page down. In my case, at the end, the incorrect variable was: vm.kmem_size=&#8221;2048&#8243;.</p>
<p>5. to switch it back and allow the system to boot, type</p>
<pre><code>set (variable)=(correct value)</code></pre>
<p>in my case this was:</p>
<pre><code>set vm.kmem_size=1024M</code></pre>
<p>6. type</p>
<pre><code>boot</code></pre>
<p>When you are finished with all that fun, you should edit the /boot/loader.conf file back so you don&#8217;t have to do this again.<br />
Thanks to &#8220;crsd&#8221; from the FreeBSD IRC channel for the help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/freebsd8/freebsd-error-in-bootloader-conf/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Debian eth0, eth1, eth2, in Virtualbox or VMware Virtual machines when copying</title>
		<link>http://www.surlyjake.com/linux/debian-etch/debian-eth0-eth1-eth2-etc-in-vms-when-copying/</link>
		<comments>http://www.surlyjake.com/linux/debian-etch/debian-eth0-eth1-eth2-etc-in-vms-when-copying/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 19:44:17 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Etch]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[eth]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=60</guid>
		<description><![CDATA[Debian uses udev. Udev handles mapping MAC&#8217;s to the appropriate /dev/eth(X) file. If you copy a Virtual machine, Udev will remember the MAC address of the old NIC. When you copy the machine, the virtual host usually generates a new MAC address for the VM.
Udev will assign the new Device to eth1, eth2, and so [...]]]></description>
			<content:encoded><![CDATA[<p>Debian uses udev. Udev handles mapping MAC&#8217;s to the appropriate /dev/eth(X) file. If you copy a Virtual machine, Udev will remember the MAC address of the old NIC. When you copy the machine, the virtual host usually generates a new MAC address for the VM.<br />
Udev will assign the new Device to eth1, eth2, and so on. If you want to change your NIC assignments make Udev forget the old MAC.<br />
In Debian 5 (lenny) it is in this file:</p>
<pre><code>/etc/udev/rules.d/70-persistent-net.rules</code></pre>
<p>In Debian 4 (etch) it is in this file:</p>
<pre><code>/etc/udev/rules.d/z25_persistent-net.rules</code></pre>
<p>To apply changes in Lenny: &#8220;udevadm trigger&#8221; or &#8220;udevtrigger&#8221; (in Etch)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/debian-etch/debian-eth0-eth1-eth2-etc-in-vms-when-copying/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Karmic install cannot login (gdm freezes) Nvidia</title>
		<link>http://www.surlyjake.com/linux/karmic-install-cannot-login-gdm-freezes-nvidia/</link>
		<comments>http://www.surlyjake.com/linux/karmic-install-cannot-login-gdm-freezes-nvidia/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 17:13:46 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu Karmic]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[gdm]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[nvidia drivers]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=560</guid>
		<description><![CDATA[On a fresh install of karmic, using an Nvidia 7800 GT. When I went to click on my username to log in, some artifacts would appear on the screen, then the system would freeze. hard. Couldnt even ctrl+alt to another console. Installing the Nvidia drivers fixed the issue. To fix it:

Do a hard reset on [...]]]></description>
			<content:encoded><![CDATA[<p>On a fresh install of karmic, using an Nvidia 7800 GT. When I went to click on my username to log in, some artifacts would appear on the screen, then the system would freeze. hard. Couldnt even ctrl+alt to another console. Installing the Nvidia drivers fixed the issue. To fix it:</p>
<ol>
<li>Do a hard reset on the machine</li>
<li>When you arrive at the GDM screen, DO NOT CLICK ON ANYTHING.</li>
<li>press CTRL + ALT + F5. Your screen will switch over to a text console.</li>
<li>Log in.</li>
<li>Install the Nvidia glx driver</li>
<pre><code>sudo aptitude install nvidia-glx-new</code></pre>
<li>Reboot the machine.</li>
<pre><code>sudo reboot</code></pre>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/karmic-install-cannot-login-gdm-freezes-nvidia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 32 (x86) or 64 (AMD64) detection in batch files</title>
		<link>http://www.surlyjake.com/windows/windows-32-x86-or-64-amd64-detection-in-batch-files/</link>
		<comments>http://www.surlyjake.com/windows/windows-32-x86-or-64-amd64-detection-in-batch-files/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 21:53:04 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[amd64]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[batch files]]></category>
		<category><![CDATA[processor architecture]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=556</guid>
		<description><![CDATA[While there are a lot of ways to detect for a 64 bit version of windows. you can test for %programFiles(x86)%, but handling the output and writing the IF comparisons is messy.
In Batch files, you can easily check for architecture by using the &#8220;processor_architecture&#8221; variable. x86 versions of windows will have this set to &#8220;x86&#8243;, [...]]]></description>
			<content:encoded><![CDATA[<p>While there are a lot of ways to detect for a 64 bit version of windows. you can test for %programFiles(x86)%, but handling the output and writing the IF comparisons is messy.</p>
<p>In Batch files, you can easily check for architecture by using the &#8220;processor_architecture&#8221; variable. x86 versions of windows will have this set to &#8220;x86&#8243;, and x64 versions &#8220;x64&#8243;. Heres an easy example:</p>
<pre><code>@echo off
IF %processor_architecture% == AMD64 echo This is a 64-bit version of windows
IF %processor_architecture% == x86 echo this is a 32-bit version of windows.
pause</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/windows/windows-32-x86-or-64-amd64-detection-in-batch-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uninstall ALL Versions of WinZip Batch Script</title>
		<link>http://www.surlyjake.com/windows/uninstall-all-versions-of-winzip-batch-script/</link>
		<comments>http://www.surlyjake.com/windows/uninstall-all-versions-of-winzip-batch-script/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 20:43:34 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[batch script]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[taskkill]]></category>
		<category><![CDATA[windows management instrumentation]]></category>
		<category><![CDATA[wmic]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=545</guid>
		<description><![CDATA[I have been struggling with this for quite a while, and ran into a lot of issues with all of the different versions on our network. There are people with 100 line .vbs scripts to do this, and I think this is much simpler:
@echo off
REM
REM
REM    Detects winzip and silently uninstalls
REM    There is a un-stoppable pop-up [...]]]></description>
			<content:encoded><![CDATA[<p>I have been struggling with this for quite a while, and ran into a lot of issues with all of the different versions on our network. There are people with 100 line .vbs scripts to do this, and I think this is much simpler:</p>
<pre><code>@echo off
REM
REM
REM    Detects winzip and silently uninstalls
REM    There is a un-stoppable pop-up window. so this will kill
REM    all instances of  IE after the UN-installation.
REM
REM
REM
taskkill /F /IM wzqkpick.exe
wmic product where "name like '%%winzip%%'" call Uninstall
REM
REM This section is for WinZip &lt;12
REM
If Exist "%programfiles(x86)%\Winzip\winzip32.exe" GOTO 64
If Exist "%programfiles%\Winzip\winzip32.exe" "%programfiles%\WinZip\Winzip32.exe" /Uninstallx
taskkill /F /IM iexplore.exe
GOTO :END
:64
"%programfiles(x86)%\WinZip\Winzip32.exe" /Uninstallx
taskkill /F /IM iexplore.exe
:END</code></pre>
<p>For getting rid of WinZip 12, the magic happens in the &#8216;wmic&#8217; line. It searches all of the installed product&#8217;s names for &#8220;winzip&#8221; and will uninstall anything it finds. This only works for products that use MSI&#8217;s. If you ran this outside of a batch file, you will have to use a single % percentage sign instead of the %% double percentage sign&#8230; Windows scripting sucks, and that&#8217;s just the way it is. Same thing that happens in &#8220;FOR&#8221; loops. </p>
<p>I never knew anything about the Windows management instrumentation control (wmic) until now, but I will be sure to exploit it&#8217;s features. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/windows/uninstall-all-versions-of-winzip-batch-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tethered Blackberry Modem on Ubuntu Karmic</title>
		<link>http://www.surlyjake.com/linux/ubuntu-karmic/tethered-blackberry-modem-on-ubuntu-karmic/</link>
		<comments>http://www.surlyjake.com/linux/ubuntu-karmic/tethered-blackberry-modem-on-ubuntu-karmic/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 22:54:43 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Ubuntu Karmic]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[modem]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[verizon]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=540</guid>
		<description><![CDATA[Using your blackberry as a 3G (in my case) modem proved to be Incredibly simple. There are five million different methods to do this and many have you compiling stuff and editing text files. I love those sorts of things, but this is much easier. I Wish that I had tried this sooner.
**Confirmed using Blackberry [...]]]></description>
			<content:encoded><![CDATA[<p>Using your blackberry as a 3G (in my case) modem proved to be Incredibly simple. There are five million different methods to do this and many have you compiling stuff and editing text files. I love those sorts of things, but this is much easier. I Wish that I had tried this sooner.</p>
<p>**Confirmed using Blackberry Tour (9630) on Verizon. **</p>
<p>What we will do is use a program called &#8216;barry&#8217;. <a href="http://www.netdirect.ca/software/packages/barry" target="_blank">http://www.netdirect.ca/software/packages/barry</a> All we need to do is install some packages from the repository below. These commands are from the terminal, so launch it from &#8220;Applications -> Accessories -> Terminal&#8221; in the Menu.</p>
<p>Edit /etc/apt/sources.list</p>
<pre><code>sudo nano /etc/apt/sources.list</code></pre>
<p>add these lines:</p>
<pre><code>deb http://ppa.launchpad.net/doctormo/barry-snapshot/ubuntu karmic main
deb-src http://ppa.launchpad.net/doctormo/barry-snapshot/ubuntu karmic main</code></pre>
<p>install the repositories key. </p>
<pre><code>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 113659DF</code></pre>
<p>Now update your package list</p>
<pre><code>sudo aptitude update</code></pre>
<p>and install the programs:</p>
<pre><code>sudo aptitude install libbarry0 barry-util barrybackup-gui</code></pre>
<p>Thats it! now to create the connection, the command will vary depending on your provider. The ones they have preconfigured are: ATT Cingular, China Mobile, KPN Nederland, O2 Ireland, Rogers, Sprint, T-Mobile US, Verizon.<br />
the syntax is :<br />
sudo pppd call barry-{provider}</p>
<p>for Verizon:</p>
<pre><code>sudo pppd call barry-verizon</code></pre>
<p>You&#8217;ll see a bunch of output, and it&#8217;ll tell you that the connection is up. to close it down, press (CTRL+C). Make it pretty by creating an application launcher on your desktop.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/ubuntu-karmic/tethered-blackberry-modem-on-ubuntu-karmic/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Compiz desktop in Debian Squeeze</title>
		<link>http://www.surlyjake.com/linux/compiz-desktop-in-debian-squeeze/</link>
		<comments>http://www.surlyjake.com/linux/compiz-desktop-in-debian-squeeze/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:32:00 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Squeeze]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[compiz]]></category>
		<category><![CDATA[Compizconfig]]></category>
		<category><![CDATA[cube]]></category>
		<category><![CDATA[gdm]]></category>
		<category><![CDATA[window decoration]]></category>
		<category><![CDATA[window decorations]]></category>
		<category><![CDATA[window management]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=530</guid>
		<description><![CDATA[Getting compiz running on squeeze is surprising easy. Debian has included a document to help set it up, but there are a few little things necessary to get it to be usable.
1. Get the packages installed.
apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-main
2.Follow the instructions here:  http://wiki.debian.org/Compiz to customize your /etc/X11/xorg.conf file
3. restart gdm
/etc/init.d/gdm restart
4. open up a [...]]]></description>
			<content:encoded><![CDATA[<p>Getting compiz running on squeeze is surprising easy. Debian has included a document to help set it up, but there are a few little things necessary to get it to be usable.</p>
<p>1. Get the packages installed.</p>
<pre><code>apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-main</code></pre>
<p>2.Follow the instructions here:  <a href="http://wiki.debian.org/Compiz" target="_blank">http://wiki.debian.org/Compiz</a> to customize your /etc/X11/xorg.conf file</p>
<p>3. restart gdm</p>
<pre><code>/etc/init.d/gdm restart</code></pre>
<p>4. open up a terminal and type</p>
<pre><code>compiz --replace</code></pre>
<p>5. If a went well, you should see everything flash around as it redraws your desktop.</p>
<p>6. My window decorations (title bars) dissapeared when I enabled compiz. Additionally, i couldn&#8217;t drag windows by clicking on the title bar. To fix this: go to</p>
<p>a. System -&gt; Preferences -&gt; Compizconfig Settings Manager<br />
b. Scroll down to the &#8220;Effects&#8221; section and enable &#8220;Window decoration&#8221;<br />
c. Scroll down to &#8220;Window Management&#8221; and enable &#8220;Move Window&#8221;</p>
<p>7. If you want to use the desktop cube and/or workspaces, you will need more than the single or dual workspaces provided by default.</p>
<p>a. System -&gt; Preferences -&gt; Compizconfig Settings Manager<br />
b. Click &#8220;General options&#8221;<br />
c. Select the &#8220;Desktop size&#8221; tab.<br />
d. Set the &#8220;Horizontal Virtual size&#8221; to whatever you want. For a cube&#8230; 4</p>
<p>8. If you want compiz to start automatically with GNOME:</p>
<p>Add &#8220;compiz &#8211;replace&#8221; to &#8220;Desktop -&gt; Preferences -&gt; Sessions -&gt; Startup Programs&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/compiz-desktop-in-debian-squeeze/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Vmware &#8211; Unable to change virtual machine power state: Internal error.</title>
		<link>http://www.surlyjake.com/linux/vmware-unable-to-change-virtual-machine-power-state-internal-error/</link>
		<comments>http://www.surlyjake.com/linux/vmware-unable-to-change-virtual-machine-power-state-internal-error/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 13:43:23 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Jaunty]]></category>
		<category><![CDATA[killall]]></category>
		<category><![CDATA[SIGKILL]]></category>
		<category><![CDATA[SIGTERM]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[Workstation]]></category>
		<category><![CDATA[zombie]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=528</guid>
		<description><![CDATA[Ran into this while running Vmware Workstation under Ubuntu Jaunty. I got an error while shutting down the machine through an NX session.
This is a result of a zombie &#8216;vmware-vmx&#8217; process running. All you need to do is kill the process. This command sends &#8217;signal 9&#8242; to the process. When sent to a program, SIGKILL [...]]]></description>
			<content:encoded><![CDATA[<p>Ran into this while running Vmware Workstation under Ubuntu Jaunty. I got an error while shutting down the machine through an NX session.</p>
<p>This is a result of a zombie &#8216;vmware-vmx&#8217; process running. All you need to do is kill the process. This command sends &#8217;signal 9&#8242; to the process. When sent to a program, SIGKILL causes it to terminate immediately. In contrast to SIGTERM and SIGINT, this signal cannot be caught or ignored. For more information: <a href="http://en.wikipedia.org/wiki/SIGKILL" target="_blank">more sigkill info</a>.</p>
<pre><code>killall -s9 vmware-vmx</code></pre>
<p>After that, I was able to start up the virtual machine without issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/vmware-unable-to-change-virtual-machine-power-state-internal-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux command line bandwidth monitor</title>
		<link>http://www.surlyjake.com/linux/linux-command-line-bandwidth-monitor/</link>
		<comments>http://www.surlyjake.com/linux/linux-command-line-bandwidth-monitor/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 21:50:48 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[eth]]></category>
		<category><![CDATA[iface]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=521</guid>
		<description><![CDATA[You can find out how much bandwidth your linux machine is using with a simple tool called &#8220;bwm-ng&#8221;. In Debian, install it with
aptitude install bwm-ng
Then, just type &#8216;bwm-ng&#8217; in the command line. It will give you something like this:
bwm-ng v0.6 (probing every 5.000s), press 'h' for help
  input: /proc/net/dev type: rate
  -  [...]]]></description>
			<content:encoded><![CDATA[<p>You can find out how much bandwidth your linux machine is using with a simple tool called &#8220;bwm-ng&#8221;. In Debian, install it with</p>
<pre><code>aptitude install bwm-ng</code></pre>
<p>Then, just type &#8216;bwm-ng&#8217; in the command line. It will give you something like this:</p>
<pre><code>bwm-ng v0.6 (probing every 5.000s), press 'h' for help
  input: /proc/net/dev type: rate
  -         iface                   Rx                   Tx                Total
  ==============================================================================
               lo:           0.00 KB/s            0.00 KB/s            0.00 KB/s
             eth0:        2221.47 KB/s           48.13 KB/s         2269.60 KB/s
  ------------------------------------------------------------------------------
            total:        2221.47 KB/s           48.13 KB/s         2269.60 KB/s</code></pre>
<p>Pressing the &#8220;h&#8221; key while it is running wil actually pull up a nice menu to change some of the options you are looking at.</p>
<p>bwm-ng is very basic, &#8220;<strong>iptraf</strong>&#8221; is another tool that provides some more functionality if you want to drill further into what is moving in and out of your box.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/linux-command-line-bandwidth-monitor/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! -->