<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:st1 = 
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18828"><o:SmartTagType 
name="PersonName" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: Monotype Corsiva;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt
}
LI.MsoNormal {
        MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt
}
DIV.MsoNormal {
        MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-FAMILY: Arial; COLOR: navy; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US link=blue vLink=purple>
<DIV dir=ltr align=left><SPAN class=434043018-23112009><FONT color=#0000ff 
size=2 face=Arial>Interesting.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=434043018-23112009><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=434043018-23112009><FONT color=#0000ff 
size=2 face=Arial>I was just checking out the output in Xymon 4.3.0-0.beeta2, 
and the process listing under "procs" is not truncated at all for me.  
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=434043018-23112009><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=434043018-23112009><FONT color=#0000ff 
size=2 face=Arial>I was about to setup a new check, and see what I could come up 
with, and I happened to catch the Xymon command that was run in that process 
listing, and it was:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=434043018-23112009><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=434043018-23112009><PRE>ps -Aww -o pid,ppid,user,start,state,pri,pcpu,time,pmem,rsz,vsz,cmd
</PRE><PRE><FONT color=#0000ff>Good catch!</FONT></PRE></SPAN></DIV><!-- Converted from text/rtf format -->
<P><B><FONT color=#0000ff size=2 face=Arial>Jerald Sheets</FONT></B> <BR><FONT 
size=2 face=Arial>Sr. Systems Engineer</FONT> <BR><B><I><FONT color=#ff0000 
size=2 face=Arial>CNN</FONT></I></B><I><FONT color=#ff0000 size=2 
face=Arial></FONT> <FONT size=2 face=Arial>News Systems</FONT></I> <BR><FONT 
size=2 face=Webdings>?</FONT><FONT size=2 face=Arial> 
Jerald.Sheets@turner.com</FONT> <BR><B><FONT size=2 face=Wingdings>(</FONT><FONT 
size=2 face=Arial> 404.878.0566 </FONT> <FONT size=2 
face=Webdings>È</FONT><FONT size=2 face=Arial>404.293.8762 </FONT> 
</B></P><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Brand, Thomas R. [mailto:TRBrand@cvs.com] 
<BR><B>Sent:</B> Monday, November 23, 2009 1:27 PM<BR><B>To:</B> 
hobbit@hswn.dk<BR><B>Subject:</B> RE: [hobbit] Procs --> output of a process 
from ps -ef is too long<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<DIV>
<P class=MsoNormal><B><FONT size=2 face=Tahoma><SPAN 
style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt; FONT-WEIGHT: bold">From:</SPAN></FONT></B><FONT 
size=2 face=Tahoma><SPAN style="FONT-FAMILY: Tahoma; FONT-SIZE: 10pt"> Cayo de 
Moraes [mailto:camorae@googlemail.com] <BR><B><SPAN 
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, November 23, 2009 12:12 
PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> <st1:PersonName 
w:st="on">hobbit@hswn.dk</st1:PersonName><BR><B><SPAN 
style="FONT-WEIGHT: bold">Subject:</SPAN></B> [hobbit] Procs --> output of a 
process from ps -ef is too long</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT size=3 face="Times New Roman"><SPAN 
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=3 face="Times New Roman"><SPAN 
style="FONT-SIZE: 12pt">Hello guys,<BR><BR>im having some problems to monitor 
processes with a long output (most of them are java processes). Hobbit seems to 
cut the output at certain size and i have to look for a string which appears at 
the end of the output.<BR><BR>where can i change this length limit?<FONT 
color=navy><SPAN style="COLOR: navy"><o:p></o:p></SPAN></FONT></SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN 
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT size=3 face="Times New Roman"><SPAN 
style="FONT-SIZE: 12pt"><BR></SPAN></FONT><FONT color=navy size=2 
face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">I had 
the same problem, also with java processes.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN 
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN 
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">Assuming you are using 
Linux, look in the ~hobbit/client/bin/hobbitclient-linux.sh, look for the 
line<o:p></o:p></SPAN></FONT></P>
<P style="TEXT-INDENT: 0.5in" class=MsoNormal><FONT color=navy size=2 
face="Courier New"><SPAN 
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">echo 
"[ps]"<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN 
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN 
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">Change the ‘ps ‘ 
command which follows according to your systems 
requirements.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN 
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">For example, under 
SLES, I had to add ‘ww’ and changee it to:<o:p></o:p></SPAN></FONT></P>
<P style="TEXT-INDENT: 0.5in" class=MsoNormal><FONT color=navy size=2 
face="Courier New"><SPAN 
style="FONT-FAMILY: 'Courier New'; COLOR: navy; FONT-SIZE: 10pt">ps -A<B><SPAN 
style="FONT-WEIGHT: bold">ww</SPAN></B> -o 
pid,ppid,user,start,state,pri,pcpu,time,pmem,rsz,vsz,cmd<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN 
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN 
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=navy size=2 face=Arial><SPAN 
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><STRONG><B><I><FONT color=blue size=5 
face="Monotype Corsiva"><SPAN 
style="FONT-STYLE: italic; FONT-FAMILY: 'Monotype Corsiva'; COLOR: blue; FONT-SIZE: 18pt">Tom 
Brand</SPAN></FONT></I></B></STRONG><FONT color=navy><SPAN 
style="COLOR: navy"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT color=red size=1 face="Times New Roman"><SPAN 
style="COLOR: red; FONT-SIZE: 7.5pt">Disclaimer</SPAN></FONT><FONT color=black 
size=1><SPAN style="COLOR: black; FONT-SIZE: 7.5pt">:  1) all opinions 
are my own, 2) I may be completely wrong, 3) my advice is worth at least as much 
as what you are paying for it, or your money cheerfully 
refunded.</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT size=3 face="Times New Roman"><SPAN 
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV></BODY></HTML>