<?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>OverLoad It &#187; Server Administration</title>
	<atom:link href="http://www.overloadit.com/category/server-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.overloadit.com</link>
	<description>Overloading a blog</description>
	<lastBuildDate>Thu, 31 May 2012 12:15:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Disk read and write measuring and monitoring</title>
		<link>http://www.overloadit.com/2011/12/16/disk-read-and-write-measuring-and-monitoring/</link>
		<comments>http://www.overloadit.com/2011/12/16/disk-read-and-write-measuring-and-monitoring/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 11:22:27 +0000</pubDate>
		<dc:creator>hitech</dc:creator>
				<category><![CDATA[Commands]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[hard disks]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server Administration]]></category>

		<guid isPermaLink="false">http://www.tjlug.org/?p=510</guid>
		<description><![CDATA[The tools i need are in apt-get install sysstat this will give me the command iostat -x 5 Where the 5 means tell mne about disk usage for all partitions and disks every 5 seconds&#8230; When you stop the command, &#8230; <a href="http://www.overloadit.com/2011/12/16/disk-read-and-write-measuring-and-monitoring/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The tools i need are in<br />
apt-get install sysstat</p>
<p>this will give me the command</p>
<p>iostat -x 5</p>
<p>Where the 5 means tell mne about disk usage for all partitions and disks every 5 seconds&#8230;</p>
<p>When you stop the command, running it again will display data since the last run, there is much more that has to do with IOSTAT that i will come to in a bit, this one here is simply the basic command and usage for my referance</p>
<p>IO stat will display something like the following lines for the second disk that has 4 partitions, the first line is the totals</p>
<p>sdb               0.20     0.20   33.20   16.00   728.00  1392.00    43.09     3.87   41.01   3.04  14.96<br />
sdb1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00<br />
sdb2              0.20     0.00    7.00    0.00   502.40     0.00    71.77     0.06    8.46   7.54   5.28<br />
sdb3              0.00     0.20   25.60   15.40   204.80  1384.00    38.75     3.79   47.41   2.85  11.68</p>
]]></content:encoded>
			<wfw:commentRss>http://www.overloadit.com/2011/12/16/disk-read-and-write-measuring-and-monitoring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LINUX traffic monitor</title>
		<link>http://www.overloadit.com/2010/08/06/linux-traffic-monitor/</link>
		<comments>http://www.overloadit.com/2010/08/06/linux-traffic-monitor/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 10:37:10 +0000</pubDate>
		<dc:creator>hitech</dc:creator>
				<category><![CDATA[hosting]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.tjlug.org/?p=436</guid>
		<description><![CDATA[There are many points and kinds of statistics one may want to monitor on a server (Or a desktop PC), the following are a sample of the things people commonly need 1- By Domain name, when you host people&#8217;s websites, &#8230; <a href="http://www.overloadit.com/2010/08/06/linux-traffic-monitor/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are many points and kinds of statistics one may want to monitor on a server (Or a desktop PC), the following are a sample of the things people commonly need</p>
<p>1- By Domain name, when you host people&#8217;s websites, you need to monitor there traffic, both Email and web, it may be worth mentioning that the only way this can be done is through log filres, he reason behind that is that HTTP and Email requests are pointed at IP addresses and Hostname (Domain name) is only available as data within the stream, something only parsed by the web server and the MTA (Mail transfer agent). Some software to analyze Log files exists and can give you the answers to Domain based network traffic.</p>
<p>2- By PORT, Ethernet card, and IP, For such uses i recomment IPTRAF for live monitoring, and &#8230;.</p>
<p>3- By Virtual machine in environments such as XEN, in that case you can use the ifconfig command to see every virtual adapter&#8217;s traffic usage.</p>
<p>I will come to this post with more soon.</p>
<p>NOTE, for windows network captures (packet sniffers), i have always used a windows utility called wireshark (previously etherial), Microsoft released a very similar utility called Microsoft Network Monitor 3.4 that is compatible with Windows XP and above, When i simply want a graph of usage, i have once used a utility that does the trick called bwmonitor that is for $25, but it does provide you with a 30 day testing period (There is certainly a different application that can do the job and most probably a free one too, i just used this because it was the first i found)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.overloadit.com/2010/08/06/linux-traffic-monitor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>APC config files</title>
		<link>http://www.overloadit.com/2009/04/22/apc-config-files/</link>
		<comments>http://www.overloadit.com/2009/04/22/apc-config-files/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 02:46:33 +0000</pubDate>
		<dc:creator>hitech</dc:creator>
				<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[APACHE]]></category>
		<category><![CDATA[APC]]></category>
		<category><![CDATA[conf]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.tjlug.org/?p=185</guid>
		<description><![CDATA[Tis page is veing updated at APC Debian Once you activate APC from PHP.INI, you should probably use some directives to make this magical invention work. For example, APC and smarty templates don&#8217;t go together bery well, SMARTY caches it&#8217;s &#8230; <a href="http://www.overloadit.com/2009/04/22/apc-config-files/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Tis page is veing updated at <a href="http://www.easywebdns.com/tutorials/Linux/php/APC_ON_DEBIAN_LENNY">APC Debian</a></p>
<p>Once you activate APC from PHP.INI, you should probably use some directives to make this magical invention work.</p>
<p>For example, APC and smarty templates don&#8217;t go together bery well, SMARTY caches it&#8217;s results into PHP files rather than reparsing them, if APC is set not to check for changes in files, it will simply not load the new SMARTY template untill the APC cached version is gone.</p>
<p>But APC is such a beuty, and it translates to lower load on your server.</p>
<p>First, you should understand that on a big PHP server, many changes need to be done.</p>
<p>First, APC data lives in shared memory, By default on a linux system this is usually 33 Megabytes, not enough for one big PHP program, you need to increase it</p>
<p>1- How much shared memory is there now</p>
<p>cat /proc/sys/kernel/shmmax</p>
<p>2- Change that to something suitable</p>
<p>vi /etc/sysctl.conf (Reboot don&#8217;t you think )</p>
<p>remember, Don&#8217;t go too high, if your system gets low on memory and starts swapping, you are out of luck</p>
<p>3- Make sure you know what the settings here do&#8230; what you can change for directories and what you can&#8217;t etc..</p>
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<th>Directive</th>
<th>Description</th>
<th>Use</th>
<th>Warnings</th>
<th>More Notes</th>
</tr>
<tr>
<td>apc.cache_by_default</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.coredump_unmap</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.enable_cli</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.enabled</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.file_update_protection</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.filters</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.gc_ttl</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.include_once_override</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.max_file_size</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.mmap_file_mask</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.num_files_hint</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.report_autofilter</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.rfc1867</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.rfc1867_freq</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.rfc1867_name</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.rfc1867_prefix</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.shm_segments</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.shm_size</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.slam_defense</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.stat</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.stat_ctime</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.ttl</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.user_entries_hint</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.user_ttl</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>apc.write_lock</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.overloadit.com/2009/04/22/apc-config-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

