Analisar Kernel Dump SCO

Ao dar kernel panic no SCO, use o procedimento para analisar a causa da falha

O arquivo de dump nao mostra a hora do kernel panic. Para saber a hora aproximada do panic use:

awk '/PANIC:/{for(i=1;i<=x;)print a[i++];print}{for(i=1;i<x;i++)a[i]=a[i+1];a[x]=$0;}' x=3 /var/adm/syslog

Entre no diretorio onde estao os arquivos salvos de dump

cd /var/spool/dump/

Descompacte um arquivo de dump

bzip2 -d panic.2017-01-23.16\:14.bz2

Extraia do dump o tipo de informacao que deseja

crash -d /var/spool/dump/panic.2017-01-23.16\:14 -n /stand/unix -w /tmp/crash-file
> panic
> trace
> stack
> user
> proc
> quit

Para ler o dump:

cat /tmp/crash-file | more
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s