mdb was introduced in Solaris 8 as a replacement for the adb and crash commands
Besides being able to analyze a core dump in the same way as adb, mdb is a modular debugger which allows the end user to create custom tools and commands to do almost anything. The modularity of mdb is its main strength. Modules can allow us to look at programs in a number of contexts, both live and post-mortem. These tools are located in loadable modules which can be accessed via dlopen(). These modules are called dmods and include both dcmds (commands) and walkers. ("Walker" commands allow mdb to change the target to a different part of the program structure.) mdb also has a number of good interactive features, including command line history, editing and logging. In addition, there is a syntax-checking facility and a built-in output pager. Example: Analyze a core dump root@ # mdb -k unix.3 vmcore.3
|
SET UP RSC on a Sun Fire V880
a) Moverse hasta el directorio de nuestra arquitectura del server:
# /usr/platform/`uname -i`/sbin/
# ls
rsc-config rsc-initscript rscadm
#
b) Configurar parametros de red para su acceso remoto a la ALOM
# ./rscadm set ip_mode config
# ./rscadm set ip_addr 172.18.136.240
# ./rscadm set ip_netmask 255.255.255.0
# ./rscadm set ip_gateway 172.18.136.1
# ./rscadm resetrsc
# ./rscadm shownetwork
IP Address: 172.18.136.240
Gateway address: 172.18.136.1
Netmask: 255.255.255.0
Ethernet address: 00:03:ba:68:b2:f6
#
Ahora a testear conectividad vía telnet, una vez que se halla conectado el cable de red a la tarjeta ALOM.