114 |
<LI><A HREF="#stunnel">STunnel (SSL tunnel)</A></LI> |
<LI><A HREF="#stunnel">STunnel (SSL tunnel)</A></LI> |
115 |
</ul> |
</ul> |
116 |
</li> |
</li> |
117 |
|
<li> Misc Usage |
118 |
|
<ul> |
119 |
|
<LI><A HREF="#core">Watch and analyze crashdumps</A></LI> |
120 |
|
</ul> |
121 |
|
</li> |
122 |
</ul> |
</ul> |
123 |
|
|
124 |
|
|
1046 |
if failed gid root then unmonitor |
if failed gid root then unmonitor |
1047 |
alert foo@bar |
alert foo@bar |
1048 |
</pre> |
</pre> |
1049 |
|
|
1050 |
|
<h2>Misc Usage</h2> |
1051 |
|
<h3><a name="core">Watch and analyze crashdumps</a></h3> |
1052 |
|
<pre> |
1053 |
|
check file httpd_core with path /usr/apache/core |
1054 |
|
if changed timestamp |
1055 |
|
then exec "/bin/bash -c '/usr/bin/pstack /usr/apache/core | mailx -s httpd_crash foo@bar'" |
1056 |
|
</pre> |
1057 |
</TD> |
</TD> |
1058 |
</TR> |
</TR> |
1059 |
</TABLE> |
</TABLE> |