# more kmtune.sh
#!/bin/ksh
cd /stand/build
cp /stand/system /stand/system.prev
/usr/lbin/sysadm/system_prep -s /stand/build/system
kmtune -s eqmemsize=2048 -S /stand/build/system
kmtune -s maxdsiz=0x40000000 -S /stand/build/system
kmtune -s maxusers=2048 -S /stand/build/system
kmtune -s msgmax=32768 -S /stand/build/system
kmtune -s msgmnb=65535 -S /stand/build/system
kmtune -s msgmni=3200 -S /stand/build/system
kmtune -s msgseg=32767 -S /stand/build/system
kmtune -s msgssz=32 -S /stand/build/system
kmtune -s msgtql=32000 -S /stand/build/system
kmtune -s nflocks=2000 -S /stand/build/system
kmtune -s semmni=4096 -S /stand/build/system
kmtune -s semmns=4096 -S /stand/build/system
kmtune -s semmnu=2048 -S /stand/build/system
kmtune -s semume=64 -S /stand/build/system
kmtune -s shmmax=0x40000000 -S /stand/build/system
kmtune -s shmmni=1024 -S /stand/build/system
kmtune -s shmseg=512 -S /stand/build/system
kmtune -s swchunk=4096 -S /stand/build/system
kmtune -s vps_ceiling=64 -S /stand/build/system
kmtune -s nkthread=8192 -S /stand/build/system
kmtune -s max_thread_proc=5763 -S /stand/build/system
kmtune -s maxfiles=5763 -S /stand/build/system
kmtune -s maxfiles_lim=5763 -S /stand/build/system
kmtune -s nproc=5763 -S /stand/build/system
kmtune -s maxvgs=100 -S /stand/build/system
cp /stand/build/system /stand
mk_kernel -s /stand/build/system
sleep 10
kmupdate /stand/build/vmunix_test
echo "You may System Rebooting"
#
|