<?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>Notes on ScopePort &#187; Uncategorized</title>
	<atom:link href="http://blog.scopeport.org/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.scopeport.org</link>
	<description>The ScopePort Blog</description>
	<lastBuildDate>Sun, 07 Feb 2010 01:08:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hacking at night: Working on the ScopePort emergency module</title>
		<link>http://blog.scopeport.org/uncategorized/hacking-night-working-scopeport-emergency-module/</link>
		<comments>http://blog.scopeport.org/uncategorized/hacking-night-working-scopeport-emergency-module/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 22:59:39 +0000</pubDate>
		<dc:creator>Lennart</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.scopeport.org/?p=251</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.scopeport.org/wp-content/uploads/2009/07/hacking_at_night.jpg"><img class="aligncenter size-full wp-image-252" title="hacking_at_night" src="http://blog.scopeport.org/wp-content/uploads/2009/07/hacking_at_night.jpg" alt="Hacking at night: Working on the ScopePort emergency module" width="500" height="376" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scopeport.org/uncategorized/hacking-night-working-scopeport-emergency-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GNOME LaTeX editor</title>
		<link>http://blog.scopeport.org/uncategorized/gnome-latex-editor/</link>
		<comments>http://blog.scopeport.org/uncategorized/gnome-latex-editor/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 12:56:15 +0000</pubDate>
		<dc:creator>Lennart</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dvi]]></category>
		<category><![CDATA[gnome kile]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[pdflatex]]></category>
		<category><![CDATA[ps]]></category>
		<category><![CDATA[texmaker]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://blog.scopeport.org/?p=155</guid>
		<description><![CDATA[
I have been searching for a good GNOME LaTeX editor for a long time after i switched from KDE to GNOME. (My KDE favorite was Kile). I tested some andcame to the result that Texmaker is the best LaTeX editor that does not require the KDE libraries (even though it is based on QT)
Writing LaTeX [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-large wp-image-157" title="Texmaker" src="http://blog.scopeport.org/wp-content/uploads/2009/01/texmaker1-1024x601.png" alt="Texmaker" width="521" height="305" /></p>
<p>I have been searching for a good GNOME <a href="http://en.wikipedia.org/wiki/LaTeX">LaTeX</a> editor for a long time after i switched from KDE to GNOME. (My KDE favorite was <a href="http://kile.sourceforge.net/">Kile</a>). I tested some andcame to the result that <a href="http://www.xm1math.net/texmaker/">Texmaker</a> is the best LaTeX editor that does not require the KDE libraries (even though it is based on QT)</p>
<p>Writing LaTeX with <a href="http://www.vim.org/">vim</a> is also okay but I like to just press F6 and get the generated PDF file opened in my favorite PDF viewer.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scopeport.org/uncategorized/gnome-latex-editor/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>extconf.rb:1:in `require&#8217;: no such file to load</title>
		<link>http://blog.scopeport.org/uncategorized/extconfrb1in-require-file-load/</link>
		<comments>http://blog.scopeport.org/uncategorized/extconfrb1in-require-file-load/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 20:28:02 +0000</pubDate>
		<dc:creator>Lennart</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[abort]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[require]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.scopeport.org/?p=150</guid>
		<description><![CDATA[When a gem installation fails with something like &#8220;extconf.rb:1:in `require&#8217;: no such file to load&#8221; you are probably missing the ruby development packages.
On Ubuntu you can fix this by installing the ruby1.8-dev package. (sudo aptitude install ruby1.8-dev)
]]></description>
			<content:encoded><![CDATA[<p>When a gem installation fails with something like &#8220;extconf.rb:1:in `require&#8217;: no such file to load&#8221; you are probably missing the ruby development packages.</p>
<p>On Ubuntu you can fix this by installing the ruby1.8-dev package. (sudo aptitude install ruby1.8-dev)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scopeport.org/uncategorized/extconfrb1in-require-file-load/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to batch remove EXIF data on GNU/Linux</title>
		<link>http://blog.scopeport.org/uncategorized/batch-remove-exif-data-gnulinux/</link>
		<comments>http://blog.scopeport.org/uncategorized/batch-remove-exif-data-gnulinux/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 09:11:36 +0000</pubDate>
		<dc:creator>Lennart</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[exif]]></category>
		<category><![CDATA[imagemagick]]></category>
		<category><![CDATA[jpeg]]></category>
		<category><![CDATA[mogrify]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[strip]]></category>

		<guid isPermaLink="false">http://blog.scopeport.org/?p=142</guid>
		<description><![CDATA[All you need is the ImageMagick tool &#8220;mogrify&#8221;:
lennart@sundaysister:~$ mogrify -strip *.JPG
]]></description>
			<content:encoded><![CDATA[<p>All you need is the ImageMagick tool &#8220;mogrify&#8221;:</p>
<pre>lennart@sundaysister:~$ mogrify -strip *.JPG</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.scopeport.org/uncategorized/batch-remove-exif-data-gnulinux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gordon Freeman got his equipment: The CERN is safe now</title>
		<link>http://blog.scopeport.org/uncategorized/gordon-freeman-equipment-cern-safe-now/</link>
		<comments>http://blog.scopeport.org/uncategorized/gordon-freeman-equipment-cern-safe-now/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 15:53:30 +0000</pubDate>
		<dc:creator>Lennart</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CERN]]></category>
		<category><![CDATA[gordon]]></category>
		<category><![CDATA[gordon freeman]]></category>
		<category><![CDATA[half life]]></category>
		<category><![CDATA[LHC]]></category>
		<category><![CDATA[reddit]]></category>

		<guid isPermaLink="false">http://blog.scopeport.org/?p=135</guid>
		<description><![CDATA[Disturbing image material appeared when the Large Hadron Collider at the CERN was about to be fired up the first time. Reddit immediately pulled out all the stops and sent Gordon the equipment he needed to fight the head crabs that would appear after the LHC startup.
These days his equipment arrived at the CERN! Thank [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://i38.tinypic.com/2q37yh5.jpg" target="_blank">Disturbing image material</a> appeared when the Large Hadron Collider at the CERN was about to be fired up the first time. <a href="http://blog.reddit.com/2008/09/crowbar-headcrab-and-half-life-strategy.html" target="_blank">Reddit immediately pulled out all the stops</a> and sent Gordon the equipment he needed to fight the head crabs that would appear after the LHC startup.</p>
<p>These days his equipment <a href="http://blog.reddit.com/2008/11/crowbar-arrived-at-cern-freeman-was.html" target="_blank">arrived at the CERN</a>! Thank you reddit. (Oh. And also for all your referers!)</p>
<p>No, really. Every research organisation should be more like the CERN. You could make all of us nerds happy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scopeport.org/uncategorized/gordon-freeman-equipment-cern-safe-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get the most information out of your GNU/Linux processes</title>
		<link>http://blog.scopeport.org/uncategorized/information-gnulinux-processes/</link>
		<comments>http://blog.scopeport.org/uncategorized/information-gnulinux-processes/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 15:13:10 +0000</pubDate>
		<dc:creator>Lennart</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache. processes]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[htop]]></category>
		<category><![CDATA[iotop]]></category>
		<category><![CDATA[lsof]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[top]]></category>
		<category><![CDATA[usage]]></category>

		<guid isPermaLink="false">http://blog.scopeport.org/?p=50</guid>
		<description><![CDATA[Sometimes it is not easy to find out what process is currently slowing down your system or why the mouse is jumping over the screen when it is supposed to follow your hand movements in a kind of gliding motion. I have collected a list of tools to find out what processes consume the most [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes it is not easy to find out what process is currently slowing down your system or why the mouse is jumping over the screen when it is supposed to follow your hand movements in a kind of gliding motion. I have collected a list of tools to find out what processes consume the most of your resources and even how to get an indication of the reason for that.</p>
<h3>CPU and memory usage: top/htop</h3>
<p>Most of you may already know &#8220;top&#8221;. It is the first program to fire up if the system gets unsually slow. top shows you a list of processes &#8211; ordered by their memory and CPU usage.</p>
<div id="attachment_51" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.scopeport.org/wp-content/uploads/2008/09/top.png"><img class="size-full wp-image-51" title="top" src="http://blog.scopeport.org/wp-content/uploads/2008/09/top.png" alt="/usr/bin/top" width="500" height="334" /></a><p class="wp-caption-text">/usr/bin/top</p></div>
<p>As an alternative there is an improved version of top: htop. It has many more options for sorting, searching or display and shows the general system usage in a clearly arranged way.</p>
<div id="attachment_52" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.scopeport.org/wp-content/uploads/2008/09/htop.png"><img class="size-full wp-image-52" title="htop" src="http://blog.scopeport.org/wp-content/uploads/2008/09/htop.png" alt="/usr/bin/htop" width="500" height="334" /></a><p class="wp-caption-text">/usr/bin/htop</p></div>
<p><span style="color: #c0c0c0;"><em>htop might not be a standard part of your distribution but it should be available in the repositories.</em></span></p>
<h3>I/O usage: iotop</h3>
<p>Sometimes programs slow down the system by using too much I/O resources (e.g. when extracting a really big tarball). When the programs don&#8217;t need much CPU resources for heavy I/O resources they might now show up in top or htop. If you want to find out e.g. what is currently hammering your hard disk buffers you can take a look at iotop: It displays processes sorted by I/O usage in a top-like way.</p>
<div id="attachment_53" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.scopeport.org/wp-content/uploads/2008/09/iotop.png"><img class="size-full wp-image-53" title="iotop" src="http://blog.scopeport.org/wp-content/uploads/2008/09/iotop.png" alt="/usr/bin/iotop" width="500" height="334" /></a><p class="wp-caption-text">/usr/bin/iotop</p></div>
<p><span style="color: #c0c0c0;"><em>iotop might not be a standard part of your distribution but it should be available in the repositories.</em></span></p>
<h3>MySQL and Apache</h3>
<p>Sometimes you want to know what consumes most of your MySQL or Apache resources.</p>
<p>If you want to know what queries are currently executed and in what state the operation is you can use the &#8220;SHOW PROCESSLIST;&#8221; SQL command in a MySQL shell:</p>
<div id="attachment_55" class="wp-caption aligncenter" style="width: 509px"><a href="http://blog.scopeport.org/wp-content/uploads/2008/09/showprocesslist1.png"><img class="size-full wp-image-55" title="showprocesslist1" src="http://blog.scopeport.org/wp-content/uploads/2008/09/showprocesslist1.png" alt="SHOW PROCESSLIST;" width="499" height="145" /></a><p class="wp-caption-text">SHOW PROCESSLIST;</p></div>
<p>If your Apache has heavy load you might want to know what requests/files cause this load. There is a program &#8220;apachetop&#8221; that provides this information:</p>
<div id="attachment_56" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.scopeport.org/wp-content/uploads/2008/09/apachetop.png"><img class="size-full wp-image-56" title="apachetop" src="http://blog.scopeport.org/wp-content/uploads/2008/09/apachetop.png" alt="Get the most information out of your GNU/Linux processes" width="500" height="334" /></a><p class="wp-caption-text">/usr/bin/apachetop</p></div>
<p><span style="color: #c0c0c0;"><em>apachetop might not be a standard part of your distribution but it should be available in the repositories.</em></span></p>
<h3>Finding out more about rioting processes</h3>
<p>So you found the process that consumes the resources? Here is the ultimate solution to find out more about the process: /bin/lsof (list open files)</p>
<p>Here are the possibly most useful lsof modes:</p>
<p>Show all open files of the process with given PID: <em>lsof -p [PID]<br />
</em>Show all programs that have currently opened a file: <em>lsof [file]</em><br />
Show all programs that have currently opened a file in a given directory: <em>lsof +D [directory]</em><br />
Show all programs that have a socket related to a given port: <em>lsof -i :[port]</em></p>
<div id="attachment_57" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.scopeport.org/wp-content/uploads/2008/09/lsof-p.png"><img class="size-full wp-image-57" title="lsof-p" src="http://blog.scopeport.org/wp-content/uploads/2008/09/lsof-p.png" alt="Get the most information out of your GNU/Linux processes" width="500" height="262" /></a><p class="wp-caption-text">lsof -p 3773</p></div>
<div id="attachment_58" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.scopeport.org/wp-content/uploads/2008/09/lsof-d.png"><img class="size-full wp-image-58" title="lsof-d" src="http://blog.scopeport.org/wp-content/uploads/2008/09/lsof-d.png" alt="/bin/lsof +D /var/log" width="500" height="282" /></a><p class="wp-caption-text">/bin/lsof +D /var/log</p></div>
<div id="attachment_60" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.scopeport.org/wp-content/uploads/2008/09/lsof-i1.png"><img class="size-full wp-image-60" title="lsof-i1" src="http://blog.scopeport.org/wp-content/uploads/2008/09/lsof-i1.png" alt="/bin/lsof -i 12200" width="500" height="100" /></a><p class="wp-caption-text">/bin/lsof -i :12200</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.scopeport.org/uncategorized/information-gnulinux-processes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora Core 9: No sound with flash?</title>
		<link>http://blog.scopeport.org/uncategorized/fedora-core-9-sound-flash/</link>
		<comments>http://blog.scopeport.org/uncategorized/fedora-core-9-sound-flash/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 08:53:46 +0000</pubDate>
		<dc:creator>Lennart</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[libflashsupport]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://blog.scopeport.org/?p=41</guid>
		<description><![CDATA[If you use Fedora with PulseAudio and have the problem that you don&#8217;t get sound in Flash (SWF) your system might be missing the &#8220;libflashsupport&#8221; package.

yum install libflashsupport
In my case the audio channel of the Youtube video was flickering in the Pulse Audio control and there was no sound at all.
]]></description>
			<content:encoded><![CDATA[<p>If you use Fedora with PulseAudio and have the problem that you don&#8217;t get sound in Flash (SWF) your system might be missing the &#8220;libflashsupport&#8221; package.<br />
<span style="font-family: courier new;"><br />
yum install libflashsupport</span></p>
<p>In my case the audio channel of the Youtube video was flickering in the Pulse Audio control and there was no sound at all.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scopeport.org/uncategorized/fedora-core-9-sound-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
