<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19258">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>The script you want is: 
/usr/sbin/swatch</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>By the time the Perl script gets to line 170, there 
may be a $body variable containing data which is emails.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>You could probably add some output to this just 
after the if ($body) { line... maybe $body .= `top -b -n1`;  
(untested)</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I would expect to see this file get updated from 
time to time, so any changes may get wiped when there is an update.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>HTH.</FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=will@wnahosting.com href="mailto:will@wnahosting.com">Will 
  Nordmeyer</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=blueonyx@mail.blueonyx.it 
  href="mailto:blueonyx@mail.blueonyx.it">blueonyx@mail.blueonyx.it</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, July 30, 2012 1:19 AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [BlueOnyx:11041] swatch and 
  system monitoring</DIV>
  <DIV><FONT size=2 face=Arial></FONT><FONT size=2 face=Arial></FONT><BR></DIV>
  <P>Hi</P>
  <P>I'm running on a BlueOnyx 5106R and am trying to modify the cpu 
  monitor.  For the past week or so, I am regularly getting emails that the 
  CPU is moderately utilized, but then it drops back. </P>
  <P>Unfortunately, by the time I can access the server, I don't generally see 
  the problem.  What I'd like is to modify that email so that when the CPU 
  is moderately, or heavily utilized (or memory, etc.) the email contains a top 
  report, or something else that would give me some indication as to what's 
  taking up the CPU/Memory/Network.</P>
  <P>Any advice/assistance/recommendations would be greatly appreciated.</P>
  <P><FONT size=2 face=Arial></FONT> </P>
  <P><FONT size=2 face=Arial></FONT> </P>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Blueonyx mailing 
  list<BR>Blueonyx@mail.blueonyx.it<BR>http://mail.blueonyx.it/mailman/listinfo/blueonyx<BR></BLOCKQUOTE></BODY></HTML>