|
- [root@station80 ~]# df -h
- Filesystem Size Used Avail Use% Mounted on
- /dev/mapper/O11grhel5-root
- 11G 7.1G 2.8G 73% /
- /dev/mapper/O11grhel5-u01
- 33G 24G 7.0G 78% /u01
- /dev/sda1 99M 27M 68M 28% /boot
- tmpfs 1.9G 0 1.9G 0% /dev/shm
复制代码- [root@station80 ~]# uname -a
- Linux station80.example.com 2.6.18-238.el5PAE #1 SMP Sun Dec 19 14:42:44 EST 2010 i686 i686 i386 GNU/Linux
复制代码- [root@station80 ~]# rpm -qa | grep ^compat
- compat-libf2c-34-3.4.6-4
- compat-libgcc-296-2.96-138
- compat-db-4.2.52-5.1
- compat-gcc-34-c++-3.4.6-4
- compat-glibc-headers-2.3.4-2.26
- compat-gcc-34-3.4.6-4
- compat-libstdc++-33-3.2.3-61
- compat-glibc-2.3.4-2.26
- compat-libstdc++-296-2.96-138
- compat-gcc-34-g77-3.4.6-4
复制代码- [root@station80 ~]# rpm -qa | grep libaio
- libaio-0.3.106-5
- libaio-devel-0.3.106-5
复制代码- [root@station80 ~]# rpm -qa | grep ODBC
- unixODBC-2.2.11-7.1
- unixODBC-devel-2.2.11-7.1
复制代码- [root@station80 ~]# rpm -qa | grep ksh
- pdksh-5.2.14-36.el5
复制代码- [root@station80 ~]# rpm -qa | grep sysstat
- sysstat-7.0.2-3.el5_5.1
复制代码 /etc/profile:
- if [ $USER = "oracle" ]; then
- if [ $SHELL = "/bin/ksh" ]; then
- ulimit -p 16384
- ulimit -n 65536
- else
- ulimit -u 16384 -n 65536
- fi
- fi
复制代码 /etc/sysctl.conf:
- kernel.shmall = 268435456
- fs.file-max = 6815744
- kernel.sem = 250 32000 100 128
- kernel.shmall = 2097152
- kernel.shmmni = 4096
- net.core.rmem_default=4194304
- net.core.rmem_max=4194304
- net.core.wmem_default=1048576
- net.core.wmem_max=1048576
- net.ipv4.ip_local_port_range = 9000 65500
- fs.aio-max-nr = 1048576
-
复制代码
/etc/pam.d/login:
- session required /lib/security/pam_limits.so
复制代码
/etc/security/limits.conf:
- oracle soft nproc 2047
- oracle hard nproc 16384
- oracle soft nofile 1024
- oracle hard nofile 65536
复制代码- [root@station80 ~]# fdisk -l
- Disk /dev/sda: 67.6 GB, 67645734912 bytes
- 255 heads, 63 sectors/track, 8224 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Device Boot Start End Blocks Id System
- /dev/sda1 * 1 13 104391 83 Linux
- /dev/sda2 14 5748 46066387+ 8e Linux LVM
- /dev/sda3 5749 6513 6144862+ 8e Linux LVM
- /dev/sda4 6514 8224 13743607+ 5 Extended
- /dev/sda5 6514 6864 2819376 8e Linux LVM
- /dev/sda6 6865 7215 2819376 8e Linux LVM
- /dev/sda7 7216 7566 2819376 8e Linux LVM
- /dev/sda8 7567 7917 2819376 8e Linux LVM
- /dev/sda9 7918 8048 1052226 82 Linux swap / Solaris
复制代码
|
|