-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgetabrtinfo.sh
More file actions
executable file
·36 lines (31 loc) · 1.18 KB
/
Copy pathgetabrtinfo.sh
File metadata and controls
executable file
·36 lines (31 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
echo "Listing:"
ls -altr /var/tmp/abrt
echo "last-ccpp:"
cat /var/tmp/abrt/last-ccpp
echo ""
for filename in /var/tmp/abrt/*; do
if [ -d $filename ]
then
echo "======================== START ================================"
echo "$filename"
echo "==============================================================="
echo " EXECUTABLE "
echo "---------------------------------------------------------------"
cat $filename/executable
echo ""
echo "---------------------------------------------------------------"
echo " REASON "
echo "---------------------------------------------------------------"
cat $filename/reason
echo ""
echo "---------------------------------------------------------------"
echo " BACKTRACE "
echo "---------------------------------------------------------------"
cat $filename/core_backtrace
echo ""
echo "==============================================================="
echo "$filename"
echo "=====================i=== END ==============================="
fi
done