[ 永遠的UNIX::UNIX技術資料的寶庫 ]   GB | BIG5

首頁 > 系統管理 > 其它 > 正文
主流服務器UNIX操作系統比較(之八)其它命令
本文出自:http://www.yesky.com 作者: stone (2002-04-12 08:02:01)
MISC
AIX
FreeBSD
HP-UX
Startup script /etc/rc /etc/rc /sbin/rc
Kernel /usr/lib/boot/unix_up /kernel /stand/vmunix
Kernel Parameters lsattr -E -l sys0 sysctl -a sysdef
kmtune
kmsystem
Reconfigure the kernel
chdev -l sys0 -a 
cd /sys/i386/conf
vi KERNEL
config KERNEL
cd ../../compile\
/KERNEL

make depend
make
make install
cd /stand/build\
/usr/lbin/sysadm\
/system_prep -v -s system

vi system
mk_kernel -s system
cd /stand
mv system system.prev
mv vmunix vmunix.prev
mv dlkm dlkm.prev
mv /stand/build\
/system system

kmupdate /stand/build\
/vmunix_test
List modules genkex kldstat kmadmin -s
Load module   kldload kmadmin -L
Unload module   kldunload kmadmin -U
Initialize system install_assist /stand/sysinstall set_parms initial
Physical RAM bootinfo -r sysctl hw.physmem grep -i Physical\ /var/adm/syslog\
/syslog.log
Kernel Bits bootinfo -k   getconf KERNEL_BITS
Crash utility crash crash adb
Trace System Calls syscalls truss tusc
Machine model uname -m
bootinfo -m
uname -m model
uname -m
OS Level oslevel uname -r uname -r
Run Level who -r   who -r
Core dump files /var/adm/ras   /var/adm/crash
Boot single user Key on service mode/F4
Boot from CD/Tape
Select Maintenance
Limited function Shell
ok boot -s >boot
Interact with IPL ? Y
ISL>hpux -iS
Maintenance mode   ok boot -as >boot
Interact with IPL ? Y
ISL>hpux -lm
Interrupt Key     control-B
Return to console     co
Timezone Management /etc/environment
/etc/profile
/etc/localtime /etc/TIMEZONE
NTP Daemon /etc/ntp.conf
startsrc -s xntpd
/etc/rc.conf {xntpd_enable="YES"}
/etc/rc.network
/etc/rc.config.d\
/netdaemons
/sbin/init.d/xntpd

MISC
LINUX(RedHat)
SOLARIS
Tru64
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\
/boot/bzImage /boot\
/vmlinuz-2.2.16
mkinitrd /boot/initrd-2.2.16.img 2.2.16
vi /etc/lilo.conf
lilo

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 lcrash crash kdbx
Trace System Calls strace truss trace
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

(http://www.fanqiang.com)
    進入【UNIX論壇

相關文章
主流服務器UNIX操作系統比較(之七)安裝與卸載 (2002-04-12 06:02:00)
主流服務器UNIX操作系統比較(之六)磁盤與邏輯卷命令比較 (2002-04-11 08:02:00)
主流服務器UNIX操作系統比較(之五)系統文件比較 (2002-04-11 06:02:00)
主流服務器UNIX操作系統比較(之四)打印機、TCP/IP相關設置 (2002-04-10 08:02:01)
主流服務器UNIX操作系統比較(之三)常用命令 (2002-04-10 06:02:00)
主流服務器UNIX操作系統比較(之二)用戶帳號的設置 (2002-04-09 08:02:00)
主流服務器UNIX操作系統比較(之一)目錄結構對比 (2002-04-09 06:02:00)
 

★  樊強制作 歡迎分享  ★