#!/bin/sh
#
# $Id$
# Formats the PowerMTA crash log
#

PID=$1
THREAD=$2

/bin/uname -a

if [ -r /etc/redhat-release ]; then
    /bin/cat /etc/redhat-release
fi

if [ -r /etc/SuSE-release ]; then
    /bin/cat /etc/SuSE-release
fi

echo ""
/usr/sbin/pmtad --version

echo ""
/usr/sbin/pmtashowstacks $PID $THREAD

exit 0
