Easy way to install AppCrash system-wide

Here's an easy way to do it. I've used it myself for most Solaris 10 (or later) systems I work with, both SPARC and x86/x64.

Download file app_crash.tar.gz, say into /tmp. Then:


% su -
Password: xxxxx
# cd /opt
# gunzip -c /tmp/app_crash.tar.gz | tar xvf -
# cd app_crash

[Optional: edit script runme_on_app_crash. For example, you can
uncomment its last lines to email the AppCrash output to yourself
and/or to anyone else.]

# ./install_as_daemon

This is all you need to do. From now on, any process that crashes on your system will trigger the AppCrash action. The AppCrash daemon will be restarted automatically any time your system is rebooted.

Comments:

Post a Comment:
Comments are closed for this entry.
About

gregns

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
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
   
       
Today