<?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>陈庆&#039;Blog</title>
	<atom:link href="http://www.chenqing.org/feed" rel="self" type="application/rss+xml" />
	<link>http://www.chenqing.org</link>
	<description>记录点点滴滴，关注IT运维，关注生活</description>
	<lastBuildDate>Sun, 20 May 2012 16:02:58 +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>[perl] perl 命令行编程</title>
		<link>http://www.chenqing.org/perl-command-line.html</link>
		<comments>http://www.chenqing.org/perl-command-line.html#comments</comments>
		<pubDate>Sun, 20 May 2012 14:33:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[perl]]></category>
		<category><![CDATA[Scripts programming]]></category>
		<category><![CDATA[command line]]></category>

		<guid isPermaLink="false">http://www.chenqing.org/?p=1081</guid>
		<description><![CDATA[工作中的线上环境有很多的perl命令行的类似一句话的命令，今天总结下perl的命令行编程的一些东西。 -e 后面紧跟着引号里面的字符串是要执行的命令： king@king:~$ perl -e &#8216;print &#8220;hello world \n&#8221;&#8216; hello world 如果是多个命令就可以使用多个-e,这里是不是想到了sed呢？但是要注意的是中间的哪个“;”. king@king:~$ perl -e &#8216;print &#8220;hello world \n&#8221; ;&#8217; -e &#8216;print &#8220;my first perl command line script \n&#8221;&#8216; hello world my first perl command line script -M 导入要使用的模块: king@king:~$ perl -MLWP::Simple -e&#8217;print head &#8220;http://www.chinacache.com&#8221;,&#8221;\n&#8221;&#8216; text/html; charset=utf-81337525116978307200Apache/2.2.3 (CentOS) 另外-M可以判断某个模块是不是已经安装了 -m 的功能和-M类似，区别在于-M 模块名等同于use 模块名，这样会把一些默认的函数或者其它东西引进过来，-m 模块名 [...]]]></description>
		<wfw:commentRss>http://www.chenqing.org/perl-command-line.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[others] 博客搬家了</title>
		<link>http://www.chenqing.org/blog-move-a-new-home.html</link>
		<comments>http://www.chenqing.org/blog-move-a-new-home.html#comments</comments>
		<pubDate>Sun, 20 May 2012 09:44:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[blog 搬家]]></category>

		<guid isPermaLink="false">http://www.chenqing.org/?p=1078</guid>
		<description><![CDATA[各种各样的原因，陈庆&#8217;Blog 经历了几次搬迁，大致的记录是： 2009年初开始玩co.cc的二级域名还有各种CMS系统，BBS系统，并给当时我们的大一的班级整了一个班级网站，也给自己整了一个blog的域名，具体是什么忘记了，也没怎么使用。 2010年申请了.chenqing.info 域名，当时将blog放在了国外的某个免费空间上，放了一段时间后，将blog迁移到学校的服务器上； 2011年6月申请chenqing.org ,原先的chenqing.info 停止使用，将chenqing.org迁到我们6～7人合租的国外vps上； 2012年5月，原先的vps到期，域名到期，域名续了一年，vps改为自己一个人购买，不过打算和另外一个人共用一下。 &#160;]]></description>
		<wfw:commentRss>http://www.chenqing.org/blog-move-a-new-home.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>【分享】CSS 布局:40个教程、技巧、例子和最佳实践</title>
		<link>http://www.chenqing.org/40-css-layout-skills.html</link>
		<comments>http://www.chenqing.org/40-css-layout-skills.html#comments</comments>
		<pubDate>Mon, 19 Mar 2012 03:25:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[布局]]></category>

		<guid isPermaLink="false">http://www.chenqing.org/?p=1067</guid>
		<description><![CDATA[原文地址：http://coolshell.cn/articles/6840.html/comment-page-1 前言： 布局是WEB开发一个重要的课题，进入XHTML/CSS后，使用TABLE布局的方式逐渐淡出，CSS布局以众多优点成为主流，本文将介绍40个基于CSS的web布局的资源和教程。文章的出处在http://www.noupe.com/css/css-layouts-40-tutorials-tips-demos-and-best-practices.html。文中的不少的例子在一本经典的CSS书籍《CCS: The Missing Manual, 2nd Edition》中都可以找到，书可以在亚马逊或者当当上购买到。 正文 基于CSS的布局能提供更灵活布局方式和更强的用户视觉体验。一些重要技巧和关键点可以帮助初学者理解CSS布局的基础和本质。这也是本文成文的原因 ——找到那些完美的布局，完全灵活的，等高栏和工作完美的布局。 因此下面这个列表就是我们整理了网络上关于基于CSS布局的一些技巧，教程和最佳实践的列表。 当然你也可能对下面这些和CSS相关的主题有兴趣： The 7 CSS Hacks that we should use Using CSS to Do Anything: 50+ Creative Examples and Tutorials Using CSS to Fix Anything: 20+ Common Bugs and Fixes &#160; CSS 布局教程 1-使用CSS完成三栏固定布局结构- 这篇文章解释了如何实现一个基于的HTML/CSS来设计一个简单的带有基本要素（顶部的logo条，导航条，文本区，定义分类的中部栏，右边侧栏插入google的120X600的广告区）的固定三栏页面布局。 2-使用CSS设计页面布局- 如何使用CSS文件来为你的站点设计页面布局。 3-如何创建一个水平布局的站点- 创建不同于常规的水平布局的站点技术（译者注：水平布局，客户体验也就仁者见仁了） 例子查看这里 &#124;下载 4-超级简单的两栏布局- 创建不同于常规的水平布局的站点技术（译者注：这里是原作者笔误吧和上面的内容一样）. 例子查看这里 [...]]]></description>
		<wfw:commentRss>http://www.chenqing.org/40-css-layout-skills.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>【linux】使用split大文件切割</title>
		<link>http://www.chenqing.org/linux-split-big-file.html</link>
		<comments>http://www.chenqing.org/linux-split-big-file.html#comments</comments>
		<pubDate>Sun, 11 Mar 2012 16:07:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix&Linux]]></category>

		<guid isPermaLink="false">http://www.chenqing.org/?p=1063</guid>
		<description><![CDATA[[crayon-4fb94d9787b23/]  &#8221;cpisfc-access.log.070025E3OC.CMN-NJ-E-3OC.20120310&#8243; 是切割了文件的前缀 现在默认后面就跟着字母了，  如果加-d 选项后缀就是数字，但最大也到99了，我一个78G的大文件整不了啊，所以用默认的了 然后： [crayon-4fb94d9787b9a/]]]></description>
		<wfw:commentRss>http://www.chenqing.org/linux-split-big-file.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>【分享】	 Expect 教程中文版</title>
		<link>http://www.chenqing.org/linux-expect-learning-cn.html</link>
		<comments>http://www.chenqing.org/linux-expect-learning-cn.html#comments</comments>
		<pubDate>Sat, 03 Mar 2012 16:16:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix&Linux]]></category>
		<category><![CDATA[expect]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.chenqing.org/?p=1048</guid>
		<description><![CDATA[[From] http://www.linuxeden.com/edu/doctext.php?docid=799 　　本教程由*葫芦娃*翻译，并做了适当的修改，可以自由的用于非商业目的。 [BUG] 有不少部分，翻译的时候不能作到“信，达”。当然了，任何时候都没有做到“雅”，希望各位谅解。 [原著] Don Libes: National Institute of Standards and Technology libes@cme.nist.gov [目录] 1.……摘要 2.……关键字 3.……简介 4.……Expect综述 5.……callback 6.……passwd 和一致性检查 7.……rogue 和伪终端 8.……ftp 9.……fsck 10.……多进程控制：作业控制 11.……交互式使用Expect 12.……交互式Expect编程 13.……非交互式程序的控制 14.……Expect的速度 15.……安全方面的考虑 16.……Expect资源 17.……参考书籍 1.[摘要] 现代的Shell对程序提供了最小限度的控制(开始，停止，等等)，而把交互的特性留给了用户。 这意味着有些程序，你不能非交互的运行，比如说passwd。 有一些程序可以非交互的运行，但在很大程度上丧失了灵活性，比如说fsck。这表明Unix的工具构造逻辑开始出现问题。Expect恰恰填补了其中的一 些裂痕，解决了在Unix环境中长期存在着的一些问题。 Expect使用Tcl作为语言核心。不仅如此，不管程序是交互和还是非交互的，Expect都能运用。这是一个小语言和Unix的其他工具配合起来产生强大功能的经典例子。 本部分教程并不是有关Expect的实现，而是关于Expect语言本身的使用，这主要也是通过不同的脚本描述例子来体现。其中的几个例子还例证了Expect的几个新特征。 2.[关键字] Expect,交互，POSIX,程序化的对话，Shell,Tcl,Unix; 3.[简介] 一个叫做fsck的Unix文件系统检查程序，可以从Shell里面用-y或者-n选项来执行。　在手册[1]里面，-y选项的定义是象这样的。 “对于fsck的所有问题都假定一个“yes”响应；在这样使用的时候，必须特别的小心，因为它实际上允许程序无条件的继续运行，即使是遇到了一些非常严重的错误” 相比之下，-n选项就安全的多，但它实际上几乎一点用都没有。这种接口非常的糟糕，但是却有许多的程序都是这种风格。　文件传输程序ftp有一个选项可以禁止交互式的提问，以便能从一个脚本里面运行。但一旦发生了错误，它没有提供的处理措施。 Expect是一个控制交互式程序的工具。他解决了fsck的问题，用非交互的方式实现了所有交互式的功能。Expect不是特别为fsck设计的，它也能进行类似ftp的出错处理。 fsck和ftp的问题向我们展示了象sh,csh和别的一些shell提供的用户接口的局限性。　Shell没有提供从一个程序读和象一个程序写的 功能。这意味着shell可以运行fsck但只能以牺牲一部分fsck的灵活性做代价。有一些程序根本就不能被执行。比如说，如果没有一个用户接口交互式 的提供输入，就没法运行下去。其他还有象Telnet,crypt,su,rlogin等程序无法在shell脚本里面自动执行。还有很多其他的应用程序 在设计是也是要求用户输入的。 Expect被设计成专门针和交互式程序的交互。一个Expect程序员可以写一个脚本来描述程序和用户的对话。接着Expect程序可以非交互的运 行“交互式”的程序。写交互式程序的脚本和写非交互式程序的脚本一样简单。Expect还可以用于对对话的一部分进行自动化，因为程序的控制可以在键盘和 [...]]]></description>
		<wfw:commentRss>http://www.chenqing.org/linux-expect-learning-cn.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>【系统】某站点初始化及相关优化记录</title>
		<link>http://www.chenqing.org/some-site-init-optimization.html</link>
		<comments>http://www.chenqing.org/some-site-init-optimization.html#comments</comments>
		<pubDate>Sun, 19 Feb 2012 09:00:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[REDHAT]]></category>
		<category><![CDATA[Unix&Linux]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.chenqing.org/?p=1039</guid>
		<description><![CDATA[一、搜集信息 1、服务器基本信息 操作系统： [root@localhost ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.1 (Santiago) [root@localhost ~]# uname -r 2.6.32-131.0.15.el6.x86_64 CPU [root@localhost ~]# cat /proc/cpuinfo 物理cpu个数（看physical id） [root@localhost ~]# cat /proc/cpuinfo &#124; grep &#8216;physical id&#8217; &#124; sort &#124;uniq&#124; wc -l 2 有两个物理CPU 每个物理CPU的核数（cores） [root@localhost ~]# cat /proc/cpuinfo &#124; grep &#8216;cpu cores&#8217; &#124; sort &#124;uniq&#124; awk [...]]]></description>
		<wfw:commentRss>http://www.chenqing.org/some-site-init-optimization.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>【分享】HTTP Server开发相关学习资料整理推介</title>
		<link>http://www.chenqing.org/share-http-develop-docs.html</link>
		<comments>http://www.chenqing.org/share-http-develop-docs.html#comments</comments>
		<pubDate>Sun, 19 Feb 2012 03:37:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[shares]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[开发]]></category>

		<guid isPermaLink="false">http://www.chenqing.org/?p=1035</guid>
		<description><![CDATA[原文链接为http://www.codinglabs.org/html/http-server-docs.html，转过来纯属分享。 本文整理了我在学习过程中接触到的一些与HTTP Server有关的资料、文章及书籍，在这里分享给大家，希望对大家有所帮助。 RFC及标准性文档 RFC2616 – Hypertext Transfer Protocol — HTTP/1.1 HTTP协议标准文档，所有从事HTTP相关开发的人员必备参考资料，建议仔细研读。 RFC793 – TRANSMISSION CONTROL PROTOCOL TCP协议标准文档。 The WWW Common Gateway Interface Version 1.1 CGI1.1协议标准文档，描述了Web Server与CGI Application通过CGI协议进行交互的所有细节。 FastCGI Whitepaper FastCGI Specification FastCGI协议相关标准文档，描述了FastCGI协议及Web Server及FastCGI Application如何进行交互。 基础理论资料 The C10K problem 一篇非常著名的讨论高性能HTTP Server的文章，文章作者结合I/O策略详细讨论了高性能HTTP Server的话题。 How to use epoll? A complete example in C 一篇不错的文章，给出了epoll编程的一个实例，有助于理解如何使用epoll。 关于EPOLL的ET与LT工作模式及其他细节 一篇简洁精炼的文章，探讨了edge trigger、level [...]]]></description>
		<wfw:commentRss>http://www.chenqing.org/share-http-develop-docs.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>【linux】Linux 性能及调优指南：了解Linux性能指标</title>
		<link>http://www.chenqing.org/linux-cpu-memory.html</link>
		<comments>http://www.chenqing.org/linux-cpu-memory.html#comments</comments>
		<pubDate>Sat, 10 Dec 2011 13:07:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix&Linux]]></category>
		<category><![CDATA[linux 网络安装 ftp]]></category>

		<guid isPermaLink="false">http://www.chenqing.org/?p=1028</guid>
		<description><![CDATA[在我们了解Linux 操作系统中各种调优参数和性能度量工具前，有必要讨论一下关于系统性能的各种可用指标和他们的意义。我们只涉及了最重 要的一些指标。 处理器性能指标 【CPU Utilization】 CPU 使用率，这可能是最直接的指标了，它表示每个处理器的整体使用率。在IBM System x 架构中，如果在持续一段时间里CPU 使用率超过80%，就可能预示着CPU 出现了瓶颈。 【User Time】 用户时间，表示用户进程所花费的CPU 百分比，包括Nice 时间。在用户时间值很高的情况下，表明系统正在进行实际的工作。 【System Time】 系统时间，表示内核操作所花费的CPU 百分比，包括硬中断(IRQ) 和软中断(SoftIRQ)。系统时间值持续很高表明网络或驱动器堆栈可能存在瓶颈。通常系统只花费很少时间在内核时间上。 【Waiting】 等待，花费在等待I/O 操作所需的CPU 时间总和，与阻塞【Blocked】值相似，系统不应该花费过多的时间等待I/O 操作；否则你应该检查一下I/O子系统各方面性能。 【Idle time】 空闲时间，表示CPU 空闲的百分比。 【Nice time】 Nice 时间，表示花费在执行re-nicing（改变进程的执行顺序和优先级） 进程的CPU 百分比。 【Load average】 平均负载，不是百分比，是TASK_RUNNING 和TASK_UNINTERRUPTIBLE 之和的平均值。如果请求CPU 时间的进程发生阻塞，平均负载将会上升。相反如果每个进程都可以立即执行不会错过CPU周期，平均负载就会降低。 【Runable processes】 可运行进程，表示准备执行的进程。这个值在持续一段时间内应该不会超过物理处理器数量的10 倍，否则CPU 可能存在瓶颈。 【Blocked】 堵塞，在等待I/O 操作完成前，进程是不能继续执行。进程堵塞可能意味着I/O 存在瓶颈。 【Context switch】 [...]]]></description>
		<wfw:commentRss>http://www.chenqing.org/linux-cpu-memory.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>【shell】递归查找某个目录含有某个字符串</title>
		<link>http://www.chenqing.org/shell-digui-grep.html</link>
		<comments>http://www.chenqing.org/shell-digui-grep.html#comments</comments>
		<pubDate>Thu, 08 Dec 2011 13:12:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix&Linux]]></category>
		<category><![CDATA[shell grep 递归]]></category>

		<guid isPermaLink="false">http://www.chenqing.org/?p=1024</guid>
		<description><![CDATA[今天和网兜的老罗汉化cacti，老罗说怎么在linux所有的php文件中查找某个函数名（draw_menu） [root@jiankong cacti]# grep &#8216;draw_menu&#8217; -rl 1pwd 如果进行替换呢 sed -i &#8220;s/draw_menu/menu/g&#8221; 1grep 'draw_menu' -rl . 解释一下： -i 表示inplace edit，就地修改文件 -r 表示搜索子目录 -l 表示输出匹配的文件名 这个命令组合很强大，要注意备份文件。]]></description>
		<wfw:commentRss>http://www.chenqing.org/shell-digui-grep.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>【web】山东理工大学虚拟主机管理系统开发（Linux）</title>
		<link>http://www.chenqing.org/web-virtualmanage-sdut.html</link>
		<comments>http://www.chenqing.org/web-virtualmanage-sdut.html#comments</comments>
		<pubDate>Thu, 24 Nov 2011 08:40:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[REDHAT]]></category>
		<category><![CDATA[Unix&Linux]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sdut]]></category>
		<category><![CDATA[虚拟主机管理]]></category>

		<guid isPermaLink="false">http://www.chenqing.org/?p=1019</guid>
		<description><![CDATA[经过将近一周的不断写，调，测，基本的功能都实现了，下一步将实现更多的功能。 已实现功能： 1系统篇 cpu利用率 内存使用 磁盘使用 uptime 2、用户 增 删 编 3、http 增 删 编 服务重启 4、mysql 增 编辑 删 集成phpmyadmin 5、FTP 增 编 磁盘配额 6、日志 登录 操作 待实现功能 1、打印 2、文件的在线管理 3、面向多用户（类似epanel） &#160;]]></description>
		<wfw:commentRss>http://www.chenqing.org/web-virtualmanage-sdut.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

