9/13/2012

HP-UX Cheat sheet #1 Kernel


This is a document that can be used for revision purposes for HP-UX


Kernel
Kernel parms and Hardware.
/usr/sbin/sysdef or ioscan –fn
Major numbers (devices)
lsdev
Unix device messages
dmesg
Configuration files
/etc/rc.config.d
Unix Kernel
/stand/vmunix
All crash files.
/var/adm/crash

display loaded modules
kmadmin
kmadmin -s
load modules
kmadmin -L
unload modules
kmadmin -U
set kernel parameters
kctune (11i)
rebuild kernel
display kernel parameters
kctune (11i)
sysdef
kmtune
kmsystem
usr/sam/lbin/getkinfo -f /stand/vmunix -o /tmp/kernel.data
rebuild kernel
cd /stand/build
/usr/lbin/sysadm/system_prep -s system
edit system file
/usr/sbin/mk_kernel -s ./system
mv /stand/system /stand/system.old
mv /stand/vmunix /stand/vmunix.old
mv /stand/build/system /stand
mv /stand/build/vmunix_test /stand/vmunix
shutdown -r 0

No comments:

Post a Comment

Popular Posts