摘要:
[quote:3d07c31f9f="大梦"]shmmax: 33554432
shmmin: 1
shmmni: 128
shmseg: 128
semmni: 128
semmns: 4096
semmnu: 4096
semume: 32
semmsl: 32
semmap: 4096[/quote:3d07c31f9f]
配置内核参数
内核参数的配置一般在/proc文件夹下配置
进入目录/proc/sys/kernel;
用cat命......
摘要:
请问如何只将 .rpm的包解压到一个目录,而不安装?
谢谢!
xhooso 回复于:2003-05-21 09:40:39
好像没有这个功能吧?
paradise 回复于:2003-05-21 09:51:03
rpm2cpio xxx.rpm| cpio -div
paradise 回复于:2003-05-21 09:49:51
rpm2cpio *.rpm| cpio -div
......
zt: Kernel Tuning
purge觉得这篇文章不错,所以就贴出来了,大家参考参考。
【相关文章:
[原创]Linux上应用isdn的解决方】 【扩展阅读:
Linux 使用技巧集锦(一)】原文在 http://linuxperf.nl.linux.org/general/kerneltuning.html
【扩展信息:
Squid+MRTG实现完善的缓存代理和】
kernel tuning
(this page is derived from other linuxperf pages and external sources - external references are noted where used)
how to set kernel tunables
the easiest method to set kernel parameters is by modifying the /proc filesystem (and hence the kernel directly) by using echo "value" > /proc/kernel/parameter. then changes take effect immediately but must be reset at system boot up. kernel tuning can be automated at boo time by putting the echo commands in /etc/rc.d/rc.local for non-redhat distributions or for redhat derived distributions modify the /etc/sysctl.conf configuration file instead.
increasing system limits
increasing the maximum number of file handles and the inode cache
note:
on all current versions of linux up to and including 2.2.10 and 2.3.9, inode caches do not shrink like the file and dentry caches do when your applications need lots of ram.
this means if you set a really large inode cache, then you can lose a significant amount of ram over time. on a server machine, this is expected, normal and desired. on a workstation machine, doing a kernel compile when your inode-max is set at a very large number will probably give far too much to the inode cache.
empirical evidence suggests that 40960 entries in the inode cache will use up to 10 megabytes of ram. your mileage may vary, and more data is necessary to confirm this number.
linux 2.0.x - file-max defaults to 1024 so increase the value of /proc/sys/kernel/file-max to something reasonable like 256 for every 4m of ram you have: i.e.. for a 64 m machine, set it to 4096.
the canonical command to change anything in the /proc hierarchy is (as root) echo "newvalue" >/proc/file/that/you/want/to/change, so for this item the command line is
echo "4096" >/proc/sys/kernel/file-max
also increase /proc/sys/kernel/inode-max to a value roughly 3 to 4 times the number of open files. this is because the number of inodes open is at least one per open file, and often much larger than that for large files.
(the following was written by tani hosokawa)
note: if you increase this beyond 1024, you may also have to edit include/linux/posix_types.h and increase this line:
#define __fd_setsize 1024
...
下一页 摘要:
redhat advance server 2.1集群的安装与管理
1.介绍
redhat中的集群提供数据与服务的高可用性,可以使用盘柜,进行电源的管理,也可以进行server之间的failover的切换,可以满足一些企业的需求。集群可以就用在数据库服务,文件服务器,www服务器等应用服务器上,可以实现负载均衡。他是基于linux的lvs的基础上开发而来,同时又增加了数据的可靠性和服务的可用性,还有负载均衡。
2.特点:
(1)将形成没有单点......