分类: 系统运维
2007-06-08 05:24:10
|
|
|
|
Startup script | /etc/rc.d/rc | /sbin/init.d | /sbin/init.d |
Kernel | /boot/vmlinuz | /kernel/genunix | /vmunix |
Kernel Parameters | sysctl -a | sysdef -i | sysconfig dxkerneltuner |
Reconfigure the kernel | cd /usr/src/linux make mrproper make menuconfig make dep make clean make bzimage make install make modules make modules_install cp arch/i386\ |
vi /etc/system reboot |
doconfig |
List modules | lsmod | modinfo | |
Load module | insmod | modload | |
Unload module | rmmod | modunload | |
Initialize system | netconf | sys-unconfig | netsetup |
Physical RAM | free | prtconf | uerf | grep memory |
Kernel Bits | getconf WORD_BIT | isainfo -kv | 64 |
Crash utility | crash | kdbx | |
Trace System Calls | strace | truss | |
Machine model | uname -m | uname -imp | uname -p |
OS Level | uname -r | uname -r | sizer -v |
Run Level | runlevel | who -r | who -r |
Core dump files | /var/crash/`uname -n` | ||
Boot single user | {lilo} control-x linux S {grub} c kernel vmlinuz-2.4.9-13 single ro root=/dev/hda8 initrd /initrd-2.4.9-13.img boot |
ok boot -s | >>> boot -fl s |
Maintenance mode | ok boot -as | ||
Interrupt Key | Stop-A | control-P | |
Return to console | ok go | ||
Timezone Management | /etc/sysconfig/clock | /etc/TIMEZONE /etc/default/init |
/etc/svid3_tz timezone |
NTP Daemon | /etc/ntp.conf /etc/rc.d/init.d/xntpd |
/etc/inet/ntp.conf /etc/init.d/xntpd |
rcmgr set XNTPD_CONF YES /sbin/init.d/xntpd |