|
标签:杂谈 |
系统中所有packages的信息都在/var/lib/dpkg/目录下,其中子目录”/var/lib/dpkg/info”用于保存各个软件包的配置文件列表.
.conffiles 记录了软件包的配置文件列表
.list 保存软件包中的文件列表,用户可以从.list的信息中找到软件包中文件的具体安装位置.
.md5sums 记录了软件包的md5信息,这个信息是用来进行包验证的.
.prerm 脚本在Debian报解包之前运行,主要作用是停止作用于即将升级的软件包的服务,直到软件包安装或升级完成.
.postinst脚本是完成Debian包解开之后的配置工作,通常用于执行所安装软件包相关命令和服务重新启动.
/var/lib/dpkg/available文件的内容是软件包的描述信息,该软件包括当前系统所使用的Debian安装源中的所有软件包,其中包括当前系统中已安装的和未安装的软件包.
dpkg
查询以安装的信息
查询当前系统所有已安装的deb包
dpkg –l 命令用于查询当前系统所有以安装的deb包的信息.,通过less和grep可以执行更复杂的查询工作.
例如查找跟vim有关的软件包,dpkg –l |grep –ivim
(如发现iU 表示软件包未安装成功,ii表示安装成功)
查看
(1)PEAR是什么:PEAR的官方定义是“
PHP Extension and Application Repository——PHP扩展和应用库'。PEAR is a framework and
distribution system for reusable PHP
components。通俗的说,PEAR是PHP的官方开源类库, PHP Extension and Application
Repository的缩写。Pear在英文中是梨子的意思。PEAR将PHP程序开发过程中常用的功能编写成类库,涵盖了页面呈面、数据库访问、文件操作、数据结构、缓存操作、网络协议等许多方面,用户可以很方便地使用。它是一个PHP扩展及应用的一个代码仓库,简单地说,PEAR就是PHP的
cpan。PEAR本身还是一个管理PHP扩展和应用库的工具,你可以通过pear命令来安装、卸载你所需要、不需要的PHP扩展和应用库。
(2)PEAR的历史:PEAR(PHP Extension and Application Repository)由Stig S.
Bak
OnlineRedoLogFile的主要作用是为了提高数据库性能,有变动的数据信息不直接写入磁盘而是先通过LGWR把数据写入到OnlineRedoLogFile里面,然后再用DBWR写进磁盘。大概的流程是写满第一组后写第二组再写第三组然后转回来继续写第一组。每写完一组再转到下一组的时候会发生log
switch, 这时也会自动启动check point, 所谓check point 就是把当前的
redo文件通过DBWR写入到磁盘中去,这样的话下次转到继续写他的时候以前的数据才不会丢失。最少要有两个组,每个组最少要有一个成员,当然为了数据安全不丢失,一般都要弄至少两到三个成员分别放到不同的磁盘上去。
我们可以分别通过修改spfile和pfile来完成这件事。
一, 通过修改spfile创建新的控制文件
[root@oracle11g dbs]# su -
oracle
[oracle@oracle11g ~]$ sqlplus /nolog
SQL*Plus: Release 11.1.0.6.0 - Production on Wed Nov 11 10:22:18 2009
Copyright (c) 1982, 2007, Oracle.
SQL> conn / as
sysdba
Connected to an idle instance.
SQL>
startup
ORACLE instance started.
Total System Global Area
Fixed Size
第一章 检查系统的状态
1.1 使用sar来检查操作系统是否存在IO问题
1.2 关注内存vmstat
1.3 找到使用资源特别大的Oracle的session及其执行的语句
1.4 查找前十条性能差的sql语句
第二章 检查会话状态
通过操作系统的一些工具检查系统的状态,比如CPU、内存、交换、磁盘的利
Bridges operate at the data link layer (Layer 2) of the OSI model. Bridges inspect incoming traffic and decide whether to forward or discard it. An Ethernet bridge, for example, inspects each incoming Ethernet frame - including the source and destination MAC addresses, and sometimes the frame size - in making individual forwarding decisions.
Bridges serve a similar function as switches, that also operate at Layer 2. Traditional bridges, though, support one network boundary, whereas switches usually offer four or more hardware ports. Switches are sometimes called 'multi-port bridges' for this reason.
Most People applies this model to connect two or more PCs,we not only use it connect windows 2 windows but also windows to linux,yes,it is very popular network connection model. I use it connect windows and Linux(VM) is very simple as well,(if We use this model,it is means that we will connected directly to the hysical network). after test,it should be OK as my below works.
我看晕了,原来老外也很纠结
can you can a can as a caner can can a can
never trouble trouble until trouble troubles you
想起了有个电影里面的一句台词:
So they don't know we know they know we know...