<?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>Linux User Group of Mauritius &#187; OS</title>
	<atom:link href="http://lugm.org/tag/os/feed/" rel="self" type="application/rss+xml" />
	<link>http://lugm.org</link>
	<description>Promoting open source software in our beautiful island</description>
	<lastBuildDate>Fri, 04 May 2012 12:30:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>What do you think of Google Chrome OS?</title>
		<link>http://lugm.org/2009/07/09/what-do-you-think-of-google-chrome-os/</link>
		<comments>http://lugm.org/2009/07/09/what-do-you-think-of-google-chrome-os/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 07:41:02 +0000</pubDate>
		<dc:creator>Avinash Meetoo</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[strategy]]></category>

		<guid isPermaLink="false">http://lugm.org/?p=216</guid>
		<description><![CDATA[Two days ago, Google announced the Google Chrome OS (Operating System) project. Google Chrome OS can be seen as Linux with a special window manager to only allow one application: the Google Chrome web browser. In essence, a computer running Google Chrome OS will only have one application, a web browser. This means that the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="alignnone size-full wp-image-217" title="20090709-google-chrome" src="http://lugm.org/wp-content/uploads/2009/07/20090709-google-chrome.jpg" alt="20090709-google-chrome" width="248" height="249" /></p>
<p style="text-align: left;">Two days ago, Google <a href="http://googleblog.blogspot.com/2009/07/introducing-google-chrome-os.html">announced the Google Chrome OS (Operating System) project</a>.</p>
<p style="text-align: left;">Google Chrome OS can be seen as Linux with a special window manager to only allow one application: the Google Chrome web browser. In essence, a computer running Google Chrome OS will only have one application, a web browser. This means that the user will only use web-based applications presumably (but not forcibly) from Google (e.g. Gmail, Google Docs, etc.)</p>
<p style="text-align: left;">Google will initially launch this OS on netbooks (those ultra small laptops with small screens.) Netbooks account for only a few % of the market and most people use them for browsing only so this seems a sensible strategy (it would have been stupid to launch the OS on full-fledged PCs as people would have immediately requested for "Photoshop on the web".)</p>
<p style="text-align: left;">Our friend, Fake Steve, is <a href="http://fakesteve.blogspot.com/2009/07/lets-all-take-deep-breath-and-get-some.html">adamant that building Google Chrome OS is not a good stategy for Google</a>. In my opinion, he is correct when he questions the business logic of Google. You see, Chrome OS is going to be free (like most Linux distributions), has one good browser (like most Linux distributions), with good support for Google apps (like most Linux distribuions) <strong>but </strong>is going to be costly to build for Google (unlike most Linux distributions which exist already.) So why build yet another Linux distribution (which is what Google Chrome OS is in essence...) Why don't Google use something which exists already?</p>
<p style="text-align: left;">What do you think?</p>
]]></content:encoded>
			<wfw:commentRss>http://lugm.org/2009/07/09/what-do-you-think-of-google-chrome-os/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>/proc le coffre aux trésors</title>
		<link>http://lugm.org/2009/06/25/proc-le-coffre-aux-tresors/</link>
		<comments>http://lugm.org/2009/06/25/proc-le-coffre-aux-tresors/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 13:40:24 +0000</pubDate>
		<dc:creator>Dominique Derrier</dc:creator>
				<category><![CDATA[Tip]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[proc]]></category>
		<category><![CDATA[systeme]]></category>

		<guid isPermaLink="false">http://lugm.org/?p=148</guid>
		<description><![CDATA[Autour du kernel, nous utilisons tous une foule de programmes pour récupérer les informations et utiliser notre système du mieux possible. Sous linux, toutes ces informations sont accessibles via /proc. Un peu de curiosité vous montrera les bijoux techniques qu'il est possible de récupérer. Processus /proc permet de connaitre tous les processus qui tournent sur [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://lugm.org/wp-content/uploads/2009/06/coffre_tresor.jpg" alt="coffre_tresor" title="coffre_tresor" width="64" height="57" class="alignleft size-full wp-image-186" />Autour du kernel, nous utilisons tous une foule de programmes pour récupérer les informations et utiliser notre système du mieux possible. Sous linux, toutes ces informations sont accessibles via /proc. Un peu de curiosité vous montrera les bijoux techniques qu'il est possible de récupérer.<br />
<span id="more-148"></span></p>
<h2>Processus</h2>
<p>/proc permet de connaitre tous les processus qui tournent sur la machine. Chaque chiffre correspond au PID de processus, à l'intérieur se trouvent toutes les informations concernant le programme.</p>
<ul>
<li><strong>exe</strong>: le nom de l'executable</li>
<li><strong>cmdline</strong>: les paramètres de lancement</li>
<li><strong>root</strong>: le chroot du programme</li>
<li><strong>environ</strong>: les variables d'environnement valables pour le programme.</li>
<li><strong>fd/</strong> la liste des fichiers ouverts.</li>
<li><strong>maps</strong>: les liens avec les bibliothèques</li>
<li><strong>status:</strong> informations Ram, User,...</li>
</ul>
<p>Si vous supprimez des fichiers en cours d'utilisation, il est possible de copier le fichier qui est dans /proc/$PID/fd/[numero].</p>
<p><code>cp /proc/1/exe  /tmp/init.recup</code></p>
<p>/!\ certains root-kit modifient la libproc et peuvent se masquer. Pour faire cela avec /proc il faut recompiler et rebooter le kernel: Ce qui est moins évident à faire.</p>
<h2>Informations Kernel</h2>
<p>Il n'y a pas que les processus mais tout ce qui se passe en "live" sur votre machine.</p>
<ul>
<li>la ram: <a href="file:///proc/meminfo">/proc/meminfo</a> (used,free, swap, commited...)</li>
<li>le cpu: <a href="file:///proc/cpuinfo">/proc/cpuinfo</a> (capacité de traitement, nombre,...)</li>
<li>le réseau: <a href="file:///proc/dev/net">/proc/dev/net </a></li>
<li>le kernel: <a href="file:///proc/kcore">/proc/kcore</a> (gdb /boot/vmlinuz /proc/kcore)</li>
<li>l'activité:  <a href="file:///proc/stat">/proc/stat</a></li>
<li>les disques: <a href="file:///proc/diskstats">/proc/diskstats</a></li>
</ul>
<p>La documentation se trouve dans les sources du kernel et si le coeur vous en dit vous pouvez aller faire un tour dans les fichiers.c pour créer ou adapter à vos besoins.</p>
<h2>Ecriture</h2>
<p>En écrivant dans certains fichiers, il est possible de régler les paramètres du kernel plus ou moins complexes... Pour ma part j'utilise davantage ceux qui concernent le réseau (nf_conntrack_max, ip_forward ...). Mais il y a shmall (pour la mémoire partagée), les sémaphores, swappiness ... group process ...</p>
<p>Dominique DERRIER</p>
<h3>Ref</h3>
<p><a href="file:///usr/src/linux/Documentation/filesystems/proc.txt">file:///usr/src/linux/Documentation/filesystems/proc.txt</a><br />
<a href="file:///usr/src/linux/Documentation/cgroups/cgroups.txt">file:///usr/src/linux/Documentation/cgroups/cgroups.txt</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lugm.org/2009/06/25/proc-le-coffre-aux-tresors/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

