<?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>Rolling shells &#187; Fedora</title>
	<atom:link href="http://shell.burgas.org/tag/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://shell.burgas.org</link>
	<description>All the things i find useful for linux and network.</description>
	<lastBuildDate>Sat, 05 Jun 2010 07:14:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>linux disk statistics with dstat and disk device names</title>
		<link>http://shell.burgas.org/2009/06/linux-disk-statistics-with-dstat-and-disk-device-names/</link>
		<comments>http://shell.burgas.org/2009/06/linux-disk-statistics-with-dstat-and-disk-device-names/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 16:22:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://shell.burgas.org/?p=97</guid>
		<description><![CDATA[Something interesting i spotted on Karansbir&#8217;s blog: Running dstat normally gives you something like this : # dstat --nocolor ----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system-- usr sys idl wai hiq siq&#124; read writ&#124; recv send&#124; in out &#124; int csw 3 0 97 0 0 0&#124; 820k 456k&#124; 0 0 &#124; 800B 866B&#124;1054 255 And you [...]]]></description>
			<content:encoded><![CDATA[<p>Something interesting i spotted on Karansbir&#8217;s blog:</p>
<p>Running dstat normally gives you something like this :</p>
<blockquote>
<pre># dstat --nocolor
----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system--
usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw
  3   0  97   0   0   0| 820k  456k|   0     0 | 800B  866B|1054   255</pre>
</blockquote>
<p>And you can split the disk metrics up based on devices using something like this :</p>
<blockquote>
<pre># dstat -D sda,sdb,total --nocolor
----total-cpu-usage---- --dsk/sda-- --dsk/sdb-- -dsk/total- -net/total- ---paging-- ---system--
usr sys idl wai hiq siq| read  writ: read  writ: read  writ| recv  send|  in   out | int   csw
  1   1  97   0   0   0| 176k   77k:  30k  162k: 411k  478k|   0     0 |3608B 4005B|1447  1458
 33   2  63   0   1   2|   0     0 :   0   216k:   0   432k|2470k 1611k|   0     0 |2915  6967
 31   2  65   0   1   1|   0     0 :   0     0 :   0     0 |2210k 1338k|   0     0 |2866  6051</pre>
</blockquote>
<p>But you can also get deeper level device names / nodes to measure &#8211; which is required in many cases if you have drivers for storage creating nodes further down the tree than /dev. Eg. I have a setup where there are four mysql instances running, each with its own dedicated storage :</p>
<blockquote>
<pre># mount | grep srv
/dev/cciss/c0d1 on /var/lib/mysql/node1 type ext3 (rw)
/dev/cciss/c0d2 on /var/lib/mysql/node2 type ext3 (rw)
/dev/cciss/c0d3 on /var/lib/mysql/node3 type ext3 (rw)
/dev/cciss/c0d4 on /var/lib/mysql/node4 type ext3 (rw)
/dev/cciss/c0d5 on /srv/wal type ext3 (rw)</pre>
</blockquote>
<p>so in this case, to get dstat reporting working you need to mention just the component level, like this :</p>
<blockquote>
<pre># dstat -D cciss/c0d1,cciss/c0d2,cciss/c0d3 --nocolor
----total-cpu-usage---- dsk/cciss/c dsk/cciss/c dsk/cciss/c -net/total- ---paging-- ---system--
usr sys idl wai hiq siq| read  writ: read  writ: read  writ| recv  send|  in   out | int   csw
  3   0  97   0   0   0| 209k   89k: 201k   86k: 204k   85k|   0     0 | 799B  865B|1055   256
 90   1   8   1   0   0|3196k   68k: 764k    0 : 816k   24k|1067k 1650k|   0     0 |1999   609
 95   1   3   1   0   0|2548k    0 :   0  4084k:2448k 5700k| 660k  791k|   0     0 |1611   571
 96   1   2   1   0   0|2628k    0 : 808k    0 :1620k    0 | 352k  798k|   0     0 |1835  1605</pre>
</blockquote>
<p>And you get the details, for each block device.</p>
]]></content:encoded>
			<wfw:commentRss>http://shell.burgas.org/2009/06/linux-disk-statistics-with-dstat-and-disk-device-names/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH without password</title>
		<link>http://shell.burgas.org/2009/05/ssh-without-password/</link>
		<comments>http://shell.burgas.org/2009/05/ssh-without-password/#comments</comments>
		<pubDate>Sat, 23 May 2009 08:01:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://shell.burgas.org/?p=83</guid>
		<description><![CDATA[Your aim You want to use Linux and OpenSSH to automize your tasks. Therefore you need an automatic login from host A / user a to Host B / user b. You don&#8217;t want to enter any passwords, because you want to call ssh from a within a shell script. How to do it First [...]]]></description>
			<content:encoded><![CDATA[<h2>Your aim</h2>
<p>You want to use Linux and OpenSSH to automize your tasks. Therefore you need an <strong>automatic</strong> login from host A / user a to Host B / user b. You don&#8217;t want to enter any passwords, because you want to call <tt>ssh</tt> from a within a shell script.</p>
<h2>How to do it</h2>
<p>First log in on A as user a and generate a pair of authentication keys.  Do not enter a passphrase:</p>
<pre class="shell">a@A:~&gt; ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/a/.ssh/id_rsa):
Created directory '/home/a/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/a/.ssh/id_rsa.
Your public key has been saved in /home/a/.ssh/id_rsa.pub.
The key fingerprint is:
3e:4f:05:79:3a:9f:96:7c:3b:ad:e9:58:37:bc:37:e4 a@A</pre>
<p>Now use <tt>ssh</tt> to create a directory <tt>~/.ssh</tt> as user b on B. (The directory may already exist, which is fine):</p>
<pre class="shell">a@A:~&gt; ssh b@B mkdir -p .ssh
b@B's password:</pre>
<p>Finally append a&#8217;s new public key to <tt>b@B:.ssh/authorized_keys</tt> and enter b&#8217;s password one last time:</p>
<pre class="shell">a@A:~&gt; cat .ssh/id_rsa.pub | ssh b@B 'cat &gt;&gt; .ssh/authorized_keys'
b@B's password:</pre>
<p>From now on you can log into B as b from A as a without password:</p>
<pre class="shell">a@A:~&gt; ssh b@B hostname
B</pre>
<p><strong>A note</strong> from one of our readers:  Depending on your version of SSH you might also have to do the following changes:</p>
<ul>
<li>Put the public key in <tt>.ssh/authorized_keys2</tt></li>
<li>Change the permissions of <tt>.ssh</tt> to <tt>700</tt></li>
<li>Change the permissions of <tt>.ssh/authorized_keys2</tt> to <tt>640</tt></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://shell.burgas.org/2009/05/ssh-without-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First test build of Fedora 11 is out now</title>
		<link>http://shell.burgas.org/2009/02/first-test-build-of-fedora-11-is-out-now/</link>
		<comments>http://shell.burgas.org/2009/02/first-test-build-of-fedora-11-is-out-now/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 07:18:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://shell.burgas.org/?p=65</guid>
		<description><![CDATA[The first test build of the upcoming Fedora 11 is out: &#8220;The Fedora project is proud to present the availability of Fedora 11 (Leonidas) Alpha. The Alpha release provides the first opportunity for the wider community to become involved with testing Fedora 11 by way of Rawhide.&#8221; Some of the more interesting features of this release include: [...]]]></description>
			<content:encoded><![CDATA[<p>The first test build of the upcoming <a href="http://distrowatch.com/fedora">Fedora</a> 11 is out: &#8220;<span class="Quote">The Fedora project is proud to present the availability of Fedora 11 (Leonidas) Alpha. The Alpha release provides the first opportunity for the wider community to become involved with testing Fedora 11 by way of Rawhide.</span>&#8221; Some of the more interesting features of this release include: &#8220;<span class="Quote">Windows Cross Compiler (mingw32-*); ext4 and Btrfs file systems, mew volume control; PackageKit firmware support; GNOME 2.26 development snapshot, KDE 4.2 RC 2 and Xfce 4.6 Beta; NetBeans 6.5, Python 2.6, Git 1.6.1.1.</span>&#8221; Read the <a href="https://www.redhat.com/archives/fedora-announce-list/2009-February/msg00004.html">release announcement</a> and <a href="https://fedoraproject.org/wiki/Fedora_11_Alpha_release_notes">release notes </a>for more information. </p>
<p><a href="http://fedoraproject.org/en/get-prerelease">Download</a> the installable live CD images from these <a href="http://mirrors.fedoraproject.org/publiclist/Fedora/11-Alpha/">Fedora mirrors</a> or <a href="http://torrent.fedoraproject.org/">via BitTorrent</a>: <a href="http://download.fedoraproject.org/pub/fedora/linux/releases/test/11-Alpha/Live/i686/F11-Alpha-i686-Live.iso">F11-Alpha-i686-Live.iso</a> (636MB, <a href="http://download.fedoraproject.org/pub/fedora/linux/releases/test/11-Alpha/Live/i686/SHA1SUM">SHA1</a>, <a href="http://torrent.fedoraproject.org/torrents//Fedora-11-Alpha-i686-Live.torrent">torrent</a>), <a href="http://download.fedoraproject.org/pub/fedora/linux/releases/test/11-Alpha/Live/i686/F11-Alpha-i686-Live-KDE.iso">F11-Alpha-i686-Live-KDE.iso</a> (698MB, <a href="http://download.fedoraproject.org/pub/fedora/linux/releases/test/11-Alpha/Live/i686/SHA1SUM">SHA1</a>, <a href="http://torrent.fedoraproject.org/torrents//Fedora-11-Alpha-i686-Live-KDE.torrent">torrent</a>), <a href="http://download.fedoraproject.org/pub/fedora/linux/releases/test/11-Alpha/Live/x86_64/F11-Alpha-x86_64-Live.iso">F11-Alpha-x86_64-Live.iso</a> (641MB, <a href="http://download.fedoraproject.org/pub/fedora/linux/releases/test/11-Alpha/Live/x86_64/SHA1SUM">SHA1</a>, <a href="http://torrent.fedoraproject.org/torrents//Fedora-11-Alpha-x86_64-Live.torrent">torrent</a>),<a href="http://download.fedoraproject.org/pub/fedora/linux/releases/test/11-Alpha/Live/x86_64/F11-Alpha-x86_64-Live-KDE.iso">F11-Alpha-x86_64-Live-KDE.iso</a> (703MB, <a href="http://download.fedoraproject.org/pub/fedora/linux/releases/test/11-Alpha/Live/x86_64/SHA1SUM">SHA1</a>, <a href="http://torrent.fedoraproject.org/torrents//Fedora-11-Alpha-x86_64-Live-KDE.torrent">torrent</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://shell.burgas.org/2009/02/first-test-build-of-fedora-11-is-out-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
