<?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>hao32的个人日志 &#187; Unix/Linux</title>
	<atom:link href="http://www.hao32.com/category/unix-linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hao32.com</link>
	<description>私人日志记录</description>
	<lastBuildDate>Sat, 04 Feb 2012 19:43:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>解决yum update时提示Transaction Check Error的问题</title>
		<link>http://www.hao32.com/webserver/605.html</link>
		<comments>http://www.hao32.com/webserver/605.html#comments</comments>
		<pubDate>Sat, 04 Feb 2012 12:31:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server构架]]></category>
		<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[Transaction Check Error]]></category>
		<category><![CDATA[yum]]></category>
		<category><![CDATA[yum update]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=605</guid>
		<description><![CDATA[今天帮一个朋友update系统时，发现其中一台server居然提示：
Transaction Check Error:
file /usr/lib/perl5/5.8.8/CGI.pm from install of perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5.8.8-32.el5_6.3.i386
file /usr/lib/perl5/5.8.8/Digest.pm from install of perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5.8.8-32.el5_6.3.i386
<span class="readmore"><a href="http://www.hao32.com/webserver/605.html" title="解决yum update时提示Transaction Check Error的问题" target="_blank">阅读全文——共2226字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/webserver/605.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>关于rsync的断点续传</title>
		<link>http://www.hao32.com/unix-linux/588.html</link>
		<comments>http://www.hao32.com/unix-linux/588.html#comments</comments>
		<pubDate>Thu, 21 Jul 2011 09:06:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[断点续传]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=588</guid>
		<description><![CDATA[本文系转载：http://my.huhoo.net/archives/2008/12/rsync.html
经常copy大文件，由于服务器、路由等网络的不确定性，老是出现
remote server not responding.
于是查了下资料，发现rsync这个工具支持断点续传功能，这里介绍一下。
<span class="readmore"><a href="http://www.hao32.com/unix-linux/588.html" title="关于rsync的断点续传" target="_blank">阅读全文——共2007字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/588.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>处理文件CRLF line terminators的问题</title>
		<link>http://www.hao32.com/unix-linux/565.html</link>
		<comments>http://www.hao32.com/unix-linux/565.html#comments</comments>
		<pubDate>Thu, 23 Jun 2011 13:19:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[CRLF line terminators]]></category>
		<category><![CDATA[dos2unix]]></category>
		<category><![CDATA[文件格式]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=565</guid>
		<description><![CDATA[今天协助研发去处理一份文件对比的事情，就是对比file1.log和file2.log中相同重复的行。
发现很容易实现，直接：
$ for i in `cat file1.log`; do grep $i ./file2.log; done &#62; sameline.log
结果就发现只有一条，研发的同学说至少有上万条记录，我开始找原因：
<span class="readmore"><a href="http://www.hao32.com/unix-linux/565.html" title="处理文件CRLF line terminators的问题" target="_blank">阅读全文——共834字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/565.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用 cURL 度量 Web 站点的响应时间</title>
		<link>http://www.hao32.com/web-program/562.html</link>
		<comments>http://www.hao32.com/web-program/562.html#comments</comments>
		<pubDate>Thu, 23 Jun 2011 04:15:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[Web程序]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[响应时间]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=562</guid>
		<description><![CDATA[发现一个curl的非常不错的用法，特此分享一下。
本文转载于：http://tonychiu.blog.51cto.com/656605/573527
$ curl -o /dev/null -s -w %{time_connect}:%{time_starttransfer}:%{time_total} \
http://www.WEB.com
<span class="readmore"><a href="http://www.hao32.com/web-program/562.html" title="使用 cURL 度量 Web 站点的响应时间" target="_blank">阅读全文——共581字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/web-program/562.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>通过dd命令实现MBR备份恢复</title>
		<link>http://www.hao32.com/unix-linux/549.html</link>
		<comments>http://www.hao32.com/unix-linux/549.html#comments</comments>
		<pubDate>Sat, 12 Mar 2011 09:42:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[MBR]]></category>
		<category><![CDATA[MBR备份]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=549</guid>
		<description><![CDATA[转载自《Linux运维趋势》第6期
标题：通过dd命令实现MBR备份恢复  作者：张勤
MBR（Master Boot Record，主引导记录）是计算机开机后访问硬盘时所必须要读取的首个扇区。MBR记录着硬盘本身的相关信息以及硬盘各个分区的大小及位置信息，是数据信息的重要入口。如果MBR受到破坏，硬盘上的基本数据结构信息将会丢失，需要用繁琐的方式试探性的重建数据结构信息后才可能重新访问原先的数据。MBR内的信息是fdisk格式化的时候写入的。
在Linux下使用如下命令备份MBR：
<span class="readmore"><a href="http://www.hao32.com/unix-linux/549.html" title="通过dd命令实现MBR备份恢复" target="_blank">阅读全文——共338字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/549.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>linux win 文件夹、文件字符集转换</title>
		<link>http://www.hao32.com/unix-linux/541.html</link>
		<comments>http://www.hao32.com/unix-linux/541.html#comments</comments>
		<pubDate>Thu, 23 Dec 2010 16:03:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[字符集]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=541</guid>
		<description><![CDATA[纯记录：
服务端linux下vsftpd的目录在windows客户机下添加网络位置的时候发现原来U8的中文文件夹和目录都变成乱码！
convmv 可以修改字符集，遂——
find输出的东西我没找到办法自动加入反斜杠转义，那就换引号，用xargs不容易加入引号，最终使用下面的方法最为靠谱。
<span class="readmore"><a href="http://www.hao32.com/unix-linux/541.html" title="linux win 文件夹、文件字符集转换" target="_blank">阅读全文——共266字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/541.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决unable to find device node for dev ad4s1b in dev故障</title>
		<link>http://www.hao32.com/unix-linux/526.html</link>
		<comments>http://www.hao32.com/unix-linux/526.html#comments</comments>
		<pubDate>Fri, 11 Jun 2010 01:27:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[unable to find device node]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=526</guid>
		<description><![CDATA[昨天在一台比较老的机器上安装freebsd 8，结果分区完毕之后，在Commit步骤地时候，提示：
“Unable to find device node for /dev/ad4s1b in /dev!
The creation of filesystems will be aborted.”
看样子是硬盘的一些问题，我手头也没可用的额外的硬盘来测试，在google查阅了大量资料，众说纷纭吧，有说的DMA模式的问题，有说因为分区的时候不应该使用“W”，搞到凌晨 2点多，最后发现了这篇：http://www.pubbs.net/201002/freebsd/3072-80-install-fails-to-create-filesystem-quotunable-to-find-devicenodequot.html
<span class="readmore"><a href="http://www.hao32.com/unix-linux/526.html" title="解决unable to find device node for dev ad4s1b in dev故障" target="_blank">阅读全文——共975字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/526.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>解决error: &#039;struct _zend_compiler_globals&#039; has no member named &#039;extended_info&#039;</title>
		<link>http://www.hao32.com/unix-linux/519.html</link>
		<comments>http://www.hao32.com/unix-linux/519.html#comments</comments>
		<pubDate>Wed, 14 Apr 2010 08:04:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[apd]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=519</guid>
		<description><![CDATA[今天给php增加apd（Advanced PHP debugger）的扩展，发现如下错误：
/usr/local/src/apd-1.0.1/php_apd.c:967: error: 'struct _zend_compiler_globals' has no member named 'extended_info'
后google到：http://lists.freebsd.org/pipermail/freebsd-ports/2010-April/060557.html
前因后果不再阐述，见下文：
<span class="readmore"><a href="http://www.hao32.com/unix-linux/519.html" title="解决error: 'struct _zend_compiler_globals' has no member named 'extended_info'" target="_blank">阅读全文——共690字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/519.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>关于irqbalance服务</title>
		<link>http://www.hao32.com/webserver/511.html</link>
		<comments>http://www.hao32.com/webserver/511.html#comments</comments>
		<pubDate>Sun, 04 Apr 2010 05:57:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server构架]]></category>
		<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[irqbalance]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=511</guid>
		<description><![CDATA[之前由于精简系统的服务而没有开启irqbalance服务，但是irqbalance现在被证实为非常有必要的服务，他的主要功能是可以合理的调配使用各个CPU核心，特别是对于目前主流多核心的CPU，简单的说就是能够把压力均匀的分配到各个CPU核心上，对提升性能有很大的帮助，我引用一段话：
启用 irqbalance 服务，既可以提升性能，又可以降低能耗。irqbalance 用于优化中断分配，它会自动收集系统数据以分析使用模式，并依据系统负载状况将工作状态置于 Performance mode 或 Power-save mode。处于 Performance mode 时，irqbalance 会将中断尽可能均匀地分发给各个 CPU core，以充分利用 CPU 多核，提升性能。处于 Power-save mode 时，irqbalance 会将中断集中分配给第一个 CPU，以保证其它空闲 CPU 的睡眠时间，降低能耗。(详见：http://www.irqbalance.org/documentation.php)
<span class="readmore"><a href="http://www.hao32.com/webserver/511.html" title="关于irqbalance服务" target="_blank">阅读全文——共648字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/webserver/511.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>进程上下文和中断上下文</title>
		<link>http://www.hao32.com/unix-linux/505.html</link>
		<comments>http://www.hao32.com/unix-linux/505.html#comments</comments>
		<pubDate>Fri, 19 Mar 2010 01:34:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[上下文]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=505</guid>
		<description><![CDATA[转载于：http://blog.chinaunix.net/u3/93613/showart_1907687.html
进程上下文和中断上下文是操作系统中很重要的两个概念，这两个概念在操作系统课程中不断被提及，是最经常接触、看上去很懂但又说不清楚到底怎么回事的两个概念。造成这种局面的原因，可能是原来接触到的操作系统课程的教学总停留在一种浅层次的理论层面上，没有深入去研究。

处理器总处于以下三种状态之一：
<span class="readmore"><a href="http://www.hao32.com/unix-linux/505.html" title="进程上下文和中断上下文" target="_blank">阅读全文——共4920字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/505.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

