<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_企业管理与软件工程</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/9903/rss</id><updated>2012-02-02T02:39:57Z</updated><author><name>原材料</name><uri>http://www.cnblogs.com/yecllsl/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yecllsl/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/9903/rss"/><entry><id>http://www.cnblogs.com/yecllsl/archive/2012/02/02/2335433.html</id><title type="text">语言分类，我接触和我想学习的</title><summary type="text">本文信息和数据出自hyperpolyglot，将当前主流编程语言分为11个大类，分别为：解释型(PHP,Perl,Python,Ruby,Tcl,Lua,JavaScript,Io)、操作系统自动化型(POSIX Shell,AppleScript,PowerShell)、C++风格(C++,Objective C,Java,C#)、Pascal风格(Pascal,Ada,PostgreSQL,MySQL)、Lisp类(Common Lisp,Scheme,Clojure,Emacs Lisp)、类型推理类(Standard ML,OCaml,Scala,Haskell)、声明型(Prolog</summary><published>2012-02-02T02:40:00Z</published><updated>2012-02-02T02:40:00Z</updated><author><name>原材料</name><uri>http://www.cnblogs.com/yecllsl/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yecllsl/archive/2012/02/02/2335433.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yecllsl/archive/2012/02/02/2335433.html"/><content type="html">&lt;div&gt;&lt;div&gt;&lt;span style="line-height: 25px; text-align: left; background-color: #f8fafd; font-family: 黑体; "&gt;本文信息和数据出自&lt;/span&gt;&lt;a href="http://hyperpolyglot.org/" target="_blank" style="color: #015fb6; text-decoration: none; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f8fafd; "&gt;hyperpolyglot&lt;/a&gt;&lt;span style="line-height: 25px; text-align: left; background-color: #f8fafd; font-family: 黑体; "&gt;，将当前主流编程语言分为11个大类，分别为：&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;ol&gt;&lt;li&gt;&lt;strong style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;解释型&lt;/strong&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;(PHP,Perl,&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; color: red; "&gt;Python&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;,Ruby,Tcl,Lua,&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; color: red; "&gt;JavaScript&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;,Io)、&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;操作系统自动化型&lt;/strong&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;(&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; color: red; "&gt;POSIX Shell&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;,AppleScript,PowerShell)、&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;C++风格&lt;/strong&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;(&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; color: red; "&gt;C++&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;,Objective C,&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; color: red; "&gt;Java&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;,&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; color: red; "&gt;C#&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;)、&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;Pascal风格&lt;/strong&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;(Pascal,Ada,PostgreSQL,MySQL)、&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;Lisp类&lt;/strong&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;(Common Lisp,Scheme,&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; color: #ff00ff; "&gt;Clojure&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;,Emacs Lisp)、&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;类型推理类&lt;/strong&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;(Standard ML,OCaml,&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; color: #ff00ff; "&gt;Scala&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;,Haskell)、&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;声明型&lt;/strong&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;(Prolog,&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; color: #ff00ff; "&gt;Erlang&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;,Oz)、&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;Concatenative&lt;/strong&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;语言(Forth,PostScript,Factor)、&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;数据转换&lt;/strong&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;(&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; color: #ff0000; "&gt;SQL&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;,Awk,Pig,XSLT)、&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;计算机代数&lt;/strong&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;(Maxima,Mathematica,Sage)、&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;strong style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;数字分析类&lt;/strong&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;(Fortran,MATLAB,&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; color: #ff00ff; "&gt;R&lt;/span&gt;&lt;span style="background-color: #f8fafd; font-family: 黑体; line-height: 25px; text-align: left; "&gt;,NumPy)。&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/p&gt;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/yecllsl/aggbug/2335433.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/yecllsl/archive/2012/02/02/2335433.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/yecllsl/archive/2011/07/07/2100188.html</id><title type="text">CPU的内部物理结构介绍【转】自己留着看看</title><summary type="text">使用电脑人几乎没有人不知道CPU，每个人都能说出一些关于CPU的知识。那么你看到过CPU内部是什么样子的吗？下面可以让各位一探CPU内部秘密。（1）CPU的基本结构：CPU一般包括三部分：基板、核心、针脚 如上图，目前的CPU一般就是就是包括三个部分：基板、核心、针脚。其中基板一般为PCB，是核心和针脚的载体。核心和针脚，都是通过基板来固定的，基板将核心和针脚连成一个整体。核心，内部是众多的晶体管构成的电路。如上图，在核心放大图片中，可以看到不同的颜色的部分，同一个颜色代表的是为实现一种功能而设计的一类硬件单元，这个硬件单元是由大量的晶体管构成的。不同的颜色代表不同的硬件单元。需要注意的是，在</summary><published>2011-07-07T08:00:00Z</published><updated>2011-07-07T08:00:00Z</updated><author><name>原材料</name><uri>http://www.cnblogs.com/yecllsl/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yecllsl/archive/2011/07/07/2100188.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yecllsl/archive/2011/07/07/2100188.html"/><content type="html">&lt;span  style="font-family: 宋体; font-size: 13px; line-height: 22px; "&gt;&lt;p&gt;使用电脑人几乎没有人不知道CPU，每个人都能说出一些关于CPU的知识。那么你看到过CPU内部是什么样子的吗？下面可以让各位一探CPU内部秘密。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;（1）CPU的基本结构：&lt;/p&gt;&lt;p align="center"&gt;&lt;img height="282" src="http://www.e-works.net.cn/images/128145942803750000.jpg" width="547" align="middle"  alt="" /&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;font size="1"&gt;CPU一般包括三部分：基板、核心、针脚&lt;/font&gt;&lt;/p&gt;&lt;p&gt;如上图，目前的CPU一般就是就是包括三个部分：基板、核心、针脚。其中基板一般为PCB，是核心和针脚的载体。核心和针脚，都是通过基板来固定的，基板将核心和针脚连成一个整体。核心，内部是众多的晶体管构成的电路。如上图，在核心放大图片中，可以看到不同的颜色的部分，同一个颜色代表的是为实现一种功能而设计的一类硬件单元，这个硬件单元是由大量的晶体管构成的。不同的颜色代表不同的硬件单元。需要注意的是，在实际的芯片中，并没有颜色的区分，这里只是为了直观，采用不同的颜色代表不同的硬件单元。&lt;/p&gt;&lt;p&gt;（2）CPU核心的基本单位&amp;#8212;&amp;#8212;晶体管：&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 我们常说到的AMD主流的CPU早期的Palomino核心和Thoroughbred-B核心采用了3750万晶体管，Barton核心采用了5400万晶体管，Opteron核心采用了1.06亿晶体管；INTEL的P4的Northwood核心采用了5500万晶体管，Prescott核心采用了1.25亿晶体管等等，其实指的就是构成CPU核心的最基本的单位&amp;#8212;&amp;#8212;晶体管的数目。如此庞大数目的晶体管，是什么样子的，是如何工作的呢？请看下图。&lt;/p&gt;&lt;p align="center"&gt;&lt;img height="297" src="http://www.e-works.net.cn/images/128145941168437500.jpg" width="500" align="middle"  alt="" /&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;font size="1"&gt;CPU核心内最基本的单位三极管&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;然后将这样的晶体管，通过电路连接成一个整体，分成不同的执行单元，分别处理不同的数据，这样协同工作，就形成了具有强大处理能力的CPU了。那么这些电路是怎么连接在一起的呢。这就是下面要说的铜互连技术，请看下图。&lt;/p&gt;&lt;p align="center"&gt;&lt;img height="335" src="http://www.e-works.net.cn/images/128145943968593750.jpg" width="543" align="middle"  alt="" /&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;font size="1"&gt;CPU是以硅为原料上制成晶体管&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;如上图，CPU是以硅为原料上制成晶体管，覆上二氧化硅为绝缘层，然后在绝缘层上布金属导线(现在是铜)，独立的晶体管连接成工作单元。现在采用了多层的铜互连技术。这样传递的信号相互干扰更小，品质更好。反应出来就是CPU的超频能力更强。现在的CPU已经采用了7层铜互连技术，以后还会采用更多层的铜互连技术。&lt;/p&gt;&lt;p align="left"&gt;上面的采用了铜互连技术的线路设计，就又有一个问题出现了，这么负责的线路，中间是怎么绝缘的呢？&lt;/p&gt;&lt;p align="center"&gt;&lt;img height="294" src="http://www.e-works.net.cn/images/128145944982656250.jpg" width="452" align="middle"  alt="" /&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;font size="1"&gt;在CPU核心内电流从铜互连的导线上流过&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;这就是现在常听到一个热门的名词&amp;#8212;&amp;#8212;Low-K(低介电常数绝缘体)工艺。其实这个low-k物质，就是为了在铜互连层进行绝缘的。从图上可以看到，在CPU核心内，电流从铜互连的导线上流过，low-k便用来绝缘。那么为什么要采用low-k这种技术呢？原因其实很简单：采用low-k作为绝缘物质，让线间漏电降低，使芯片的发热量低。目前大部分0.13微米制程产品都采用性能较低的FSG氟化玻璃介质作为绝缘层。这种芯片的发热量，远比采用low-k工艺的芯片发热量高。&lt;/p&gt;&lt;p align="left"&gt;但是由于Low-k技术的芯片质地较脆，在芯片封装上需要较高工艺。原来计划在0.18微米制造当中就计划采用低介电常数绝缘体Low-k技术，但是直到0.13微米制程开始成熟。由于Low-k技术的芯片质地较脆，在芯片封装上需要较高工艺，所以一直以来都受到良品率的困绕。不过现在low-k工艺已经基本成熟，配合先进的制程，降低了发热，便可以做出频率更高的CPU来。&lt;/p&gt;&lt;/span&gt;&lt;span  style="font-family: 宋体; font-size: 13px; line-height: 22px; "&gt;（3）CPU使用中2个问题的解释：&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 对于CPU来说，很多使用者都关系两个问题：CPU超频和CPU寿命。&lt;p&gt;&lt;/p&gt;&lt;p align="left"&gt;A、关于CPU的超频：CPU为什么可以超频呢？什么影响着超频的能力呢？&lt;/p&gt;&lt;p align="left"&gt;CPU的制造过程就是用激光在晶圆上蚀刻电路。所谓蚀刻就采用一定波长的紫外透过掩膜(掩膜，相当与洗相片时候用的底版)后照射在硅晶圆上，将掩膜上的电路图像完整地复制到硅晶圆上。蚀刻过程中关键是所使用的紫外线的波长和晶圆的质量。波长越短的紫外线干扰和衍射现象就越不明显，晶体管就可以实现越小的线宽。&lt;/p&gt;&lt;p align="left"&gt;晶圆纯度越高直径越大，所生产的芯片性能越好良品率就越高。硅晶圆生产过程中，离晶圆中心越远就越容易出现坏点。因此从硅晶圆中心向外扩展，坏点数是呈上升趋势。同时纯度越高，所生产出来的芯片瑕疵越少，频率越高。&lt;/p&gt;&lt;p align="center"&gt;&lt;img height="424" src="http://www.e-works.net.cn/images/128145946853125000.jpg" width="549" align="middle"  alt="" /&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;font size="1"&gt;晶体成型，切片，刻蚀电路是制造处理器必须的过程&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;这里就可以看出来，在CPU激光蚀刻过程中是不分频率的，也就是说都是按照同样的工艺生产的。但是在生产过程中，会出现较完美的芯片，和有瑕疵的芯片。&lt;/p&gt;&lt;p align="left"&gt;然后还要经过筛选标注的过程。就是按照不同的芯片的质量，优秀的标注为高的频率的产品，有瑕疵的为了稳定，标注为频率较低的产品。&lt;/p&gt;&lt;p align="left"&gt;CPU的标注过程也是一个严格的检测过程。由于受到晶圆纯度和加工过程中不确定因素的影响，不可能所有的CPU都是按照设计生产出来的完美的产品。这就需要把产品按照实际性能的高低区分开来。这就需要严格的检测。CPU的稳定性检测是很严格的，其测试环境是相当苛刻的。通过大量的繁杂的多任务运算对CPU的稳定性进行全面的测试。这样选择一个保守的，能全部稳定通过所有严格测试的程序的频率，然后进行产品标志。这就是CPU的频率。而日常的使用中，可能使用几年也不会出现这么繁重的多任务使用环境，所以即使进行了超频，也还是稳定的。这就是几乎所有的CPU都可以进行超频的原因所在。因为厂商已经为了稳定性的考虑，留了一部分频率提升的空间。&lt;/p&gt;&lt;p align="left"&gt;此外，还有一种情况是将同一批次生产的高频版本中的一些CPU标注为低频版本。这大多发生在新工艺采用的初期，产能不足而不得已采用的方法，量不会太大，这就是所谓的超频极品。&lt;/p&gt;&lt;p align="left"&gt;其实影响超频能力就是制造工艺。只要工艺提高了，超频能力自然也就高了。&lt;/p&gt;&lt;p align="left"&gt;B、超频后对CPU寿命的影响：&lt;/p&gt;&lt;p align="left"&gt;超频对CPU的寿命是有影响的，这一点勿庸置疑。现在我们来分析一下，超频对CPU的频有何影响。在实际的超频过程中，我们都会提高电压，适当的提高电压，可以使晶体管中处理的信号更清晰，晶体管开关速度更快。但是过高的电压会将晶体管击穿，这就是我们常说的烧毁。同时高的电压，会引起发热的增加，发热带来的长期不良的影响就是常说的电子迁移。&lt;/p&gt;&lt;p align="center"&gt;&lt;img height="287" src="http://www.e-works.net.cn/images/128145949623281250.jpg" width="398" align="middle"  alt="" /&gt;&lt;/p&gt;&lt;p align="center"&gt;&lt;font size="1"&gt;超频对CPU的影响&lt;/font&gt;&lt;/p&gt;&lt;p align="left"&gt;电子迁移就是电子的流动导致的金属原子迁移的现象。在芯片内部，电流强度很高的金属导线上，电子的流动给了金属原子一个动量，累积到一定的时候，金属原子便会脱离金属原子间的引力，随着电流到处流动。这样就导致了核心线路表面形成空洞或小丘。这是一个不可逆转的永久的伤害，即使它是个缓慢的过程。当积累到一定的时候，便会形成核心内部电路的短路，于是芯片就报废了。这个过程，类似与流水冲刷河床，一点点的搬运石块，最后很有可能阻断了河道。&lt;/p&gt;&lt;p align="left"&gt;可以说在CPU芯片内部，电子迁移是一直存在的，只是正常使用情况下，由于是个漫长的影响过程，所以在正常的使用过程中，我们可以忽略电子迁移对芯片寿命的影响。但是超频带来的高温，使得金属原子的电子迁移大大加强。&lt;/p&gt;&lt;p align="left"&gt;温度的升高会自由电子的动能大大增加，对金属原子的碰撞也更频繁和强烈。同时，随着温度的增加，金属原子也会变得活跃，过度活跃就会带来两种结果，一种是原本狭小的引线会因为金属原子的离去而断路，或者在线间绝缘处堆积而形成线间短路。&lt;/p&gt;&lt;p align="left"&gt;温度越高，电子迁移现象就越容易发生，高温会增加电子运动和金属原子热运动的活跃程度，如此一来即便是超频之下系统仍旧稳定，但是工作在极限的处理器很有可能在稍微波动的电压中灰飞烟灭，因为不论是内部的短路或者断路，都将影响处理器的逻辑运算功能。&lt;br /&gt;所以超频带来的高温，不仅影响着CPU工作的稳定性，还在逐渐的缩短着CPU的寿命。所以提倡：根据芯片体质，适度超频。不可追求极限频率，这样对CPU来说，是大大有害的，同时注意做好散热工作。&lt;/p&gt;&lt;/span&gt;&lt;span  style="font-family: 宋体; font-size: 13px; line-height: 22px; "&gt;&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;img src="http://www.cnblogs.com/yecllsl/aggbug/2100188.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/yecllsl/archive/2011/07/07/2100188.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/yecllsl/archive/2011/07/06/2099260.html</id><title type="text">提高编程技巧的十大方法</title><summary type="text">想做1.学习一门新的编程语言（Learn a new programming language）学习一门新的编程语言将有助于你开拓新的思维方式，特别是当你使用不熟悉的语言时，你将学习到很多种思维方法应用到语言中。而所学习到的新思维方式，你可以运用在你所熟知的语言中。甚至有时你会使用新学的语言进行你的重要项目。提供学习经验包含：Lisp(Schemeis good),Forth,PostScriptorFactor(stack-oriented programming languages),J(wonderfularray programming language),Haskell(strong</summary><published>2011-07-06T07:23:00Z</published><updated>2011-07-06T07:23:00Z</updated><author><name>原材料</name><uri>http://www.cnblogs.com/yecllsl/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yecllsl/archive/2011/07/06/2099260.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yecllsl/archive/2011/07/06/2099260.html"/><content type="html">&lt;span  style="font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; "&gt;&lt;p style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;&lt;strong&gt;&lt;span style="color: red; "&gt;想做&lt;/span&gt;&lt;span&gt;1.&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;学习一门新的编程语言（Learn a new programming language&lt;/strong&gt;&lt;strong&gt;）&lt;/strong&gt;&lt;/p&gt;&lt;p style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;学习一门新的编程语言将有助于你开拓新的思维方式，特别是当你使用不熟悉的语言时，你将学习到很多种思维方法应用到语言中。而所学习到的新思维方式，你可以运用在你所熟知的语言中。甚至有时你会使用新学的语言进行你的重要项目。&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;提供学习经验包含：&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Lisp_%28programming_language%29" style="color: #015fb6; text-decoration: none; "&gt;&lt;font color="#2a5785"&gt;Lisp&lt;/font&gt;&lt;/a&gt;&amp;nbsp;(&lt;a href="http://en.wikipedia.org/wiki/Scheme_%28programming_language%29" style="color: #015fb6; text-decoration: none; "&gt;&lt;font color="#2a5785"&gt;Scheme&lt;/font&gt;&lt;/a&gt;&amp;nbsp;is good),&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Forth_%28programming_language%29" style="color: #015fb6; text-decoration: none; "&gt;&lt;font color="#2a5785"&gt;Forth&lt;/font&gt;&lt;/a&gt;,&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/PostScript" style="color: #015fb6; text-decoration: none; "&gt;&lt;font color="#2a5785"&gt;PostScript&lt;/font&gt;&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="http://factorcode.org/" style="color: #015fb6; text-decoration: none; "&gt;&lt;font color="#2a5785"&gt;Factor&lt;/font&gt;&lt;/a&gt;&amp;nbsp;(&lt;a href="http://en.wikipedia.org/wiki/Stack-oriented_programming_language" style="color: #015fb6; text-decoration: none; "&gt;&lt;font color="#2a5785"&gt;stack-oriented programming languages&lt;/font&gt;&lt;/a&gt;),&amp;nbsp;&lt;a href="http://www.antoarts.com/the-j-programming-language-an-introduction-and-tutorial/" style="color: #015fb6; text-decoration: none; "&gt;&lt;font color="#2a5785"&gt;J&lt;/font&gt;&lt;/a&gt;&amp;nbsp;(wonderful&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Array_programming" style="color: #015fb6; text-decoration: none; "&gt;&lt;font color="#2a5785"&gt;array programming language&lt;/font&gt;&lt;/a&gt;),&lt;a href="http://haskell.org/haskellwiki/Haskell" style="color: #015fb6; text-decoration: none; "&gt;&lt;font color="#2a5785"&gt;&lt;span style="color: #ff9900; "&gt;Haskell&lt;/span&gt;&lt;/font&gt;&lt;/a&gt;&amp;nbsp;(&lt;a href="http://en.wikipedia.org/wiki/Strong_typing" style="color: #015fb6; text-decoration: none; "&gt;&lt;font color="#2a5785"&gt;strongly typed&lt;/font&gt;&lt;/a&gt;&amp;nbsp;purely&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Functional_programming" style="color: #015fb6; text-decoration: none; "&gt;&lt;font color="#2a5785"&gt;functional programming language&lt;/font&gt;&lt;/a&gt;),&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Prolog" style="color: #015fb6; text-decoration: none; "&gt;&lt;font color="#2a5785"&gt;Prolog&lt;/font&gt;&lt;/a&gt;&amp;nbsp;(&lt;a href="http://en.wikipedia.org/wiki/Logic_programming" style="color: #015fb6; text-decoration: none; "&gt;&lt;font color="#2a5785"&gt;logic programming&lt;/font&gt;&lt;/a&gt;) and&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Erlang_%28programming_language%29" style="color: #015fb6; text-decoration: none; "&gt;&lt;font color="#2a5785"&gt;&lt;span style="color: red; "&gt;Erlang&lt;/span&gt;&lt;/font&gt;&lt;/a&gt;&amp;nbsp;(&lt;a href="http://en.wikipedia.org/wiki/Concurrent_computing" style="color: #015fb6; text-decoration: none; "&gt;&lt;font color="#2a5785"&gt;concurrent programming&lt;/font&gt;&lt;/a&gt;&amp;nbsp;goodness).&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;&lt;strong style="color: #ff9900; "&gt;在做&lt;/strong&gt;&lt;strong&gt;2.&lt;span style="color: #333333; "&gt;阅读好的且具有挑战性的编程书籍&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="color: #333333; "&gt;（&lt;/span&gt;&lt;strong&gt;&lt;span style="color: #333333; "&gt;Read a good, challenging programming book&lt;/span&gt;&lt;strong&gt;&lt;span style="color: #333333; "&gt;）&lt;/span&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;从书中你将学到很多，虽然实践很重要，但通过阅读好的且具有挑战性编程书籍是你改变思维方式重要的一步。这种具有挑战性的书籍包括The Art of Computer Programming、Structure and Interpretation of Computer Programs (SICP)、A Discipline of Programming or the famous dragon book。&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;当然，你可以选择一些难度较低的书籍，但要避免选择那些&amp;#8220;傻瓜&amp;#8221;书籍，即称能够在24小时或是21天内教会一切的书籍，从这些书中无法学习到提高编程技巧的内容。&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;&lt;strong&gt;&lt;span&gt;3.&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;加入一个开源项目中（ Join an open source project&lt;/strong&gt;&lt;strong&gt;）&lt;/strong&gt;&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;加入一个开源项目的优势是什么呢？你可以和其他人（在私人项目中独自工作过）一起工作，当遇到不熟悉的代码时，你将会去研究，学习理解一个不熟悉的代码库（这应该是很有挑战性的）&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;&lt;strong&gt;4.解决编程难题（Solve programming puzzles）&lt;/strong&gt;&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;你总是能够解决编程难题，在Project Euler中出现的数学问题，这或许就是代码难题中最流行的网站。&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;&lt;span style="color: #333333; "&gt;你应该试图去解决代码问题；&lt;/span&gt;程序员在编程过程中总是尝试用最少的步骤来解决遇到的难题，而在这过程中，你可以学到语言的更深奥和更特殊的功能，从而你会不得不思考代码的创造性。&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;&lt;strong&gt;5.计划（Program&lt;/strong&gt;&lt;strong&gt;）&lt;/strong&gt;&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;在编程开始之时，制定一个计划，拟定设计框架并实现它。并重复该操作。通过编写代码是学习代码的做好方式。&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;你将在错误中不断的学习、提升自己，相比于看书完成项目更加有激励性同时也带你带来更多的乐趣。&lt;/p&gt;&lt;p style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;&lt;strong style="color: red; "&gt;在做B&lt;/strong&gt;&lt;strong&gt;6.&lt;/strong&gt;&lt;strong&gt;阅读学习代码（Read and study code&lt;/strong&gt;&lt;strong&gt;）&lt;/strong&gt;&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;学习著名的软件编程，如&lt;span style="color: red; "&gt;Linux kernel&lt;/span&gt;。学习教育的一个很好的操作系统是&lt;span style="color: red; "&gt;MINIX3&lt;/span&gt;。从中你可以学到很多新的语言用法，对软件架构能略知一二。虽然阅读不熟悉的代码比较困难，但你会受益很多。&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;通过阅读可以使你了解更多的API，或者是一门编程语言。&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;&lt;strong&gt;7.阅读一些编程网站（ Hang out at programming sites and read blogs&lt;/strong&gt;&lt;strong&gt;）&lt;/strong&gt;&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;阅读不同的编程网站（如论坛和StackOverflow）将有助于你通过其他程序员获取知识。&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;同时，你应该阅读大量的博客，说起软件行业中博客写的好当属&lt;a href="http://www.joelonsoftware.com/" style="color: #015fb6; text-decoration: none; "&gt;Joel&lt;/a&gt;，（尽管他现在不在写博客了，很多有价值的文章依然存在文档里）。Coding Horror and Lambda the Ultimate。&lt;/p&gt;&lt;p style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;&lt;span style="color: #333333; "&gt;当然，&lt;a target="_blank" href="http://sd.csdn.net/a/20110705/news.ycombinator.com." style="color: #015fb6; text-decoration: none; "&gt;news.ycombinator.com.&lt;/a&gt;也不错。&lt;/span&gt;&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;&lt;strong&gt;&lt;span style="color: #333333; "&gt;8.&lt;/span&gt;&lt;strong&gt;&lt;span style="color: #333333; "&gt;书写代码（&lt;/span&gt;&lt;strong&gt;&lt;span style="color: #333333; "&gt;Write about coding&lt;/span&gt;&lt;strong&gt;&lt;span style="color: #333333; "&gt;）&lt;/span&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;在博客上练习书写代码。你也可以在不同的问答网站上回答问题。同时你也可以写一些教程（DreamInCode）。在你编写代码时，你会想着要正确编写，为能够解释其中的问题和技术。编写代码还能够体现你的编程知识，提供你英语语法，这些在编程中都是很重要的。&lt;/p&gt;&lt;p style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;&lt;strong&gt;&lt;span style="color: red; "&gt;在做A&lt;/span&gt;&lt;span style="color: #000000; "&gt;9.学习基础的编程语言（ Learn low-level programming）&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;&lt;span style="color: #000000; "&gt;学习基础编程语言，它们能够帮助你理解基层架构。比如C语言，或是汇编语言。&lt;/span&gt;&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;&lt;span style="color: red; "&gt;学习计算机是如何执行程序，知道操作系统是如何运作的&lt;/span&gt;，这是程序员最基本的要求。如果你想好好了解基础语言，你可以阅读有关&lt;span style="color: red; "&gt;电脑结构，操作系统，嵌入式系统，驱动程序操作系统开发等等的书籍。&lt;/span&gt;&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;&lt;strong&gt;10.&lt;/strong&gt;&lt;strong&gt;有不懂得不要随便上StackOverflow，自己多想想！（Don&amp;#8217;t rush to StackOverflow. Think&lt;/strong&gt;&lt;strong&gt;！）&lt;/strong&gt;&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;代码出错时，你可能会急于用最少的时间去解决它。你会怎么做呢？上StackOverflow网站吗？别这样做。要认真思考问题，拿出纸和笔，认真想出解决方案。放松大脑保持头脑清晰然后再重新看代码。&lt;/p&gt;&lt;p align="left" style="font-size: 14px; line-height: 25px; text-indent: 25px; "&gt;如果一小时后还没解决问题，再尝试StackOverflow。但要记得，首先要自己思考解决问题哦。&lt;/p&gt;&lt;/span&gt;&lt;img src="http://www.cnblogs.com/yecllsl/aggbug/2099260.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/yecllsl/archive/2011/07/06/2099260.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/yecllsl/archive/2011/06/16/2082965.html</id><title type="text">关于大型机的入门介绍【转】</title><summary type="text">关于大型机的入门介绍一、什么是大型机 大型机（mainframe）这个词，最初是指装在非常大的带框铁盒子里的大型计算机系统，以用来同小一些的迷你机和微型机有所区别。虽然这个词已经通过不同方式被使用了很多年，大多数时候它却是指system/360 开始的一系列的IBM计算机。这个词也可以用来指由其他厂商，如Amdahl, Hit...一、什么是大型机大型机（mainframe）这个词，最初是指装在非常大的带框铁盒子里的大型计算机系统，以用来同小一些的迷你机和微型机有所区别。虽然这个词已经通过不同方式被使用了很多年，大多数时候它却是指system/360 开始的一系列的IBM计算机。这个词也可以用</summary><published>2011-06-16T10:10:00Z</published><updated>2011-06-16T10:10:00Z</updated><author><name>原材料</name><uri>http://www.cnblogs.com/yecllsl/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yecllsl/archive/2011/06/16/2082965.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yecllsl/archive/2011/06/16/2082965.html"/><content type="html">&lt;span  style="font-family: Tahoma; font-size: 12px; line-height: normal; "&gt;&lt;table width="728" border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td height="30"  style="font-family: Tahoma; font-size: 12px; line-height: 24px; background-position: 50% 50%; background-repeat: repeat no-repeat; "&gt;&lt;span  style="padding-left: 10px; font-size: 14px; color: #999999; font-weight: bold; background-color: #ffffff; background-position: 1px 50%; background-repeat: no-repeat no-repeat; "&gt;关于大型机的入门介绍&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table width="728" border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td height="22" colspan="2" valign="top" bgcolor="#e7e7e7" style="font-family: Tahoma; font-size: 12px; padding-left: 10px; line-height: 22px; "&gt;一、什么是大型机 大型机（mainframe）这个词，最初是指装在非常大的带框铁盒子里的大型计算机系统，以用来同小一些的迷你机和微型机有所区别。虽然这个词已经通过不同方式被使用了很多年，大多数时候它却是指system/360 开始的一系列的IBM计算机。这个词也可以用来指由其他厂商，如Amdahl, Hit...&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td height="400" colspan="2" valign="top" style="font-family: Tahoma; font-size: 12px; padding-left: 10px; line-height: 22px; "&gt;&lt;div&gt;&lt;strong&gt;一、&lt;/strong&gt;&lt;strong&gt;什么是大型机&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机&lt;/a&gt;（mainframe）这个词，最初是指装在非常大的带框铁盒子里的大型计算机系统，以用来同小一些的迷你机和微型机有所区别。虽然这个词已经通过不同方式被使用了很多年，大多数时候它却是指system/360 开始的一系列的IBM计算机。这个词也可以用来指由其他厂商，如Amdahl, Hitachi Data Systems （HDS） 制造的兼容的系统。&lt;/div&gt;&lt;div&gt;　　有些人用这个词来指IBM的AS/400 或者iSeries系统，这种用法是不恰当的；因为即使IBM自己也只把这些系列的机器看作中等型号的服务器，而不是&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机&lt;/a&gt;。&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;主机&lt;/a&gt;(MainFrame)作为计算机中的最顶级产品，由于其安全性(目前尚无黑客可以对其进行攻击)和高可靠性(目前号称全年宕机时间不超过5分钟)一直被用于金融，证券等行业。&lt;/div&gt;&lt;div&gt;　&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;　大型机&lt;/a&gt;不仅仅是一个硬件上的概念，它是硬件和专属软件的一个有机整体，是一套密不可分的封闭系统，如同IBM的As/400小型机系列一样，&lt;a href="http://www.daxingji.org/news_1_1.html" target="_top" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机&lt;/a&gt;也使用专门为其量身定做的专用软件，这种封闭系统在为大型机系统带来了高可靠性和安全性的同时也使得一般的计算机从业人员难以进入这一领域，一方面是在全球包括美国等发达国家在内，没有比较完善的社会性质的&lt;a href="http://www.daxingji.org/news_2_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机系统培训&lt;/a&gt;，这与风起云涌的JAVA等开放开发平台的培训形成了鲜明的对比。&lt;/div&gt;&lt;div&gt;　　&lt;a href="http://www.daxingji.org/news_1_1.html" target="_top" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机&lt;/a&gt;是上世纪六十年代发展起来的计算机系统。经过四十年的不断更新，其稳定性和安全性在所有计算机系统中是首屈一指的。正是因为这方面的优点和强大的数据处理能力，到现在为止还没有其他的系统可以替代。由于成本巨大，使用&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机&lt;/a&gt;系统的一般以政府、银行、保险公司和大型制造企业为主，因为这些机构对信息的安全性和稳定性要求很高。从美国&amp;#8220;阿波罗登月计划&amp;#8221;的成功，到天气预报、军事科学的发展，以及全球金融业、制造业商业模式的变换，无一离得开&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机&lt;/a&gt;的功劳。在银行业，现在数以亿计的个人储蓄账户管理、丰富的金融产品提供都依赖大型机;在证券业，离开大型机，无纸化交易是不可想像的。&lt;/div&gt;&lt;div&gt;　　目前，我国从央行到工农中建四大商业银行，其核心业务平台和正在兴建的全国各地的数据处理中心，其产品使用和设备维护百分之百地IBM的。有人甚至认为IBM垄断银行大型机造成我国金融安全黑洞。&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;一、大型机的发展历程&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; 1964年4月7日，诞生了第一台&lt;a href="http://www.daxingji.org/" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;IBM大型机&lt;/a&gt;(SYSTEM/360，简称S/360)。这项投资50亿美元的投资，被证实是一项启动创新商业运作的历史性变革。&lt;/div&gt;&lt;div&gt;&lt;strong&gt;1964&lt;/strong&gt;&lt;strong&gt;年&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; S/360诞生。S/360以取一圈360度之意，即为满足每个用户的需要而设计。它可以让低端电脑连接大型主机，下传和下载程序或资料，将电子数据处理的&amp;#8220;松散终端&amp;#8221;连接起来。堪称是现代e化的开宗祖师。&lt;/div&gt;&lt;div&gt;&lt;strong&gt;1968&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;年&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; System/360 85 型引入了高速缓存存储器，使得可以比以前快 12 倍的速度提供高优先级的数据，并且为今天很多的计算技术中可见的同一种高速缓存存储器打下了基础。&lt;/div&gt;&lt;div&gt;&lt;strong&gt;1972&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;年&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; IBM 公布了 VM 虚拟化。今天，zVM帮助创建敏捷的&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;主机&lt;/a&gt;，能够迅速有效地利用资源来响应动态需求。&lt;/div&gt;&lt;div&gt;&lt;strong&gt;1976&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;年&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System/370 上的 SAS 软件帮助创造了新的竞争优势：商业智能。这一创新将原始数据 转换成为可操作的智能，它能够帮助组织发 展获利性更好的客户关系和供应商关系，并 实现了更好、更准确的决策&lt;/div&gt;&lt;div&gt;&lt;strong&gt;1988&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;年&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; IBM 客户开始超越决策支持系统（DSS）来部署 DB2，将它部署到核心交易处理中，推动了 CPU 成本的降低和在并发性上的显著改进。&lt;/div&gt;&lt;div&gt;&lt;strong&gt;1988&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;年&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; IBM 引入了 Enterprise System/3090 600S 型。它是业界最强大的通用处理器，为客户提供了额外的 56% 处理能力并引导了新的 10 型号 S 系列高级大型计算机，这些计算机利用 IBM 的企业系统体系结构／370、多虚拟系统／ESA 和虚拟机／扩展体系结构操作系统和数据管理软件。&lt;/div&gt;&lt;div&gt;&lt;strong&gt;1994&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;年&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IBM 公布了 System/390 并行系统综合体产品，它包括了耦合器、S/390 并行事务服务器、高速耦合链路以及软件功能增强。并行系统综合体设计用于提供应用的持续可用性、减少或消除计划的应用程序，并且能够扩展到实际上不受限的容量。&lt;/div&gt;&lt;div&gt;&lt;strong&gt;1995&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;年&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; 互补金属氧化物半导体（CMOS）所支持的处理器引入到了主机环境，为现代主机技术设定了新的路径图。CMOS 芯片需要的电力比只使用一种类型晶体管的芯片要少。&lt;/div&gt;&lt;div&gt;&lt;strong&gt;1998&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;年&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; IBM 引入了 System/390 第 5 代服务器。Turbo 型号突破了 1,000 个 MIPS 的障碍，使它成为世界上最强大的&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;主机&lt;/a&gt;之一。&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;1999&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;年&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IBM 引入了 System/390 第 6 代服务器。它是第一个使用 IBM 创新的铜芯片技术的企业服务器&lt;/div&gt;&lt;div&gt;&lt;strong&gt;2000&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;年&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IBM 公布了 IBM eServer z 系列 900，它是从头构建的第一个以电子商务作为其主要功能的&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;IBM 主机&lt;/a&gt;。z系列&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;主机&lt;/a&gt;构建用于处理不可预测的电子商务需求，使得数千个服务器能够在同一个机箱中运作。IBM 还向 z/OS引入了新的 64 位操作系统。&lt;/div&gt;&lt;div&gt;&lt;strong&gt;2003&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;年&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IBM 公布了 eServer z 系列 990，它是世界上最复杂的服务器、eServer 系列的新旗舰产品。它为动态地平衡关键应用提供了均衡的、高度安全的平台，并且是投入了 4 年时间和超过 10 亿美元所得到的成果。运行 z/OS 1.4 的 z990 上的每秒 SSL 交易量增加到 11,000。&lt;/div&gt;&lt;div&gt;&lt;strong&gt;二、IBM&lt;/strong&gt;&lt;strong&gt;大型机的优越性&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型主机&lt;/a&gt;的性能优势如可用性、可扩展性、安全性、分区和负载能力是其他类型服务器所不及的。&lt;a href="http://www.daxingji.org/news_1_1.html" target="_top" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型主机&lt;/a&gt;处理复杂多任务时的超强能力，宕机时间远远低于其他类型的服务器；&lt;a href="http://www.daxingji.org/news_1_1.html" target="_top" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机&lt;/a&gt;I/O能力强，擅长于超大型数据库的访问；采取动态分区管理，根据不同应用负载量的大小灵活地分配系统资源；从底层防止入侵的设计策略使大型主机安全性提高。以上特性对于像金融、电信、交通、能源、政府等行业中对于系统处理能力和安全性稳定性要求都极为苛刻的应用来说，大型主机是不可替代的。&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;处理能力强大&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; z990可最多拥有32个处理器，它的处理能力最高可以达到9000 MIPS (1MIPS指每秒钟可以执行100万条指令)。其系统容量在一个机箱中支持上百台甚至数千台的虚拟Linux服务器；z990拥有256GB可用内存，；z990最多可支持30个逻辑分区（LPAR）。&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;strong&gt;安全性好&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.daxingji.org/news_1_1.html" target="_top" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机&lt;/a&gt;可通过密码保护和数据加密提供非常高级别的安全性。在电子交易的世界里．大多数事务处理过程在实际进行时必须有某～安全级别(SSL或安全套接层)的保护。但是非大型机系统在这种模式下的速度(比大型机)要慢15到100倍。在这种情况下，&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机&lt;/a&gt;上不会出现服务水平降低的现象。&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;可靠性高&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 通过对重要数据进行定期拷贝和对事务处理日志进行跟踪，&lt;a href="http://www.daxingji.org/news_1_1.html" target="_self" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机&lt;/a&gt;可以提供非常高级别的数据完整性当系统崩溃(假设是由于软件／操作员错误或电源故障导致了系统的崩溃．尽管大多数&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机&lt;/a&gt;都有不间断电源的保护)时，通过恢复最近的备份拷贝并自动对其应用日志中记录的所有相关的事务处理过程，就可以将数据恢复到崩溃前的状态。事实上，对于今天的大多数大型用户来说，所有数据都被&amp;#8220;镜像&amp;#8221;到一个灾难恢复系统之中，几乎任何类型的硬件、软件或运行故障都不会使工作运行中断。采取这些防范数据丢失或被破坏的措施需要花费时间和容量-尽管大多数措施是在夜间以批处理的方式进行的，但当在线系统处于使用状态时仍然会继续产生支出，因此，系统必须强大到足够承受这种支出，仍然能够为最终用户提供一秒钟以内的响应时间。&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在今天的大型机崩溃故障中，99.99%以上没有导致严重的数据丢失。与此形成对比的是，一个大型的 PC或Unix环境常常要求用户在&amp;#8220;下班回家之前&amp;#8221;记住做好备份。如果发生系统崩溃，上次备份以来的所有工作都要重做。而且，与大型机相比，PC和Unix系统发生系统崩溃的可能性要大得多-今天的大多数大型机安装一年之中出现系统崩溃或因为进行改变而需要停机的次数平均不到一次。相比之下，其它平台会频繁地发生故障，也经常会出现因为安装新的硬件或软件而需要停机～段时间。&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机&lt;/a&gt;的可用性达到99.99%以上。需要指出的是，即使是可用性达到99.9%(甚至大型和复杂的PC和Unix系统也不能提供这样级别的可用性)的系统也意味着每年有8个小时的停机，而大多数大型机用户每年的停机时间只有几分钟。&lt;/div&gt;&lt;div&gt;&lt;strong&gt;24&lt;/strong&gt;&lt;strong&gt;小时持续运行&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;能向用户提供每天24小时，每年365天的不间断服务。&lt;/div&gt;&lt;div&gt;&lt;strong&gt;三、学习&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;IBM&lt;/a&gt;&lt;/strong&gt;&lt;strong&gt;&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机技术的前景&lt;/a&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在国内，随着银行、保险、证券和海关等企事业的处理信息需求量猛增，对处理速度的要求越来越高，要求响应时间越来越短，在这种情况下这些行业逐渐提出了对大型机的需求。&lt;/div&gt;&lt;div&gt;现在，不单在银行业，&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;IBM 大型主机&lt;/a&gt;已经在国内各主要领域例如金融、制造、交通等行业得到广泛应用，帮助中国各行各业的信息化进程跃入了一个新的阶段。例如：国内五大银行：中国银行、农业银行、工商银行、建设银行、交通银行，目前的核心系统都建立在&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;IBM大型机&lt;/a&gt;的平台上。国外的银行包括花旗、汇丰、渣打等也有建立在大型机上的系统。在大型制造业上，国内的宝钢以及旗下的宝信软件就是用的是&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;IBM大型机&lt;/a&gt;。此外还有许多企业也需要IBM大型机技术人才进行应用程序的开发，例如IBM, first data,等等&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.daxingji.org/news/%E5%A4%A7%E5%9E%8B%E6%9C%BA" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机&lt;/a&gt;造价昂贵，安全性、稳定性和强大的数据处理能力目前尚无可取代，几十年之内不会被轻易淘汰，因此&lt;a href="http://www.daxingji.org/news/%E5%A4%A7%E5%9E%8B%E6%9C%BA" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;大型机&lt;/a&gt;人才的职业稳定性是非常高的，而有经验的大型机ＩＴ工程师的薪酬也非常可观，年薪多在２０万元以上，要远远高于相同资历、从事开放平台业务的工程师。但是目前国内的大型机人才奇缺，同时由于大型机售价昂贵和技术专业性较强，使得目前的大专院校很难开设相关课程。&lt;/div&gt;&lt;div&gt;四、课程介绍&lt;/div&gt;&lt;div&gt;1、OS/390 An Introduction&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 描述OS/390的基本概念，介绍OS/390的优势，解释OS/390下的系统管理、存储管理、数据管理、任务管理、输入输出进程以及通信系统等概念。本课程是理论性的介绍，使大家对大型机的内部实现有一个基础的了解。&lt;/div&gt;&lt;div&gt;2、ISPF/PDF With TSO/E&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 这门课程介绍了如何用仿真终端登录S/390开发环境以及在该环境下工作的基本技巧，包括：学习启动TSO的方法、ISPF/PDF画面间的切换及各功能的使用方法、如何使用ISPF/PDF分配和编辑数据集、建立和管理数据集等内容。&lt;/div&gt;&lt;div&gt;3、COBOL for MVS Coding Fundamentals&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.daxingji.org/news_3_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;&amp;nbsp;COBOL&lt;/a&gt;（Common Business Oriented Language）语言是&lt;a href="http://www.daxingji.org/news_1_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;主机&lt;/a&gt;开发过程中常用的语言，它不仅是商业数据处理的理想语言，而且广泛应用于数据管理领域。该课程主要介绍&lt;a href="http://www.daxingji.org/news_3_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;COBOL语言&lt;/a&gt;特点、程序结构、&lt;a href="http://www.daxingji.org/news_3_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;COBOL&lt;/a&gt;语句的语法，系统的编译、连接、测试和调试等。&lt;/div&gt;&lt;div&gt;4、OS/390 MVS JCL &amp;amp; Advanced&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 本课程教授如何在批处理环境下使用 MVS作业控制语言 (JCL) 及 Utilities 程序。包括：使用恰当的语法及编程规则编写基本的 JCL 语句、介绍存储管理子系统下的 JCL 、In-Stream 和 Catalog Procedure 的使用、Procedure 中的符号参数的使用、Procedure 的调用及参数的修改等内容。&lt;/div&gt;&lt;div&gt;5、CICS Transaction Server for OS/390 Introduction&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 本课程提供CICS入门所需的基本概念及其主要功能的定义、如何编写和调试 CICS 命令级的应用程序、如何使用 CICS 高级功能开发应用程序。包括：OLTP基本要求、如何在 CICS 环境下开发应用程序、如何编写 CICS 命令、如何编译，连接，调试和运行应用程序、如何查看在线信息以及如何使用交互式调试工具等内容。&lt;/div&gt;&lt;div&gt;6、SDFII for MVS&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; 教授如何使用SDFII工具在MVS环境下编辑应用程序界面，并生成相应的字符图像和物理图像，介绍生成的图像如何应用在CICS程序中。&lt;/div&gt;&lt;div&gt;7、VSAM Fundamentals&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 本课程教授介绍VSAM数据集的访问方法，文件结构及管理，如何使用访问方法服务程序 IDCAMS 来管理 VSAM 数据集，以及如何使用&lt;a href="http://www.daxingji.org/news_3_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;COBOL&lt;/a&gt;程序对VSAM数据集中的数据进行访问和维护。&lt;/div&gt;&lt;div&gt;8、DB2 Application Programming&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 介绍DB2的基本概念以及基本的SQL语句，重点教授DB2在OS/390上的应用设计和数据库管理，以及如何在&lt;a href="http://www.daxingji.org/news_3_1.html" style="font-family: Arial; color: #7d7d7d; text-decoration: none; "&gt;COBOL&lt;/a&gt;程序中嵌入SQL语言对DB2数据进行访问和维护。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;img src="http://www.cnblogs.com/yecllsl/aggbug/2082965.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/yecllsl/archive/2011/06/16/2082965.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077841.html</id><title type="text">什么是S-OFF【转】</title><summary type="text">最近隔壁开始恶意中伤机器买来就已经S-OFF的朋友们的机器。我实在看不下去了。站出来发表一个说明。什么是S-OFF？S代表 Security Lock安全锁，保护锁的意思。S-OFF就是保护关。S-ON就是保护开Secure Lock 就是安全锁。是硬件设计商用于保护自己固件不被刷写而设计的安全锁。如果这个安全锁是关闭的，那么对手机内的闪存芯片的刷写保护就关闭了。言外之意就是可以随便刷ROM了。而S-ON就是安全锁打开了。手机被写保护了。HTC的机器在用RUU刷机的时RUU会将安全锁暂时关闭。然后就可以刷HTC自己的ROM。而HTC的HBOOT还有签名验证。所以没有HTC签面的ROM在刷机的时</summary><published>2011-06-10T09:41:00Z</published><updated>2011-06-10T09:41:00Z</updated><author><name>原材料</name><uri>http://www.cnblogs.com/yecllsl/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077841.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077841.html"/><content type="html">&lt;span style="border-collapse: collapse; color: #444444; font-family: Tahoma, Helvetica, SimSun, sans-serif, Hei; font-size: 14px; line-height: 21px; "&gt;最近隔壁开始恶意中伤机器买来就已经S-OFF的朋友们的机器。我实在看不下去了。站出来发表一个说明。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;什么是S-OFF？&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;S代表 Security Lock安全锁，保护锁的意思。S-OFF就是保护关。S-ON就是保护开&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;Secure Lock 就是安全锁。是硬件设计商用于保护自己固件不被刷写而设计的安全锁。如果这个安全锁是关闭的，那么对手机内的闪存芯片的刷写保护就关闭了。言外之意就是可以随便刷ROM了。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;而S-ON就是安全锁打开了。手机被写保护了。HTC的机器在用RUU刷机的时RUU会将安全锁暂时关闭。然后就可以刷HTC自己的ROM。而HTC的HBOOT还有签名验证。所以没有HTC签面的ROM在刷机的时候是无法通过验证的。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;那什么是ENG S-OFF？&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;ENG Engineer的意思。是工程的意思。是HTC的手机在工程阶段测试时候使用的SPL。这种SPL是最不稳定的。一般只有HTC的ENG版本的RUU里面带这种SPL。也就是工程版RUU里面才带这种。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;那什么是SHIP S-OFF？&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;SHIP 是SHIPPMENT的意思，就是发布，发送的意思。当HTC交货给各大运营商的时候的ROM都是SHIP S-ON的。这些ROM都是经过了很多测试的，都是稳定的。也是零售版本采用的系统。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;哪种S-OFF比较好？&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;那要先说这两种OFF的区别。ENG S-OFF是单独的SPL级别的OFF 这种工程版的SPL由于是用于开发人员调试的所以开启了fastboot调试功能。也就是可以通过fastboot命令去刷机。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;而SHIP S-OFF是在零售版本（发布版本）的SPL基础上用HTC内部的解锁工具进行解锁。而达到的S-OFF。这种S-OFF没有开启fastboot功能，比较稳定，经过很多次测试，硬件兼容性也比较好，不会出现信号不好，wifi断线等问题。还有一个最好的好处是，HTC的任何版本ROM，官方RUU都可以直接刷。刷完官方还是S-OFF。并不会像ENG SPL一样，刷官方RUU之后还要再重新解一下S-OFF。而且可以卡刷ROM。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;所以个中的好坏要用户自己去衡量。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;那alpharev是什么呢？&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;alpharev是国外的高手反汇编HTC的SPL然后修改成S-OFF的。很多人刷了定在第一屏。是第三方修改的SPL。相对于上面2个官方SPL，他也是ENG SPL也开启了fastboot权限。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;更不稳定，风险更大。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;大家明智的选择。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;我能告诉你的就是这么多了。说多了HTC会找我的麻烦。大家知道为什么我有那么多首发？为什么那么多全球首发？为什么安智网会被恶意中伤？一个方面当然是他们炒作的需要。一个方面就是眼红了。眼红我没去他们哪里发布ROM。呵呵......&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;SHIP S-OFF的同学可以随便刷自己对应型号的RUU 可以自己测试。ENG S-OFF的同学不怕降级不了也可以随便刷。你要是笨到，用G6的RUU 去刷G7的手机 我也拿你没办法。刷死别怪我没提醒你哦。&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;XDA wiki 上的原文：&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;Finally, what's Radio S-OFF and What Does It Mean to Me?最后，什么是无线S-OFF&amp;nbsp;&amp;nbsp;他对我们有什么意义？&lt;br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; " /&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;The "S" stands for "Security".&lt;/p&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;S表示安全&lt;/p&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;As scotty2 says, "&lt;em style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;s-off is the switch that says 'alright, do whatever you want to do - good luck!&lt;/em&gt;"&lt;/p&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;就像scotty2说的：&amp;#8220;s-off是一个说&amp;#8220;好吧，你爱做什么就做什么-祝你好运&amp;#8221;的开关&amp;#8221;&lt;/p&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;So here's how it works- normally when you boot up, HBOOT (the bootloader) says to the radio, "are you S-ON or S-OFF?" If the radio says "S-ON" then the bootloader WILL prevent you from using most of its commands, and WILL write protect system and recovery. If the radio says "S-OFF", then it will NOT prevent you from using most of its commands, and it will NOT write protect system and recovery.&lt;/p&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;下面是它具体是怎么工作的----通常当手机启动的时候HBOOT（bootloader 就是常说的 SPL）对无线基带（radio）说：&amp;#8220;基带呀，你现在是S-ON还是S-OFF呀？&amp;#8221;。无线基带（radio)会去检测自己的这个标记，如果基带返回结果是S-ON 那么HBOOT就会阻止你使用它（HBOOT）带的大部分命令，并且会将system分区和recovery分区进行写保护。如果无线基带返回&amp;#8221;S-OFF&amp;#8220;,那么HBOOT你就可以使用HBOOT带的很多命令。并且系统和recovery分区也不会被写保护。&lt;/p&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;Even phones that have been "permarooted" still have an S-ON radio.&lt;/p&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;即使是手机被&amp;#8221;永久root&amp;#8220;了，Radio依然还是S-ON的。&lt;/p&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;But- you say, system and recovery haven't been protected since scotty2 figured out how to defeat the emmc protection... That's what permaroot is all about, isn't it?! So surely the radio must already be S-OFF!&lt;/p&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;可是-你会说，自从scotty2找到克服emmc 写保护的方法之后system分区和recovery分区就没有被写保护了。。。那个不就是永久root吗？因此无线基带应该就是S-OFF了阿？&lt;/p&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;Nope. You've had "Label" S-OFF. Not Radio S-OFF.&lt;/p&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;不！，你只是有了一个S-OFF的标记，你的Radio并没有被S-OFF。&lt;/p&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;As scotty2 puts it, "&lt;em style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;[by patching HBOOT], we forge [messages to HBOOT] so it always looks like the radio says it's S-OFF.&lt;/em&gt;" This works great so long as you've got a hacked HBOOT. But here's the problem-- people have been getting into trouble by flashing factory firmware over their rooted firmware. First thing it does before writing the ROM is overwrite their patched HBOOT. HBOOT turns on read-only mode on the recovery and /system, and the poor folks get locked out of their phones with the old firmware still there.&lt;/p&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;就如scotty2解释的，&amp;#8221;通过对HBOOT打补丁，我们强制对HBOOT发送消息，告诉HBOOT，radio返回的是S-OFF。&amp;#8220; 这个方法工作的非常好，因此你们得到的是一个修改过的HBOOT。然后问题出现了--人们在已经root了的固件上刷写HTC提供的官方固件的时候发生问题。刷官方固件的第一件事情就是用固件自带的HBOOT去刷写手机上已经打过补丁的HBOOT。HBOOT就打开了system和recovery分区的只读模式，可怜的孩子，机器就被锁了。&lt;/p&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;Having "real" radio S-OFF, scotty2 says, "will save people from almost-bricking-by-way-of-reflashing-factory-firmware." It also means you'll have unrestricted access to messing with your phone's radio. Although- he notes, the android kernel itself restricts your access to the radio partition. For your safety.&lt;/p&gt;&lt;p align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; word-wrap: break-word; "&gt;拥有真正的 基带S-OFF，scooty2 说&amp;#8221;将会拯救那些刷官方固件而变砖的人&amp;#8220;。也意味着你将有无限制的鼓倒你的手机的radio的权限。尽管-他说，andorid的kernel 会阻止你访问无线分区。&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;/span&gt;&lt;img src="http://www.cnblogs.com/yecllsl/aggbug/2077841.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077841.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077525.html</id><title type="text">Android 常识【转&amp;#183;】</title><summary type="text">1：Android API 是什么东西？API(Application Programming Interface,应用程序编程接口)是一些预先定义的函数，目的是提供应用程序与开发人员基于某软件或硬件的以访问一组例程的能力，而又无需访问源 码，或理解内部工作机制的细节。API除了有应用“应用程序接口”的意思外，还特指 API的说明文档，也称为帮助文档。API 分为四种类型： 远程过程调用（RPC），标准查询语言（SQL），文件传输，信息交付2：手机上的ROM是指什么东西？这个ROM也就是你手机的Z盘是只读盘,就是用的系统。你用手机只能浏览和打开，无法改写和删除。论坛中刷机刷的就是这个盘。3：手</summary><published>2011-06-10T04:47:00Z</published><updated>2011-06-10T04:47:00Z</updated><author><name>原材料</name><uri>http://www.cnblogs.com/yecllsl/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077525.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077525.html"/><content type="html">&lt;span style="color: #333333; font-family: Arial; line-height: 18px; "&gt;&lt;div style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; zoom: 1 !important; filter: none; font-size: 14px; line-height: 18px; font-weight: bold; overflow-x: hidden; overflow-y: hidden; "&gt;&lt;/div&gt;&lt;div style="font-family: Georgia, Verdana; word-wrap: break-word; word-break: break-all; visibility: visible !important; zoom: 1 !important; filter: none; font-size: 12px; line-height: 14px; margin-bottom: 8px; color: #888888; "&gt;&lt;/div&gt;&lt;table style="table-layout: fixed; width: 938px; "&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="font-family: Arial; word-wrap: break-word; word-break: break-all; visibility: visible !important; zoom: 1 !important; filter: none; font-size: 12px; line-height: 18px; "&gt;&lt;div id="blog_text" style="font-family: Arial; word-wrap: break-word; word-break: normal; visibility: visible !important; zoom: 1 !important; filter: none; font-size: 13px; line-height: 22px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; overflow-x: hidden; overflow-y: hidden; position: relative !important; "&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;span style="line-height: 20px; color: #ff0000; "&gt;&lt;strong style="line-height: normal; "&gt;1：Android API 是什么东西？&lt;/strong&gt;&lt;/span&gt;&lt;br style="line-height: normal; " /&gt;API(Application Programming Interface,应用程序编程接口)是一些预先定义的函数，目的是提供应用程序与开发人员基于某软件或硬件的以访问一组例程的能力，而又无需访问源 码，或理解内部工作机制的细节。API除了有应用&amp;#8220;应用程序接口&amp;#8221;的意思外，还特指 API的说明文档，也称为帮助文档。&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;API 分为四种类型： 远程过程调用（RPC），标准查询语言（SQL），文件传输，信息交付&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;strong style="line-height: normal; "&gt;&lt;span style="line-height: 20px; color: #ff0000; "&gt;2：手机上的ROM是指什么东西？&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;这个ROM也就是你手机的Z盘是只读盘,就是用的系统。你用手机只能浏览和打开，无法改写和删除。论坛中刷机刷的就是这个盘。&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;strong style="line-height: normal; "&gt;&lt;span style="line-height: 20px; color: #ff0000; "&gt;3：手机的RAM是什么东西？&lt;/span&gt;&lt;/strong&gt;&lt;br style="line-height: normal; " /&gt;RAM：就是Read Access Memory是可读写地存储器，存取速度较快，在嵌入式系统中一般当作运行内存使用。此数值越大，理论上机器运行速度越快！&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;strong style="line-height: normal; "&gt;&lt;span style="line-height: 20px; color: #ff0000; "&gt;4：什么是RADIO？&lt;/span&gt;&lt;/strong&gt;&lt;br style="line-height: normal; " /&gt;Radio简单的说是无线通信模块的驱动程序，ROM是系统程序.Radio负责网络通信，ROM和Radio可以分开刷，互不影响。如果你的手机刷新了ROM后有通讯方面的问题可以刷新RADIO试一试。RADIO版本就是Baseband 版本。&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;strong style="line-height: normal; "&gt;&lt;span style="line-height: 20px; color: #ff0000; "&gt;5：什么是APP TO SD？&lt;/span&gt;&lt;/strong&gt;&lt;br style="line-height: normal; " /&gt;APP TO SD是把APk应用程序安装在SD卡上，节省手机内部的flash空间。&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;strong style="line-height: normal; "&gt;&lt;span style="line-height: 20px; color: #ff0000; "&gt;6：recovery模式是用来干什么的？&lt;/span&gt;&lt;/strong&gt;&lt;br style="line-height: normal; " /&gt;Android系统可以利用Recovery模式，进行恢复出厂设置，OTA升级，patch升级及firmware升级等等。&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;strong style="line-height: normal; "&gt;&lt;span style="line-height: 20px; color: #ff0000; "&gt;7：IPL是什么？&lt;/span&gt;&lt;/strong&gt;&lt;br style="line-height: normal; " /&gt;IPL英文全称是InitialProgramLoader,负责主板，电源、硬件初始化程序、并把SPL装入RAM。IPL损坏了那只能通过换字库来解决.&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;strong style="line-height: normal; "&gt;&lt;span style="line-height: 20px; color: #ff0000; "&gt;8：Swap分区是什么？&lt;/span&gt;&lt;/strong&gt;&lt;br style="line-height: normal; " /&gt;Swap分区，即交换区，Swap空间的作用可简单描述为：当系统的物理内存不够用的时候，就需要将物理内存中的一部分空间释放出来，以供当前运行的程序 使用。那些被释放的空间可能来自一些很长时间没有什么操作的程序，这些被释放的空间被临时保存到Swap空间中，等到那些程序要运行时，再从Swap中恢 复保存的数据到内存中。这样，系统总是在物理内存不够时，才进行Swap交换。其实，Swap的调整对Linux服务器，特别是Web服务器的性能至关重 要。通过调整Swap，有时可以越过系统性能瓶颈，节省系统升级费用。&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;&lt;strong style="line-height: normal; "&gt;&lt;span style="line-height: 20px; color: #ff0000; "&gt;9：TF/MicroSD卡有几种Class传输等级？&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;TF/MicroSD卡分别有四种等级：Class 0、Class 2、Class 4、Class 6。&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;Class 0：包括低于Class 2和未标注Speed Class的情况；&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;Class 2：能满足观看普通MPEG4 MPEG2 的电影、SDTV、数码摄像机拍摄；&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;Class 4：可以流畅播放高清电视（HDTV），数码相机连拍等需求；&lt;/p&gt;&lt;p style="line-height: 22px; font-size: 13px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; color: #555555; "&gt;Class 6：满足单反相机连拍和专业设备的使用要求&lt;/p&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;img src="http://www.cnblogs.com/yecllsl/aggbug/2077525.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077525.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077521.html</id><title type="text">关于APK、ROM、SPL、Superuser、ROOT、recovery【转】此文有很多不当之处，但还可以看看</title><summary type="text">注：Bootloader、固件等术语可以参考嵌入式开发的书籍，或者linux内核方面的书关于APK、ROM、SPL、Superuser、ROOT、recovery真正的智能手机系统是以电脑为参照物的，所以它应该有操作系统（我们一般称呼它为ROM。注：应该说操作系统的镜像文件）、硬件驱动（信号模块，我们一般称呼它为Radio）、初启动用的CMOS、BIOS（我们一般叫它SPL、HBOOT、Bootloader，调试工程模式）、恢复和操作系统用的字符命令窗口（比如DOS那种命令执行系统，我们一般在手机叫它超级终端或者Superuser）、系统管理员的权限（不是破解硬件，不是IP所谓的解锁，而是类似</summary><published>2011-06-10T04:42:00Z</published><updated>2011-06-10T04:42:00Z</updated><author><name>原材料</name><uri>http://www.cnblogs.com/yecllsl/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077521.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077521.html"/><content type="html">&lt;span  style="color: #5e6a72; font-family: 'Lucida Grande', Helvetica, Tahoma, Arial, sans-serif; font-size: 12px; "&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;&lt;span style="color: #5e6a72; font-family: 'Lucida Grande', Helvetica, Tahoma, Arial, sans-serif; line-height: 21px; "&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;注：Bootloader、固件等术语可以参考嵌入式开发的书籍，或者linux内核方面的书&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;关于APK、ROM、SPL、Superuser、ROOT、recovery&lt;br /&gt;真正的智能手机系统是以电脑为参照物的，所以它应该有操作系统（我们一般称呼它为ROM。注：应该说操作系统的镜像文件）、硬件驱动（信号模块，我们一般称呼它为Radio）、初启动用的CMOS、BIOS（我们一般叫它SPL、HBOOT、Bootloader，调试工程模式）、恢复和操作系统用的字符命令窗口（比如DOS那种命令执行系统，我们一般在手机叫它超级终端或者Superuser）、系统管理员的权限（不是破解硬件，不是IP所谓的解锁，而是类似Win7 中管理员的权限，我们一般叫它root权限）、执行底层操作的界面（进行Ghost操作的工程模式，我们一般叫它recovery）&lt;br /&gt;&lt;br /&gt;一、 recovery&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;什么是recovery？&lt;br /&gt;recovery 就是你用 home键+开机键开机后能进入的一个界面（工程模式），在这个界面你可以直接用sd 卡上的zip的rom升级或者备份你的系统.&lt;br /&gt;此外，一般刷rom之前最好wipe一下（wipe只是抹除rom 以外的个人数据，不会影响rom 本身），也就是返回出厂设置一下比较好，但是这样就会丢失你的所有软件，短信彩信，联系人（备份在google上没有关系）和设置等等，备份或者不wipe 都可以&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;recovery的界面介绍&lt;br /&gt;1、Reboot system now&amp;#8212;&amp;#8212;重启&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;2、Backup/Restore&amp;#8212;&amp;#8212;备份和还原&lt;br /&gt;可以完整的将系统备份至SD卡中，适合经常刷机的朋友。备份还原中还包含以下选项&lt;br /&gt;Nand backup&amp;#8212;&amp;#8212;Nand 备份&lt;br /&gt;Nand + ext backup&amp;#8212;&amp;#8212;Nand 备份（系统和ext 分区一同备份）&lt;br /&gt;Nand restore&amp;#8212;&amp;#8212;还原（就是还原3-1、3-2 的最后一次备份）&lt;br /&gt;BART backup&amp;#8212;&amp;#8212;BART 备份 （包括系统和ext 分区）&lt;br /&gt;BART restore&amp;#8212;&amp;#8212;还原最后一次的BART备份&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;3、Flash zip from sdcard&amp;#8212;&amp;#8212;从sd卡根目录的.zip ROM 刷机包刷机&lt;br /&gt;这项算是常见的了，现在的新版本的recovery，一般都不需要把刷机包重命名为UPDATE.ZIP了，可以直接刷机。&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;4、Wipe&amp;#8212;&amp;#8212;清除数据&lt;br /&gt;这一项一般是在刷机前需要做的，清空个人数据，一般这个大项还包括以下的小项。&lt;br /&gt;Wipe data/factory reset&amp;#8212;&amp;#8212;清除内存数据和缓存数据&lt;br /&gt;Wipe Dalvik-cache&amp;#8212;&amp;#8212;清除缓存数据 + ext 分区内数据&lt;br /&gt;Wipe SD：ext partition&amp;#8212;&amp;#8212;只清除ext 分区内数据&lt;br /&gt;Wipe battery stats&amp;#8212;&amp;#8212;清除电池数据&lt;br /&gt;Wipe rotate settings&amp;#8212;&amp;#8212;清除传感器内设置的数据&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;5、Partition sdcard&amp;#8212;&amp;#8212;分区sd 卡&lt;br /&gt;这个选项主要是用来做APP 2 SD的，需要将卡分为LINUX下的格式ext，一般有以下选项。&lt;br /&gt;Partition SD&amp;#8212;&amp;#8212;自动为sd 卡分区&lt;br /&gt;Repair SD:ext&amp;#8212;&amp;#8212;修复ext 分区&lt;br /&gt;SD:ext2 to ext3&amp;#8212;&amp;#8212;将ext2 分区转换为ext3 分区（推荐）&lt;br /&gt;6-4、SD:ext3 to ext4&amp;#8212;&amp;#8212;将ext3 分区转换为ext4 分区（C4 卡不推荐，C6 卡推荐）&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;二、 foastboot&lt;br /&gt;从字面上来看是【快速启动】的意思，也算是一个刷机界面，不过比recovery更加底层.这个底层是更加接近硬件层的意思.&lt;br /&gt;两个都很重要，不过fastboot更为主要.当你不能进入recovery的时候，不要紧张，你还能进fastboot挽救，不过当你连fastboot都不能进入的时候，那可真就是砖了.&lt;br /&gt;通俗的说 recovery就好比外套，fastboot就好比内裤.当你的外套没了的时候，你还有内裤，这个时候顶多被人说成是臭流氓.不过当你内裤都没了的时候，那可就是耍流氓了，到时会有警察叔叔请你喝茶的.&lt;br /&gt;为了使用Fastboot功能.您必须root您的设备.并获得S-OFF的SPL.你的电脑还必须装有ADB驱动.&lt;br /&gt;进入Fastboot的方式是关机状态下按返回+开机.&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;Fastboot使用方式: fastboot [ &amp;lt;选项&amp;gt; ] &amp;lt;命令&amp;gt;&lt;br /&gt;解释:&lt;br /&gt;[]括起来表示这个是可选的.&lt;br /&gt;&amp;lt;&amp;gt;括起来表示这个是必须的.&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;可用命令:&lt;br /&gt;update &amp;lt;文件名&amp;gt; 从官方update.zip升级系统.该update.zip必须是官方的&lt;br /&gt;flashall &amp;#8216;flash boot&amp;#8217; + &amp;#8216;flash system&amp;#8217;&lt;br /&gt;flash &amp;lt;分区名&amp;gt; [ &amp;lt;文件名&amp;gt; ] 将文件写入分区.文件必须正确的格式.分区名有但不限于system,recovery,boot,splash1,hboot,radio,userdata,cache&lt;br /&gt;erase &amp;lt;分区名&amp;gt; 清空一个分区.&lt;br /&gt;getvar &amp;lt;参数名&amp;gt; 显示一个启动参数&lt;br /&gt;boot &amp;lt;内核文件&amp;gt; [ ] 将电脑上的内核下载到手机并用该内核启动系统.&lt;br /&gt;flash:raw boot &amp;lt;内核文件&amp;gt; [ ] 创建boot.img并下载到手机启动系统.&lt;br /&gt;devices 列出所有与电脑连接的设备.&lt;br /&gt;reboot 正常启动系统&lt;br /&gt;reboot-bootloader 启动系统到hboot&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;选项:&lt;br /&gt;-w 清空用户数据分区和缓存分区.相当于recvery中的&amp;#8221;wipe data/factory reset&amp;#8221;&lt;br /&gt;-s &amp;lt;串口号&amp;gt; 置顶要操作的设备的串口号&lt;br /&gt;-p &amp;lt;产品名&amp;gt; 指定要操作的设备的产品名.比如hero,bravo,dream&amp;#8230;&lt;br /&gt;-c &amp;lt;命令行&amp;gt; 用命令行替换系统的启动命令行.&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;分区解释:&lt;br /&gt;system:系统分区.我们刷机器一般就是刷的这个分区.&lt;br /&gt;userdata:数据分区.&lt;br /&gt;cache:缓存分区&lt;br /&gt;recovery:Recovery分区.&lt;br /&gt;boot:存放内核和ramdisk的分区.&lt;br /&gt;hboot:这个是SPL所在的分区.很重要哦.也是fastboot所在的分区.刷错就真的变砖了.&lt;br /&gt;splash1:这个就是开机第一屏幕了.&lt;br /&gt;radio:这个是无线所在的分区.&lt;br /&gt;misc:其他分区.放的是htc的一些东西.&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;比如你的机器是G3.那么您的机器需要具备的条件是:SPL版本1.76.2007 S-OFF&lt;br /&gt;现在您需要刷recovery.那么您需要找对recovery版本.推荐RA-hero-1.6.2.img&lt;br /&gt;将您的RA-hero-1.6.2.img和fastboot.exe放入系统的某一目录.比如D:\&lt;br /&gt;点击开始&amp;#8211;&amp;gt;运行&amp;#8211;&amp;gt;输入cmd&amp;#8211;&amp;gt;回车.&lt;br /&gt;在黑色的窗口中输入.&lt;br /&gt;D: &amp;lt;回车&amp;gt;&lt;br /&gt;fastboot.exe flash recovery d:\RA-hero-1.6.2.img &amp;lt;回车&amp;gt;&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;三、SPL HBOOT Bootloader&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;什么是SPL？在HTC的Android 系统的系列手机中，HBOOT就是SPL&lt;br /&gt;SPL英文全称是SecondProgramLoader,&amp;#8220;第二次装系统&amp;#8221;，就是负责装载操作系统到RAM中。另外SPL还包括许多系统命令，如mtty中使用的命令等。SPL损坏了还可以用烧录器重写。&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;SPL一般提供这几部分功能：检测手机硬件、寻找系统启动分区、启动操作系统为系统的基本维护提供操作界面，可以通过数据线与操作终端（如PC）建立连接，并接受和执行相应命令。它里面包含许多命令，像r2sd,l,doctest(危险命令，他会擦除gsmdata)等。我们常说的三色屏就是由SPL驱动的。检测SD卡，当你把一些特殊制作的SD卡插入后，SPL可以在启动时校验并根据SD卡内容刷机或执行一些命令。这有点类似于PC 的从软驱启动。简单点说，SPL就相当于PC的BIOS。&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;SPL有什么用？&lt;br /&gt;SPL主要作用就是引导系统启动。&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;四、RADIO&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;什么是RADIO？&lt;br /&gt;这个Radio指代的是通讯模块，就是手机里面负责信号部分的模块，PDA类型的手机，基本都强调这么个概念。一个是PDA，一个是手机（貌似是句废话- -），举个很简单的例子，以三星的PPC手机为例，比如i718.比如i908，他们在刷机的时候（所谓刷机就是重装系统）一般都是分两部分，第一部分刷手机部分，第二部分刷PDA部分，而且两部分基本不相干。 大家也可以这么去理解G1，Radio负责信号部分，固件包呢，是负责电话（包括电话功能跟PDA功能）。&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;最简单的你可以把它理解为无线（包括蓝牙 通话 WIFI）的驱动程序。&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;RADIO有什么用？&lt;br /&gt;刷新版的RADIO可以解决通话或者WIFI以及蓝牙的一些问题，比如正在听音乐，来电话了，接完电话歌曲不播放了，这种常见问题。&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;五、APP TO SDGoogle 手机的软件为了安全性和稳定性都是默认安装到手机内存里，但是手机内存有限，所以我们会做app2sd 操作，来让我们安装的软件放到sd卡上，而Google 的android 系统是基于Linux 的，所以存储卡上本身的Fat 格式是不会被识别的，所以我们要分区（第二分区）出来，格式成Linux 认识的ext2 或3 或4 格式，在用链接命令，把这个分区映射成一个系统文件夹system/sd（大概这个意思），把所有的软件装到这个&amp;#8220;文件夹&amp;#8221;下，这就是app2sd 的操作。需要ROM 支持并开启app2sd 功能。&lt;br /&gt;app2sd 的操作其实是牺牲了一部分软件的速度和稳定性来换取更多的手机内存安装更多的软件。另外，app2sd只是把软件放到了sd卡上，运行软件还是需要占用手机的内存的，所以，你装了软件之后，一般手机内存还是会减少一些。你如果安装的软件在70个以内，个人觉得没有必要，呵呵，如果很多游戏软件除外。此外，使用app2sd 最大的好处就是，刷一个带app2sd 的rom 之后，以后升级这个rom（依然带app2sd）的时候，你的软件都会完整保存（个别除外，比如htc input chinese需要重新添加几个文件到system/lib下），不过很多ROM 是需要Wipe ext 分区的，也就不能保留了。&lt;br /&gt;目前来看我们现在所使用的Android 各种软件暂时还没有进行app2sd 的必要&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;如何开启APP2SD&lt;br /&gt;前面提到了&amp;#8221;一键ROOT&amp;#8221;,APP2SD也不不甘示弱，有网友开创了傻瓜化APP2SD.&lt;br /&gt;详细教程点这里&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;六、金卡&lt;br /&gt;一般来说，官方刷机包通常加入了对手机地区的校对，比如非港版手机一般无法直接刷针对港版手机发布的升级包(刷机包)，这时候，需要制作一个特殊的金卡来使刷机包跳过对手机地区的检测，直接进行刷机，从而达到强刷的效果。实际上，金卡只是一张普通的SD卡，通过一些简单的操作，来使普通SD卡有金卡的功效，同时，SD卡里的数据并不会消失，SD卡仍可正常使用。&lt;br /&gt;通俗的说，就像地铁里乞讨卖艺的，他并不是瞎子，但是他装成瞎子，是为了博得你的同情.你看他可怜就会给他钱，那他的目的就达到了.金卡就跟这个意思&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;GPHONE金卡制作&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;七.ROOT干什么用的？&lt;br /&gt;root 就是你手机的boss，它可以访问和修改你手机几乎所有的文件，这些东西可能是制作手机的人不愿意你修改和触碰的东西，因为他们有可能影响到手机的稳定，还容易被一些hacker 有机会入侵你的手机（貌似还没有出来这类黑客）。&lt;br /&gt;既然root 这么危险，我们为什么还要去获取它？其实用root 的权限主要是因为我们生在天朝，我们很多东西是受限制的，我们只能利用这些权限来做我们被限制的去做的事情，比如Google 禁止我们看到市场里很多免费或付费软件，我们可以用marketenabler 来进去看；再比如国庆以来GFW 把我们的市场干掉了，很多朋友只能看不能下，不能绑定gmail，我们可以修改hosts 来搞定他们，但这些都需要root权限。&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;span  style="color: #5e6a72; font-family: 'Lucida Grande', Helvetica, Tahoma, Arial, sans-serif; font-size: 12px; "&gt;比如目前所有在hero 上截屏的软件都需要root 权限，没有root 权限，像Drocap、Shootme、Picme等等这类截屏软件就不能使用（当然，我们可以连线电脑，使用 91助手 在电脑上截取自己想要的hero 屏图）.&lt;/span&gt;&lt;span  style="color: #5e6a72; font-family: 'Lucida Grande', Helvetica, Tahoma, Arial, sans-serif; font-size: 12px; "&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;关于APK、ROM、SPL、Superuser、ROOT、recovery&lt;br /&gt;真正的智能手机系统是以电脑为参照物的，所以它应该有操作系统（我们一般称呼它为ROM）、硬件驱动（信号模块，我们一般称呼它为Radio）、初启动用的CMOS、BIOS（我们一般叫它SPL，调试工程模式）、恢复和操作系统用的字符命令窗口（比如DOS那种命令执行系统，我们一般在手机叫它超级终端或者Superuser）、系统管理员的权限（不是破解硬件，不是IP所谓的解锁，而是类似Win7 中管理员的权限，我们一般叫它root权限）、执行底层操作的界面（进行Ghost操作的工程模式，我们一般叫它recovery）&lt;br /&gt;&lt;span id="more-731"&gt;&lt;/span&gt;&lt;br /&gt;一、 recovery&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;什么是recovery？&lt;br /&gt;recovery 就是你用 home键+开机键开机后能进入的一个界面（工程模式），在这个界面你可以直接用sd 卡上的zip的rom升级或者备份你的系统.&lt;br /&gt;此外，一般刷rom之前最好wipe一下（wipe只是抹除rom 以外的个人数据，不会影响rom 本身），也就是返回出厂设置一下比较好，但是这样就会丢失你的所有软件，短信彩信，联系人（备份在google上没有关系）和设置等等，备份或者不wipe 都可以&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;recovery的界面介绍&lt;br /&gt;1、Reboot system now&amp;#8212;&amp;#8212;重启&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;2、Backup/Restore&amp;#8212;&amp;#8212;备份和还原&lt;br /&gt;可以完整的将系统备份至SD卡中，适合经常刷机的朋友。备份还原中还包含以下选项&lt;br /&gt;Nand backup&amp;#8212;&amp;#8212;Nand 备份&lt;br /&gt;Nand + ext backup&amp;#8212;&amp;#8212;Nand 备份（系统和ext 分区一同备份）&lt;br /&gt;Nand restore&amp;#8212;&amp;#8212;还原（就是还原3-1、3-2 的最后一次备份）&lt;br /&gt;BART backup&amp;#8212;&amp;#8212;BART 备份 （包括系统和ext 分区）&lt;br /&gt;BART restore&amp;#8212;&amp;#8212;还原最后一次的BART备份&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;3、Flash zip from sdcard&amp;#8212;&amp;#8212;从sd卡根目录的.zip ROM 刷机包刷机&lt;br /&gt;这项算是常见的了，现在的新版本的recovery，一般都不需要把刷机包重命名为UPDATE.ZIP了，可以直接刷机。&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;4、Wipe&amp;#8212;&amp;#8212;清除数据&lt;br /&gt;这一项一般是在刷机前需要做的，清空个人数据，一般这个大项还包括以下的小项。&lt;br /&gt;Wipe data/factory reset&amp;#8212;&amp;#8212;清除内存数据和缓存数据&lt;br /&gt;Wipe Dalvik-cache&amp;#8212;&amp;#8212;清除缓存数据 + ext 分区内数据&lt;br /&gt;Wipe SD：ext partition&amp;#8212;&amp;#8212;只清除ext 分区内数据&lt;br /&gt;Wipe battery stats&amp;#8212;&amp;#8212;清除电池数据&lt;br /&gt;Wipe rotate settings&amp;#8212;&amp;#8212;清除传感器内设置的数据&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;5、Partition sdcard&amp;#8212;&amp;#8212;分区sd 卡&lt;br /&gt;这个选项主要是用来做APP 2 SD的，需要将卡分为LINUX下的格式ext，一般有以下选项。&lt;br /&gt;Partition SD&amp;#8212;&amp;#8212;自动为sd 卡分区&lt;br /&gt;Repair SD:ext&amp;#8212;&amp;#8212;修复ext 分区&lt;br /&gt;SD:ext2 to ext3&amp;#8212;&amp;#8212;将ext2 分区转换为ext3 分区（推荐）&lt;br /&gt;6-4、SD:ext3 to ext4&amp;#8212;&amp;#8212;将ext3 分区转换为ext4 分区（C4 卡不推荐，C6 卡推荐）&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;二、 foastboot&lt;br /&gt;从字面上来看是【快速启动】的意思，也算是一个刷机界面，不过比recovery更加底层.这个底层是更加接近硬件层的意思.&lt;br /&gt;两个都很重要，不过fastboot更为主要.当你不能进入recovery的时候，不要紧张，你还能进fastboot挽救，不过当你连fastboot都不能进入的时候，那可真就是砖了.&lt;br /&gt;通俗的说 recovery就好比外套，fastboot就好比内裤.当你的外套没了的时候，你还有内裤，这个时候顶多被人说成是臭流氓.不过当你内裤都没了的时候，那可就是耍流氓了，到时会有警察叔叔请你喝茶的.&lt;br /&gt;为了使用Fastboot功能.您必须root您的设备.并获得S-OFF的SPL.你的电脑还必须装有ADB驱动.&lt;br /&gt;进入Fastboot的方式是关机状态下按返回+开机.&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;Fastboot使用方式: fastboot [ &amp;lt;选项&amp;gt; ] &amp;lt;命令&amp;gt;&lt;br /&gt;解释:&lt;br /&gt;[]括起来表示这个是可选的.&lt;br /&gt;&amp;lt;&amp;gt;括起来表示这个是必须的.&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;可用命令:&lt;br /&gt;update &amp;lt;文件名&amp;gt; 从官方update.zip升级系统.该update.zip必须是官方的&lt;br /&gt;flashall &amp;#8216;flash boot&amp;#8217; + &amp;#8216;flash system&amp;#8217;&lt;br /&gt;flash &amp;lt;分区名&amp;gt; [ &amp;lt;文件名&amp;gt; ] 将文件写入分区.文件必须正确的格式.分区名有但不限于system,recovery,boot,splash1,hboot,radio,userdata,cache&lt;br /&gt;erase &amp;lt;分区名&amp;gt; 清空一个分区.&lt;br /&gt;getvar &amp;lt;参数名&amp;gt; 显示一个启动参数&lt;br /&gt;boot &amp;lt;内核文件&amp;gt; [ ] 将电脑上的内核下载到手机并用该内核启动系统.&lt;br /&gt;flash:raw boot &amp;lt;内核文件&amp;gt; [ ] 创建boot.img并下载到手机启动系统.&lt;br /&gt;devices 列出所有与电脑连接的设备.&lt;br /&gt;reboot 正常启动系统&lt;br /&gt;reboot-bootloader 启动系统到hboot&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;选项:&lt;br /&gt;-w 清空用户数据分区和缓存分区.相当于recvery中的&amp;#8221;wipe data/factory reset&amp;#8221;&lt;br /&gt;-s &amp;lt;串口号&amp;gt; 置顶要操作的设备的串口号&lt;br /&gt;-p &amp;lt;产品名&amp;gt; 指定要操作的设备的产品名.比如hero,bravo,dream&amp;#8230;&lt;br /&gt;-c &amp;lt;命令行&amp;gt; 用命令行替换系统的启动命令行.&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;分区解释:&lt;br /&gt;system:系统分区.我们刷机器一般就是刷的这个分区.&lt;br /&gt;userdata:数据分区.&lt;br /&gt;cache:缓存分区&lt;br /&gt;recovery:Recovery分区.&lt;br /&gt;boot:存放内核和ramdisk的分区.&lt;br /&gt;hboot:这个是SPL所在的分区.很重要哦.也是fastboot所在的分区.刷错就真的变砖了.&lt;br /&gt;splash1:这个就是开机第一屏幕了.&lt;br /&gt;radio:这个是无线所在的分区.&lt;br /&gt;misc:其他分区.放的是htc的一些东西.&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;比如你的机器是G3.那么您的机器需要具备的条件是:SPL版本1.76.2007 S-OFF&lt;br /&gt;现在您需要刷recovery.那么您需要找对recovery版本.推荐RA-hero-1.6.2.img&lt;br /&gt;将您的RA-hero-1.6.2.img和fastboot.exe放入系统的某一目录.比如D:\&lt;br /&gt;点击开始&amp;#8211;&amp;gt;运行&amp;#8211;&amp;gt;输入cmd&amp;#8211;&amp;gt;回车.&lt;br /&gt;在黑色的窗口中输入.&lt;br /&gt;D: &amp;lt;回车&amp;gt;&lt;br /&gt;fastboot.exe flash recovery d:\RA-hero-1.6.2.img &amp;lt;回车&amp;gt;&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;三、SPL HBOOT Bootloader&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;什么是SPL？在HTC的Android 系统的系列手机中，HBOOT就是SPL&lt;br /&gt;SPL英文全称是SecondProgramLoader,&amp;#8220;第二次装系统&amp;#8221;，就是负责装载操作系统到RAM中。另外SPL还包括许多系统命令，如mtty中使用的命令等。SPL损坏了还可以用烧录器重写。&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;SPL一般提供这几部分功能：检测手机硬件、寻找系统启动分区、启动操作系统为系统的基本维护提供操作界面，可以通过数据线与操作终端（如PC）建立连接，并接受和执行相应命令。它里面包含许多命令，像r2sd,l,doctest(危险命令，他会擦除gsmdata)等。我们常说的三色屏就是由SPL驱动的。检测SD卡，当你把一些特殊制作的SD卡插入后，SPL可以在启动时校验并根据SD卡内容刷机或执行一些命令。这有点类似于PC 的从软驱启动。简单点说，SPL就相当于PC的BIOS。&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;SPL有什么用？&lt;br /&gt;SPL主要作用就是引导系统启动。&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;四、RADIO&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;什么是RADIO？&lt;br /&gt;这个Radio指代的是通讯模块，就是手机里面负责信号部分的模块，PDA类型的手机，基本都强调这么个概念。一个是PDA，一个是手机（貌似是句废话- -），举个很简单的例子，以三星的PPC手机为例，比如i718.比如i908，他们在刷机的时候（所谓刷机就是重装系统）一般都是分两部分，第一部分刷手机部分，第二部分刷PDA部分，而且两部分基本不相干。 大家也可以这么去理解G1，Radio负责信号部分，固件包呢，是负责电话（包括电话功能跟PDA功能）。&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;最简单的你可以把它理解为无线（包括蓝牙 通话 WIFI）的驱动程序。&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;RADIO有什么用？&lt;br /&gt;刷新版的RADIO可以解决通话或者WIFI以及蓝牙的一些问题，比如正在听音乐，来电话了，接完电话歌曲不播放了，这种常见问题。&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;五、APP TO SDGoogle 手机的软件为了安全性和稳定性都是默认安装到手机内存里，但是手机内存有限，所以我们会做app2sd 操作，来让我们安装的软件放到sd卡上，而Google 的android 系统是基于Linux 的，所以存储卡上本身的Fat 格式是不会被识别的，所以我们要分区（第二分区）出来，格式成Linux 认识的ext2 或3 或4 格式，在用链接命令，把这个分区映射成一个系统文件夹system/sd（大概这个意思），把所有的软件装到这个&amp;#8220;文件夹&amp;#8221;下，这就是app2sd 的操作。需要ROM 支持并开启app2sd 功能。&lt;br /&gt;app2sd 的操作其实是牺牲了一部分软件的速度和稳定性来换取更多的手机内存安装更多的软件。另外，app2sd只是把软件放到了sd卡上，运行软件还是需要占用手机的内存的，所以，你装了软件之后，一般手机内存还是会减少一些。你如果安装的软件在70个以内，个人觉得没有必要，呵呵，如果很多游戏软件除外。此外，使用app2sd 最大的好处就是，刷一个带app2sd 的rom 之后，以后升级这个rom（依然带app2sd）的时候，你的软件都会完整保存（个别除外，比如htc input chinese需要重新添加几个文件到system/lib下），不过很多ROM 是需要Wipe ext 分区的，也就不能保留了。&lt;br /&gt;目前来看我们现在所使用的Android 各种软件暂时还没有进行app2sd 的必要&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;如何开启APP2SD&lt;br /&gt;前面提到了&amp;#8221;一键ROOT&amp;#8221;,APP2SD也不不甘示弱，有网友开创了傻瓜化APP2SD.&lt;br /&gt;详细教程点这里&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;六、金卡&lt;br /&gt;一般来说，官方刷机包通常加入了对手机地区的校对，比如非港版手机一般无法直接刷针对港版手机发布的升级包(刷机包)，这时候，需要制作一个特殊的金卡来使刷机包跳过对手机地区的检测，直接进行刷机，从而达到强刷的效果。实际上，金卡只是一张普通的SD卡，通过一些简单的操作，来使普通SD卡有金卡的功效，同时，SD卡里的数据并不会消失，SD卡仍可正常使用。&lt;br /&gt;通俗的说，就像地铁里乞讨卖艺的，他并不是瞎子，但是他装成瞎子，是为了博得你的同情.你看他可怜就会给他钱，那他的目的就达到了.金卡就跟这个意思&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;GPHONE金卡制作&lt;/p&gt;&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; white-space: normal; word-break: break-all; word-wrap: break-word; "&gt;七.ROOT干什么用的？&lt;br /&gt;root 就是你手机的boss，它可以访问和修改你手机几乎所有的文件，这些东西可能是制作手机的人不愿意你修改和触碰的东西，因为他们有可能影响到手机的稳定，还容易被一些hacker 有机会入侵你的手机（貌似还没有出来这类黑客）。&lt;br /&gt;既然root 这么危险，我们为什么还要去获取它？其实用root 的权限主要是因为我们生在天朝，我们很多东西是受限制的，我们只能利用这些权限来做我们被限制的去做的事情，比如Google 禁止我们看到市场里很多免费或付费软件，我们可以用marketenabler 来进去看；再比如国庆以来GFW 把我们的市场干掉了，很多朋友只能看不能下，不能绑定gmail，我们可以修改hosts 来搞定他们，但这些都需要root权限。&lt;br /&gt;比如目前所有在hero 上截屏的软件都需要root 权限，没有root 权限，像Drocap、Shootme、Picme等等这类截屏软件就不能使用（当然，我们可以连线电脑，使用 91助手 在电脑上截取自己想要的hero 屏图）.&lt;/p&gt;&lt;/span&gt;&lt;img src="http://www.cnblogs.com/yecllsl/aggbug/2077521.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077521.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077417.html</id><title type="text">关于Bootloader、Recovery</title><summary type="text">Bootloader的简称（系统启动加载器）。一个不严谨的比喻，Bootloader就想相当于电脑里面的BIOS，最主要的作用是引导系统正确启动，它是Android操作系统（包括控制台）和手机硬件联系的桥梁。有些地方直接把Bootloader说成刷机模式，但是准确的说Bootloader是刷机的基础，Bootloader正好处在开机与进系统的中间阶段，真正实现刷机的是在解锁Bootloader之后安装的Recovery（类似于Ghost）。解锁引导程序限制后，用户将可以使用到更多的功能，比如刷新内核、刷ROM、修改超频、开启热点等等功能。解锁Bootloader也不是没有风险的，许多厂商限制解</summary><published>2011-06-10T03:06:00Z</published><updated>2011-06-10T03:06:00Z</updated><author><name>原材料</name><uri>http://www.cnblogs.com/yecllsl/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077417.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077417.html"/><content type="html">&lt;span style="font-family: 宋体, arial, sans-serif; font-size: 14px; line-height: 24px; "&gt;&lt;p style="margin-top: 20px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 25px; text-indent: 2em; "&gt;&lt;span  style="font-weight: 800;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 20px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 25px; text-indent: 2em; "&gt;Bootloader的简称（系统启动加载器）。一个不严谨的比喻，Bootloader就想相当于电脑里面的BIOS，最主要的作用是引导系统正确启动，它是Android操作系统（包括控制台）和手机硬件联系的桥梁。&lt;/p&gt;&lt;p style="margin-top: 20px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 25px; text-indent: 2em; "&gt;有些地方直接把Bootloader说成刷机模式，但是准确的说Bootloader是刷机的基础，Bootloader正好处在开机与进系统的中间阶段，真正实现刷机的是在解锁Bootloader之后安装的Recovery（类似于Ghost）。&lt;/p&gt;&lt;p style="margin-top: 20px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 25px; text-indent: 2em; "&gt;解锁引导程序限制后，用户将可以使用到更多的功能，比如刷新内核、刷ROM、修改超频、开启热点等等功能。&lt;/p&gt;&lt;p style="margin-top: 20px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 25px; text-indent: 2em; "&gt;解锁Bootloader也不是没有风险的，许多厂商限制解锁Bootloader引导程序将丧失保修权利，另外如果解锁了引导程序并刷入自定义签名的第三方ROM，这些ROM很可能没有进行测底的测试，所以会有部分功能无法正常工作，整体性能下降，甚至手机整个罢工，最坏的情况下还有可能对手机造成永久伤害。&lt;/p&gt;&lt;/span&gt;&lt;img src="http://www.cnblogs.com/yecllsl/aggbug/2077417.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/yecllsl/archive/2011/06/10/2077417.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/yecllsl/archive/2011/05/27/2059669.html</id><title type="text">比较全的Linux目录存放内容</title><summary type="text">/media 用来挂载usb存储设备，DVD, CD-ROM等/mnt 用来临时挂载文件系统，可插拔的设备应该挂载到/media上去/home 除root之外的用户目录的默认所在地/root root用户目录/bin 最常用的命令/sbin 系统管理员使用的命令(sbin=system bin)/usr/local 使用源码安装的话，一般把prefix目录指定到这里，如/usr/local/ruby/usr/share/applications desktop文件是桌面的菜单项~/.gnome*,~/.gconf* gnome面板的个人配置信息，当gnome面板乱了，可以尝试删除这些文件来恢复</summary><published>2011-05-27T03:19:00Z</published><updated>2011-05-27T03:19:00Z</updated><author><name>原材料</name><uri>http://www.cnblogs.com/yecllsl/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yecllsl/archive/2011/05/27/2059669.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yecllsl/archive/2011/05/27/2059669.html"/><content type="html">&lt;div&gt;&lt;div&gt;/media 用来挂载usb存储设备，DVD, CD-ROM等&amp;nbsp;&lt;/div&gt;&lt;div&gt;/mnt 用来临时挂载文件系统，可插拔的设备应该挂载到/media上去&amp;nbsp;&lt;/div&gt;&lt;div&gt;/home 除root之外的用户目录的默认所在地&amp;nbsp;&lt;/div&gt;&lt;div&gt;/root root用户目录&amp;nbsp;&lt;/div&gt;&lt;div&gt;/bin 最常用的命令&amp;nbsp;&lt;/div&gt;&lt;div&gt;/sbin 系统管理员使用的命令(sbin=system bin)&amp;nbsp;&lt;/div&gt;&lt;div&gt;/usr/local 使用源码安装的话，一般把prefix目录指定到这里，如/usr/local/ruby&amp;nbsp;&lt;/div&gt;&lt;div&gt;/usr/share/applications desktop文件是桌面的菜单项&lt;/div&gt;&lt;div&gt;~/.gnome*,~/.gconf* gnome面板的个人配置信息，当gnome面板乱了，可以尝试删除这些文件来恢复默认面板&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/boot目录，kernel相关部分&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/boot/symvers-%{KRELEASE}.gz 保存着内核中所有符号的crc值&amp;nbsp;&lt;/div&gt;&lt;div&gt;/boot/System.map-%{KRELEASE} 给kernel使用的符号表(symbol table)&amp;nbsp;&lt;/div&gt;&lt;div&gt;/boot/vmlinuz-%{KRELEASE} 可引导的、压缩的内核&amp;nbsp;&lt;/div&gt;&lt;div&gt;/boot/initrd-%{KRELEASE}.img 包含了支持 Linux 系统两阶段引导过程所需要的必要可执行程序和系统文件&amp;nbsp;&lt;/div&gt;&lt;div&gt;/boot/config-%{KRELEASE} 包括kernel的make config&amp;nbsp;&lt;/div&gt;&lt;div&gt;/boot/message cpio格式的打包文件，存放Grub的配置信息，里面包括了图片，文字说明等内容&lt;/div&gt;&lt;div&gt;/boot目录，grub配置&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/boot/grub/menu.lst 一个链接文件，真实文件是grub.conf&amp;nbsp;&lt;/div&gt;&lt;div&gt;/boot/grub/grub.conf grub的配置文件&amp;nbsp;&lt;/div&gt;&lt;div&gt;/boot/grub/device.map 设备的映射文件&amp;nbsp;&lt;/div&gt;&lt;div&gt;/boot/grub/splash.xpm.gz grub开机画面的gzip压缩包&amp;nbsp;&lt;/div&gt;&lt;div&gt;/boot/grub/stageN 一般有stage1和stage2，是grub的核心，受限于mbr512字节的大小限制，所以切开成几个，stage1是用来加载stage2的&amp;nbsp;&lt;/div&gt;&lt;div&gt;/boot/grub/XXX_stage1_5 stage2文件较大，一般存放于文件系统中，需要XXX_stage1_5来识别各种各样的文件系统&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc目录，系统用户/用户组&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/passwd 存放所有系统用户及相关信息&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/shadow 存放所有系统用户的密码信息&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/group 存放所有系统用户组及相关信息&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/gshadow 存放所有系统用户组的密码信息&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc目录，系统启动流程相关&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/issue 发行版信息&lt;/div&gt;&lt;div&gt;/etc/redhat-release redhat版本信息&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/inittab 系统初始化配置&lt;/div&gt;&lt;div&gt;/etc/init.d 存放服务脚本的地方&lt;/div&gt;&lt;div&gt;/etc/rc[0-6S].d 每个运行级别对应的服务，里边的脚本都是链接到/etc/init.d目录&lt;/div&gt;&lt;div&gt;/etc/rc rc启动脚本&lt;/div&gt;&lt;div&gt;/etc/rc.local 在所有init脚本结束后调用&lt;/div&gt;&lt;div&gt;/etc/rc.sysinit 在系统启动时运行一次&lt;/div&gt;&lt;div&gt;/etc/profile 环境变量配置&lt;/div&gt;&lt;div&gt;/etc/profile.d 保存一些脚本，可在/etc/profile中调用&lt;/div&gt;&lt;div&gt;~/.bash_profile &amp;nbsp;针对某个用户的配置，会调用.bash_rc&lt;/div&gt;&lt;div&gt;~/.bashrc 针对某个用户的配置，会调用/etc/bashrc&lt;/div&gt;&lt;div&gt;/etc/bashrc 使用bash时，可设置全局环境配置&lt;/div&gt;&lt;div&gt;~/.bash_history &amp;nbsp;命令的历史记录&lt;/div&gt;&lt;div&gt;~/.bash_logout &amp;nbsp; 用户退出时执行&lt;/div&gt;&lt;div&gt;/etc/xinetd.conf xinetd的配置文件&lt;/div&gt;&lt;div&gt;/etc/xinetd.d 存放xinetd服务的地方&lt;/div&gt;&lt;div&gt;/etc目录，基本应用配置相关&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/skel 存放用户文件的&amp;#8220;骨架&amp;#8221;，当一个用户创建的时候，里边的文件就会拷贝到相应的home目录&lt;/div&gt;&lt;div&gt;/etc/X11 存放X Window的系统配置文件，例如xorg.conf&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/DIR_COLORS ls的时候，文件/文件夹显示的颜色&lt;/div&gt;&lt;div&gt;/etc/mtab 记录目前挂载的文件系统信息&lt;/div&gt;&lt;div&gt;/etc/fastboot 由shutdown -f 所产生的 ,在重启之后, 系统会去检查这个文件是否存在以决定是否要执行fsck&lt;/div&gt;&lt;div&gt;/etc/nologin 系统关闭的时候自动产生，里边放着shutdown message。在这个时候如果有用户企图登录，就会打印出这个文件存放的message，然后阻止你登录&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/fstab 默认的文件系统挂载情况&lt;/div&gt;&lt;div&gt;/etc/virc vi的配置&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/vimrc vim的配置&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/wgetrc wget的配置&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/yum.conf yum的配置&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/yum.repos.d yum源的存放位置&lt;/div&gt;&lt;div&gt;/etc/kdump.conf kdump内核的配置文件&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/my.cnf mysql的配置文件&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/ssh ssh的配置文件目录，重要的有sshd_config&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/syslog.conf syslog的配置文件&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/updatedb.conf updatedb的配置文件&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/mtools.conf mtools配置，用于在*UNIX系统中直接访问dos/win文件系统&lt;/div&gt;&lt;div&gt;/etc/sysctl.conf sysctl预加载的配置文件&lt;/div&gt;&lt;div&gt;/etc/moprobe.conf modprobe的配置文件&lt;/div&gt;&lt;div&gt;/etc/ld.so.conf 加载动态链接库的配置文件，默认会加载ld.so.conf.d里边的配置&lt;/div&gt;&lt;div&gt;/etc/ld.so.conf.d 存放动态链接库的配置文件&lt;/div&gt;&lt;div&gt;/etc/ld.so.cache 动态链接库的缓存，二进制文件，可以通过ldconfig --print-cache查看&lt;/div&gt;&lt;div&gt;/etc/services 网络服务列表(服务名,端口，协议等)&lt;/div&gt;&lt;div&gt;/etc目录，域名解析，主机访问控制&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/host.conf &amp;nbsp;定义DNS客户端主机发出域名解析的处理顺序，默认是先查看/etc/hosts文件，再发送远程请求&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/hosts 自定义ip-域名解析&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/resolv.conf DNS服务器地址&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/hosts.allow 和hosts.deny一起用来作为tcpd服务器的配置文件，tcpd服务器可以控制外部IP对本机服务的访问。hosts.allow控制可以访问本机的IP地址&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/hosts.deny &amp;nbsp;控制禁止访问本机的IP。如果和hosts.allow的配置有冲突，以hosts.deny为准&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc目录，定时任务控制&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/crontab cron任务的配置文件，一般在里边配置有cron.hourly，cron.daily，cron.weekly和cron.monthly&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/cron.d 如果你要在特殊的时间使用crontab，可以把配置放到文件夹里边，配置的格式和/etc/crontab一样&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc /cron.daily 每天定时任务&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/cron.hourly 每小时定时任务&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/cron.monthly 每月定时任务&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/cron.weekly 每星期定时任务&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/cron.allow 指定那些用户可以使用crontab&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/cron.deny 指定哪些用户禁止使用crontab，如果文件存在且为空，所有人都可以使用，如果文件不存在，那么只有root可以使用&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/at.allow 指定那些用户可以使用at&amp;nbsp;&lt;/div&gt;&lt;div&gt;/etc/at.deny 指定哪些用户禁止使用at，如果文件存在且为空，所有人都可以使用，如果文件不存在，那么只有root可以使用&amp;nbsp;&lt;/div&gt;&lt;div&gt;/dev目录 硬件设备信息&lt;/div&gt;&lt;div&gt;/dev/hd[a-z] &amp;nbsp;第几个IDE硬盘&amp;nbsp;&lt;/div&gt;&lt;div&gt;/dev/tty[0-9] 第几个虚拟控制台&amp;nbsp;&lt;/div&gt;&lt;div&gt;/dev/sd[a-z] &amp;nbsp;第几个SCSI或SATA硬盘&amp;nbsp;&lt;/div&gt;&lt;div&gt;/dev/zero 一个无穷尽地提 供0(NULL)的设备，可以用来初始化文件&lt;/div&gt;&lt;div&gt;/dev/null 一个空设备，可以向它输出任何数据，而任何写入它的输出都会被抛弃。如果不想让消息以标准输出显示或写入文件，那么可以将消息重定向到位桶&lt;/div&gt;&lt;div&gt;/dev/stderr &amp;nbsp;链接文件，指向/proc/self/fd/2(标准错误)&lt;/div&gt;&lt;div&gt;/dev/stdin &amp;nbsp;链接文件，指向/proc/self/fd/0(标准输入)&lt;/div&gt;&lt;div&gt;/dev/stdout 链接文件，指向/proc/self/fd/1(标准输出)&lt;/div&gt;&lt;div&gt;/dev/console 系统控制台，也就是直接和系统连接的监视器。如果你用cat查看该设备，并敲入一些内容，可以看到在屏幕上回显&lt;/div&gt;&lt;div&gt;/dev/fd[0-9] 第几个软驱设备&lt;/div&gt;&lt;div&gt;/dev/st SCSI磁带驱动器&lt;/div&gt;&lt;div&gt;/dev/pty 提供远程登陆伪终端支持。在进行Telnet登录时就要用到该设备&lt;/div&gt;&lt;div&gt;/dev/ttys 计算机串行接口，对于DOS来说就是com1口&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/dev/cua 计算机串行接口，与调制解调器一起使用的设备&lt;/div&gt;&lt;div&gt;/proc目录 虚拟文件系统&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/proc/apm Advanced Power Management(APM)系统信息，与apm命令相关&lt;/div&gt;&lt;div&gt;/proc/buddyinfo 每个内存区中的每个order有多少块可用,和内存碎片问题有关&lt;/div&gt;&lt;div&gt;/proc/cmdline 启动时传递给kernel的参数信息&lt;/div&gt;&lt;div&gt;/proc/cpuinfo cpu的信息&lt;/div&gt;&lt;div&gt;/proc/crypto 内核使用的所有已安装的加密密码及细节&lt;/div&gt;&lt;div&gt;/proc/devices 已经加载的设备并分类&lt;/div&gt;&lt;div&gt;/proc/dma 已注册使用的ISA DMA频道列表&lt;/div&gt;&lt;div&gt;/proc/execdomains Linux内核当前支持的execution domains&lt;/div&gt;&lt;div&gt;/proc/fb 帧缓冲设备列表，包括数量和控制它的驱动&lt;/div&gt;&lt;div&gt;/proc/filesystems 内核当前支持的文件系统类型&lt;/div&gt;&lt;div&gt;/proc/interrupts x86架构中的每个IRQ中断数&lt;/div&gt;&lt;div&gt;/proc/iomem 每个物理设备当前在系统内存中的映射&lt;/div&gt;&lt;div&gt;/proc/ioports 一个设备的输入输出所使用的注册端口范围&lt;/div&gt;&lt;div&gt;/proc/kcore 代表系统的物理内存，存储为核心文件格式，里边显示的是字节数，等于RAM大小加上4kb&lt;/div&gt;&lt;div&gt;/proc/kmsg 记录内核生成的信息，可以通过/sbin/klogd或/bin/dmesg来处理&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/loadavg 根据过去一段时间内CPU和IO的状态得出的负载状态，与uptime命令有关&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/locks 内核锁住的文件列表&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/mdstat 多硬盘，RAID配置信息(md=multiple disks)&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/meminfo RAM使用的相关信息&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/misc 其他的主要设备(设备号为10)上注册的驱动&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/modules 所有加载到内核的模块列表&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/mounts 系统中使用的所有挂载&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/mtrr 系统使用的Memory Type Range Registers (MTRRs)&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/partitions 分区中的块分配信息&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/pci 系统中的PCI设备列表&lt;/div&gt;&lt;div&gt;/proc/slabinfo 系统中所有活动的 slab 缓存信息&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/stat 所有的CPU活动信息&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/sysrq-trigger 使用echo命令来写这个文件的时候，远程root用户可以执行大多数的系统请求关键命令，就好像在本地终端执行一样。要写入这个文件，需要把/proc/sys/kernel/sysrq不能设置为0。这个文件对root也是不可读的&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/uptime 系统已经运行了多久&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/swaps 交换空间的使用情况&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/version Linux内核版本和gcc版本&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/bus 系统总线(Bus)信息，例如pci/usb等&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/proc/driver 驱动信息&lt;/div&gt;&lt;div&gt;/proc/fs 文件系统信息&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/ide ide设备信息&lt;/div&gt;&lt;div&gt;/proc/irq 中断请求设备信息&lt;/div&gt;&lt;div&gt;/proc/net 网卡设备信息&lt;/div&gt;&lt;div&gt;/proc/scsi scsi设备信息&lt;/div&gt;&lt;div&gt;/proc/tty tty设备信息&lt;/div&gt;&lt;div&gt;/proc/net/dev 显示网络适配器及统计信息&lt;/div&gt;&lt;div&gt;/proc/vmstat 虚拟内存统计信息&lt;/div&gt;&lt;div&gt;/proc/vmcore 内核panic时的内存映像&lt;/div&gt;&lt;div&gt;/proc/diskstats 取得磁盘信息&lt;/div&gt;&lt;div&gt;/proc/schedstat kernel调度器的统计信息&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/proc/zoneinfo 显示内存空间的统计信息，对分析虚拟内存行为很有用&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/proc目录， 进程N的信息&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/proc/N pid为N的进程信息&lt;/div&gt;&lt;div&gt;/proc/N/cmdline 进程启动命令&lt;/div&gt;&lt;div&gt;/proc/N/cwd 链接到进程当前工作目录&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/N/environ 进程环境变量列表&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/N/exe 链接到进程的执行命令文件&lt;/div&gt;&lt;div&gt;/proc/N/fd 包含进程相关的所有的文件描述符&lt;/div&gt;&lt;div&gt;/proc/N/maps 与进程相关的内存映射信息&lt;/div&gt;&lt;div&gt;/proc/N/mem 指代进程持有的内存，不可读&lt;/div&gt;&lt;div&gt;/proc/N/root 链接到进程的根目录&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/N/stat 进程的状态&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/N/statm 进程使用的内存的状态&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/N/status 进程状态信息，比stat/statm更具可读性&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/self 链接到当前正在运行的进程&lt;/div&gt;&lt;div&gt;/var目录 存放经常变化数据的地方&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/var/lib/rpm 存放大多数rpm相关的文件&amp;nbsp;&lt;/div&gt;&lt;div&gt;/var/cache/yum yum升级时下载的rpm文件的临时存放地，还包括系统中rpm包的头信息&amp;nbsp;&lt;/div&gt;&lt;div&gt;/var/spool/cron/$username 每个用户自定义的cron任务，可以使用crontab或vi来操作&amp;nbsp;&lt;/div&gt;&lt;div&gt;/var/lock 一般用来存放文件锁&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/var/log 一般用来存放日志文件&lt;/div&gt;&lt;div&gt;/var/run 一般用来存放pid文件&lt;/div&gt;&lt;div&gt;/var/crash 一般是存放系统崩溃时产生的信息&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/var/cache 一般用来存放缓存信息,例如yum package的缓存&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/sysconfig目录 系统基本配置&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/sysconfig/amd 为amd提供操作参数，用来自动mount/unmount文件系统&lt;/div&gt;&lt;div&gt;/etc/sysconfig/apmd &amp;nbsp; 由apmd使用来配置电源设置&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/sysconfig/arpwatch 在启动的时候传递给arpwatch守护进程的参数&lt;/div&gt;&lt;div&gt;/etc/sysconfig/authconfig 设置主机使用的验证方式&lt;/div&gt;&lt;div&gt;/etc/sysconfig/autofs 自动挂载设备的自定义选项&lt;/div&gt;&lt;div&gt;/etc/sysconfig/clock 系统硬件时钟的设置&lt;/div&gt;&lt;div&gt;/etc/sysconfig/desktop 设置新用户的桌面和进入运行级别5所使用的显示管理器&lt;/div&gt;&lt;div&gt;/etc/sysconfig/dhcpd 在启动的时候传递给dhcpd守护进程的参数&lt;/div&gt;&lt;div&gt;/etc/sysconfig/gpm 在启动的时候传递给gpm守护进程的参数&lt;/div&gt;&lt;div&gt;/etc/sysconfig/hwconf 列出kudzu检测到的所有硬件&lt;/div&gt;&lt;div&gt;/etc/sysconfig/i18n 默认系统语言，系统支持的所有语言，默认系统字体&lt;/div&gt;&lt;div&gt;/etc/sysconfig/init 系统启动时的显示方式&lt;/div&gt;&lt;div&gt;/etc/sysconfig/ip6tables-config &amp;nbsp;在系统启动或者ip6tables服务启动时，内核用来设置IPv6包过滤&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/etc/sysconfig/iptables-config 在系统启动或者iptables服务启动时，内核用来设置包过滤&lt;/div&gt;&lt;div&gt;/etc/sysconfig/keyboard 控制键盘的行为&lt;/div&gt;&lt;div&gt;/etc/sysconfig/kudzu 在启动的时候通过kudzu触发一次安全的系统硬件探查&lt;/div&gt;&lt;div&gt;/etc/sysconfig/named 在启动的时候传递给named守护进程的参数&lt;/div&gt;&lt;div&gt;/etc/sysconfig/netdump netdump服务的配置文件&lt;/div&gt;&lt;div&gt;/etc/sysconfig/network 网络的配置信息&lt;/div&gt;&lt;div&gt;/etc/sysconfig/ntpd 在启动的时候传递给ntpd守护进程的参数&lt;/div&gt;&lt;div&gt;/etc/sysconfig/radvd 在启动的时候传递给radvd守护进程的参数&lt;/div&gt;&lt;div&gt;/etc/sysconfig/samba 在启动的时候传递给smbd/nmbd守护进程的参数&lt;/div&gt;&lt;div&gt;/etc/sysconfig/selinux selinux的基本控制选项&lt;/div&gt;&lt;div&gt;/etc/sysconfig/spamassassin 在启动的时候传递给spamd守护进程的参数&lt;/div&gt;&lt;div&gt;/etc/sysconfig/squid 在启动的时候传递给squid守护进程的参数&lt;/div&gt;&lt;div&gt;/etc/sysconfig/vncservers 配置vnc服务启动的方式&lt;/div&gt;&lt;div&gt;/etc/sysconfig/xinetd 在启动的时候传递给xinetd守护进程的参数&lt;/div&gt;&lt;div&gt;/proc/sys目录 系统重要配置参数，涉及众多内核参数&lt;/div&gt;&lt;div&gt;/proc/sys/fs/file-max 可以分配的文件句柄的最大数目&lt;/div&gt;&lt;div&gt;/proc/sys/fs/file-nr 已分配文件句柄的数目、已使用文件句柄的数目、文件句柄的最大数目&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/sys/fs/inode-* 任何以名称&amp;#8220;inode&amp;#8221;开头的文件所执行的操作与上面那些以名称&amp;#8220;file&amp;#8221;开头的文件所执行的操作一样，但所执行的操作与索引节点有关，而与文件句柄无关&lt;/div&gt;&lt;div&gt;/proc/sys/fs/overflowuid 和 /proc/sys/fs/overflowgid 这两个文件分别保存那些支持 16 位用户标识和组标识的任何文件系统的用户标识（UID）和组标识（GID）&lt;/div&gt;&lt;div&gt;/proc/sys/fs/super-max 该文件指定超级块处理程序的最大数目。挂装的任何文件系统需要使用超级块，所以如果挂装了大量文件系统，则可能会用尽超级块处理程序&lt;/div&gt;&lt;div&gt;/proc/sys/fs/super-nr 显示当前已分配超级块的数目&lt;/div&gt;&lt;div&gt;/proc/sys/kernel/acct 该文件有三个可配置值，根据包含日志的文件系统上可用空间的数量（以百分比表示），这些值控制何时开始进行进程记帐：如果可用空间低于这个百分比值，则停止进程记帐/如果可用空间高于这个百分比值，则开始进程记帐/检查上面两个值的频率（以秒为单位）&amp;nbsp;&lt;/div&gt;&lt;div&gt;/proc/sys/kernel/ctrl-alt-del 该值控制系统在接收到 ctrl+alt+delete 按键组合时如何反应&lt;/div&gt;&lt;div&gt;/proc/sys/kernel/domainname 配置网络域名&lt;/div&gt;&lt;div&gt;/proc/sys/kernel/hostname 主机名&lt;/div&gt;&lt;div&gt;/proc/sys/kernel/msgmax 指定了从一个进程发送到另一个进程的消息的最大长度&lt;/div&gt;&lt;div&gt;/proc/sys/kernel/msgmnb &amp;nbsp;指定在一个消息队列中最大的字节数&lt;/div&gt;&lt;div&gt;/proc/sys/kernel/msgmni 指定消息队列标识的最大数目&lt;/div&gt;&lt;div&gt;/proc/sys/kernel/panic 如果发生&amp;#8220;内核严重错误（kernel panic）&amp;#8221;，内核在重新引导之前等待的时间&lt;/div&gt;&lt;div&gt;/proc/sys/kernel/printk 该文件有四个数字值，它们根据日志记录消息的重要性，定义将其发送到何处&lt;/div&gt;&lt;div&gt;/proc/sys/kernel/shmall 在任何给定时刻系统上可以使用的共享内存的总量（以字节为单位）&lt;/div&gt;&lt;div&gt;/proc/sys/kernel/shmax 内核所允许的最大共享内存段的大小（以字节为单位）&lt;/div&gt;&lt;div&gt;/proc/sys/kernel/shmmni 用于整个系统共享内存段的最大数目&lt;/div&gt;&lt;div&gt;/proc/sys/kernel/sysrq &amp;nbsp;如果该文件指定的值为非零，则激活 System Request Key&lt;/div&gt;&lt;div&gt;/proc/sys/kernel/threads-max 内核所能使用的线程的最大数目&lt;/div&gt;&lt;div&gt;/proc/sys/net/core/message_burst 写新的警告消息所需的时间（以 1/10 秒为单位）；在这个时间内所接收到的其它警告消息会被丢弃。这用于防止某些企图用消息&amp;#8220;淹没&amp;#8221;您系统的人所使用的拒绝服务攻击&lt;/div&gt;&lt;div&gt;/proc/sys/net/core/message_cost 存有与每个警告消息相关的成本值。该值越大，越有可能忽略警告消息&lt;/div&gt;&lt;div&gt;/proc/sys/net/core/netdev_max_backlog &amp;nbsp;在接口接收数据包的速率比内核处理这些包的速率快时，允许送到队列的数据包的最大数目&lt;/div&gt;&lt;div&gt;/proc/sys/net/core/optmem_max 每个套接字所允许的最大缓冲区的大小&lt;/div&gt;&lt;div&gt;/proc/sys/net/core/rmem_default 接收套接字缓冲区大小的缺省值（以字节为单位）&lt;/div&gt;&lt;div&gt;/proc/sys/net/core/rmem_max 接收套接字缓冲区大小的最大值（以字节为单位）。&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/proc/sys/net/core/wmem_default 发送套接字缓冲区大小的缺省值（以字节为单位）。&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/proc/sys/net/core/wmem_max 发送套接字缓冲区大小的最大值（以字节为单位）&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/proc/sys/net/ipv4/ip_forward ip转发是否生效&lt;/div&gt;&lt;div&gt;/proc/sys/net/ipv4/tcp_retrans_collapse 控制TCP双方窗口协商出现错误的时候的一些重传的行为。但是在老的2.6的核 (&amp;lt;2.6.18)里头，这个重传会导致kernel oops，kernel panic，所以如果出现有 tcp_retrans_*样子的kernel panic，可以把这个参数给设置成0&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/proc/sys/vm/buffermem 控制用于缓冲区内存的整个系统内存的数量（以百分比表示）。它有三个值，通过把用空格相隔的一串数字写入该文件来设置这三个值。用于缓冲区的内存的最低百分比/如果发生所剩系统内存不多，而且系统内存正在减少这种情况，系统将试图维护缓冲区内存的数量/用于缓冲区的内存的最高百分比&lt;/div&gt;&lt;div&gt;/proc/sys/vm/freepages 控制系统如何应对各种级别的可用内存。它有三个值，通过把用空格相隔的一串数字写入该文件来设置这三个值。如果系统中可用页面的数目达到了最低限制，则只允许内核分配一些内存/如果系统中可用页面的数目低于这一限制，则内核将以较积极的方式启动交换，以释放内存，从而维持系统性能/内核将试图保持这个数量的系统内存可用。低于这个值将启动内核交换&lt;/div&gt;&lt;div&gt;/proc/sys/vm/kswapd 控制允许内核如何交换内存。它有三个值，通过把用空格相隔的一串数字写入该文件来设置这三个值：内核试图一次释放的最大页面数目。如果想增加内存交换过程中的带宽，则需要增加该值/内核在每次交换中试图释放页面的最少次数/内核在一次交换中所写页面的数目。这对系统性能影响最大。这个值越大，交换的数据越多，花在磁盘寻道上的时间越少。然而，这个值太大会因&amp;#8220;淹没&amp;#8221;请求队列而反过来影响系统性能&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/proc/sys/vm/pagecache 该文件与/proc/sys/vm/buffermem 的工作内容一样，但它是针对文件的内存映射和一般高速缓存&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;/proc/sys/vm/dirty_background_ratio 记录当所有被更改页面总大小占工作内存超过某个限制时，pdflush 会开始写回工作,默认是10%&lt;/div&gt;&lt;div&gt;/proc/sys/vm/dirty_ratio 控制文件系统的文件系统写缓冲区的大小，单位是百分比，表示系统内存的百分比，表示当写缓冲使用到系统内存多少的时候，开始向磁盘写出数据。默认是40%&lt;/div&gt;&lt;div&gt;/proc/sys/vm/dirty_writeback_centisecs 记录pdflush进程把page cache里边的内容写入磁盘的时间周期，默认是5秒&lt;/div&gt;&lt;div&gt;/proc/sys/vm/dirty_expire_centisecs 控制一个更改过的页面经过多长时间后被认为是过期的、必须被写回的页面，默认是30秒&lt;/div&gt;&lt;div&gt;/proc/sys/vm/laptop_mode 是否使用笔记本模式，在kernel2.6之后支持&lt;/div&gt;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/yecllsl/aggbug/2059669.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/yecllsl/archive/2011/05/27/2059669.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/yecllsl/archive/2011/05/12/2044679.html</id><title type="text">tomcat 内存问题</title><summary type="text">其初始空间(即-Xms)是物理内存的1/64，最大空间(-Xmx)是物理内存的1/4。可以利用JVM提供的-Xmn -Xms -Xmx等选项可进行设置实例，以下给出1G内存环境下java jvm 的参数设置参考：JAVA_OPTS=”-server -Xms800m -Xmx800m -XX:PermSize=64M-XX:MaxNewSize=256m -XX:MaxPermSize=128m -Djava.awt.headless=true ”JAVA_OPTS=”-server -Xms768m -Xmx768m -XX:PermSize=128m-XX:MaxPermSize=256m</summary><published>2011-05-12T10:23:00Z</published><updated>2011-05-12T10:23:00Z</updated><author><name>原材料</name><uri>http://www.cnblogs.com/yecllsl/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yecllsl/archive/2011/05/12/2044679.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yecllsl/archive/2011/05/12/2044679.html"/><content type="html">&lt;span style="font-family: verdana, sans-serif; font-size: 14px; line-height: 21px; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;其初始空间(即-Xms)是物理内存的1/64，最大空间(-Xmx)是物理内存的1/4。&lt;br /&gt;可以利用JVM提供的-Xmn -Xms -Xmx等选项可进行设置&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;实例，以下给出1G内存环境下java jvm 的参数设置参考：&lt;br /&gt;JAVA_OPTS=&amp;#8221;-server -Xms800m -Xmx800m -XX:PermSize=64M&lt;br /&gt;-XX:MaxNewSize=256m -XX:MaxPermSize=128m -Djava.awt.headless=true &amp;#8221;&lt;br /&gt;JAVA_OPTS=&amp;#8221;-server -Xms768m -Xmx768m -XX:PermSize=128m&lt;br /&gt;-XX:MaxPermSize=256m -XX:NewSize=192m -XX:MaxNewSize=384m&amp;#8221;&lt;br /&gt;CATALINA_OPTS=&amp;#8221;-server -Xms768m -Xmx768m -XX:PermSize=128m&lt;br /&gt;-XX:MaxPermSize=256m&lt;br /&gt;-XX:NewSize=192m -XX:MaxNewSize=384m&amp;#8221;&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;Linux：&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;在/usr/local/apache-tomcat-5.5.23/bin目录下的catalina.sh&lt;br /&gt;添加：JAVA_OPTS=&amp;#8217;-Xms512m -Xmx1024m&amp;#8217;&lt;br /&gt;要加&amp;#8220;m&amp;#8221;说明是MB，否则就是KB了，在启动tomcat时会报内存不足。&lt;br /&gt;-Xms：初始值&lt;br /&gt;-Xmx：最大值&lt;br /&gt;-Xmn：最小值&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;Windows&lt;br /&gt;在catalina.bat最前面加入&lt;br /&gt;set JAVA_OPTS=-Xms128m -Xmx350m&lt;br /&gt;如果用startup.bat启动tomcat,OK设置生效.够成功的分配200M内存.&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;但是如果不是执行startup.bat启动tomcat而是利用windows的系统服务启动tomcat服务,&lt;br /&gt;上面的设置就不生效了,&lt;br /&gt;就是说set JAVA_OPTS=-Xms128m -Xmx350m 没起作用.&lt;br /&gt;上面分配200M内存就OOM了..&lt;br /&gt;windows服务执行的是bin\tomcat.exe.他读取注册表中的值,而不是catalina.bat的设置.&lt;br /&gt;解决办法:&lt;br /&gt;修改注册表HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation&lt;br /&gt;\Tomcat Service Manager\Tomcat5\Parameters\JavaOptions&lt;br /&gt;原值为&lt;br /&gt;-Dcatalina.home=&amp;#8221;C:\ApacheGroup\Tomcat 5.0&amp;#8243;&lt;br /&gt;-Djava.endorsed.dirs=&amp;#8221;C:\ApacheGroup\Tomcat 5.0\common\endorsed&amp;#8221;&lt;br /&gt;-Xrs&lt;br /&gt;加入 -Xms300m -Xmx350m&lt;br /&gt;重起tomcat服务,设置生效&lt;br /&gt;（Tomcat 5.5 的话，在Apache Software Foundation下有个Procrun 2.0的 Tomcat5\Parameters\Java下&lt;br /&gt;设置JvmMs和JvmMx的值就可以了，要修改10进制的值哦）&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;不过，OS对内存也有限制&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;附：如何获得JVM的最大可用内存&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;在命令行下用 java -XmxXXXXM -version 命令来进行测试，然后逐渐的增大XXXX的值，如果执行正常就表示指定的内存大小可用，否则会打印错误信息。&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;实际发现版本上有细微差别的JDK最大容许内存值都不尽相同，因此在实际的应用中还是要自己试验一下看到底内存能达到什么样的值。&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;通过这个表想说明的是，如果你的机器的内存太多的话，只能通过多运行几个实例来提供机器的利用率了，例如跑Tomcat，你可以多装几个Tomcat并做集群，依此类推。&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;这个人家测试的结果，我这里引用一下&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;公司 JVM版本 最大内存(兆)client 最大内存(兆)server&lt;br /&gt;SUN 1.5.x 1492 1520&lt;br /&gt;SUN 1.5.5(Linux) 2634 2660&lt;br /&gt;SUN 1.4.2 1564 1564&lt;br /&gt;SUN 1.4.2(Linux) 1900 1260&lt;br /&gt;IBM 1.4.2(Linux) 2047 N/A&lt;br /&gt;BEA JRockit 1.5 (U3) 1909 1902&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;所以跟OS的系统版本，jdk版本有很大的关系。要是希望充分利用内存，就考虑使用集群。&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;********************************************************************************************88&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;一、在tomcat的catalina.bat中修改，加入-Dcom.sun.management.jmxremote参数&lt;br /&gt;set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; "&gt;二、需要使用jdk5.0以上，打开bin目录下的jconsole.exe，即可连接跟踪tomcat的内存使用情况&lt;/p&gt;&lt;/span&gt;&lt;img src="http://www.cnblogs.com/yecllsl/aggbug/2044679.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/yecllsl/archive/2011/05/12/2044679.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry></feed>
