Comparatif : Initialisation du systeme
mardi 30 juin 2009
par
popularité : 2%
par
popularité : 2%
Initialisation du systeme
Startup script | /etc/rc | /etc/rc | /sbin/rc | /etc/rc.d/rc | /sbin/init.d | /sbin/init.d |
Kernel | /usr/lib/boot/unix_up | /kernel | /stand/vmunix | /boot/vmlinuz | /kernel/genunix | /vmunix |
Kernel Parameters | lsattr -E -l sys0 | sysctl -a | sysdef kmtune kmsystem |
sysctl -a | sysdef -i | sysconfig dxkerneltuner |
Reconfigure le 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 |
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 |
vi /etc/system reboot |
doconfig |
List modules | genkex | kldstat | kmadmin -s | lsmod | modinfo | |
Load module | kldload | kmadmin -L | insmod | modload | ||
Unload module | kldunload | kmadmin -U | rmmod | modunload | ||
Initialize system | install_assist | /stand/sysinstall | set_parms initial | netconf | sys-unconfig | netsetup |
Physical RAM | bootinfo -r | sysctl hw.physmem | grep -i Physical /var/adm/syslog/syslog.log | free | prtconf | uerf | grep memory |
Kernel Bits | bootinfo -k | getconf KERNEL_BITS | getconf WORD_BIT | isainfo -kv | 64 | |
Crash utility | crash | crash | adb | lcrash | crash | kdbx |
Trace System Calls | syscalls | truss | tusc | strace | truss | trace |
Machine model | uname -m bootinfo -m |
uname -m | model uname -m |
uname -m | uname -imp | uname -p |
OS Level | oslevel | uname -r | uname -r | uname -r | uname -r | sizer -v |
Run Level | who -r | who -r | runlevel | who -r | who -r | |
Core dump files | /var/adm/ras | /var/adm/crash | /var/crash/uname -n |
|||
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 |
{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 | >boot Interact with IPL ? Y ISL>hpux -lm |
ok boot -as | |||
Interrupt Key | control-B | Stop-A | control-P | |||
Return to console | co | ok go | ||||
Timezone Management | /etc/environment /etc/profile |
/etc/localtime | /etc/TIMEZONE | /etc/sysconfig/clock | /etc/TIMEZONE /etc/default/init |
/etc/svid3_tz 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 |
/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 |
Commentaires Forum fermé