diff options
Diffstat (limited to 'testscripts/dltinfo.sh')
-rwxr-xr-x | testscripts/dltinfo.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/testscripts/dltinfo.sh b/testscripts/dltinfo.sh deleted file mode 100755 index 3e70ab5..0000000 --- a/testscripts/dltinfo.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -clear -processname="dlt-daemon" -pidofdlt=`pidof $processname` - -if [ $pidofdlt ] - then - echo "DLT Deamon is running with PID:$pidofdlt" - else - echo "DLT Daemon is NOT running" -fi - -if [ -f /var/log/messages ] - then -echo "------- messages ----------------" -cat /var/log/messages | grep -a DLT | tail -fi - -if [ -f /var/log/syslog ] - then - echo "------- SYSLOG -------------------" - cat /var/log/syslog | grep -a DLT | tail -fi - |