Horarios Kernel PANIC

Ver horario do kernel panic

Linux: ( imprime linha com PANIC: + 2 linhas antes )

grep -B 2 'PANIC:' /var/log/syslog

SCO: ( imprime linha com PANIC: + 3 linhas antes )

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

Ver motivo de kernel panic:

Linux: ( imprime linha com PANIC: + 2 linhas antes + 45 depois )

grep -B 2 -A 45 'PANIC:' /var/log/syslog
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