<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18828"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=785103114-24112009><FONT color=#0000ff 
size=2 face=Arial>I recall that there are different options for ps based on 
whether or not you used the "-".  (it's been a long time!)  
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=785103114-24112009><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=785103114-24112009><FONT color=#0000ff 
size=2 face=Arial>good luck!  Let us all know what the options wind up 
being!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=785103114-24112009><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=785103114-24112009><FONT color=#0000ff 
size=2 face=Arial>--jms</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Cayo de Moraes 
[mailto:camorae@googlemail.com] <BR><B>Sent:</B> Tuesday, November 24, 2009 4:53 
AM<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>thanks for this solution guys... now i have to fight a litle bit with 
the syntax under Unix AIX 5.3... its unfortunately not the same as in 
Linux<BR><BR><BR><BR><BR>
<DIV class=gmail_quote>2009/11/23 Galen Johnson <SPAN dir=ltr><<A 
href="mailto:Galen.Johnson@sas.com">Galen.Johnson@sas.com</A>></SPAN><BR>
<BLOCKQUOTE 
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
class=gmail_quote>no, your ps statement was REALLY tiny in the email I 
  responded to.  In plain text, it looks normal.<BR>
  <DIV class=im><BR>=G=<BR><BR>________________________________________<BR>From: 
  Sheets, Jerald [<A 
  href="mailto:Jerald.Sheets@turner.com">Jerald.Sheets@turner.com</A>]<BR></DIV>Sent: 
  Monday, November 23, 2009 3:59 PM<BR>
  <DIV>
  <DIV></DIV>
  <DIV class=h5>To: <A 
  href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</A><BR>Subject: RE: [hobbit] Procs 
  --> output of a process from ps -ef is too long<BR><BR>Well, I would've 
  figured that if it was wrapping, it would actually be easier to find the 
  string he's looking for at the end of the Java line.  If it was 
  truncating, he wasn't getting it at all.<BR><BR>Did I err in that assumption 
  somewhere?<BR><BR>--j<BR><BR>-----Original Message-----<BR>From: Galen Johnson 
  [mailto:<A 
  href="mailto:Galen.Johnson@sas.com">Galen.Johnson@sas.com</A>]<BR>Sent: 
  Monday, November 23, 2009 3:19 PM<BR>To: <A 
  href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</A><BR>Subject: RE: [hobbit] Procs 
  --> output of a process from ps -ef is too long<BR><BR>When they said too 
  long, I didn't think they meant a smaller font (those of you who received the 
  previous email in html know what I'm talking about. 
  ;-)<BR><BR>=G=<BR>________________________________________<BR>From: Sheets, 
  Jerald [<A 
  href="mailto:Jerald.Sheets@turner.com">Jerald.Sheets@turner.com</A>]<BR>Sent: 
  Monday, November 23, 2009 1:32 PM<BR>To: <A 
  href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</A><BR>Subject: RE: [hobbit] Procs 
  --> output of a process from ps -ef is too 
  long<BR><BR>Interesting.<BR><BR>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.<BR><BR>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:<BR><BR><BR>ps -Aww -o 
  pid,ppid,user,start,state,pri,pcpu,time,pmem,rsz,vsz,cmd<BR><BR><BR>Good 
  catch!<BR><BR>Jerald Sheets<BR>Sr. Systems Engineer<BR>CNN News Systems<BR>? 
  <A href="mailto:Jerald.Sheets@turner.com">Jerald.Sheets@turner.com</A><BR>* 
  404.878.0566 
   È404.293.8762<BR><BR>________________________________<BR>From: Brand, 
  Thomas R. [mailto:<A 
  href="mailto:TRBrand@cvs.com">TRBrand@cvs.com</A>]<BR>Sent: Monday, November 
  23, 2009 1:27 PM<BR>To: <A 
  href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</A><BR>Subject: RE: [hobbit] Procs 
  --> output of a process from ps -ef is too long<BR><BR>From: Cayo de Moraes 
  [mailto:<A 
  href="mailto:camorae@googlemail.com">camorae@googlemail.com</A>]<BR>Sent: 
  Monday, November 23, 2009 12:12 PM<BR>To: <A 
  href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</A><BR>Subject: [hobbit] Procs 
  --> output of a process from ps -ef is too long<BR><BR>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?<BR><BR><BR>I had the same 
  problem, also with java processes.<BR><BR>Assuming you are using Linux, look 
  in the ~hobbit/client/bin/hobbitclient-linux.sh, look for the line echo 
  "[ps]"<BR><BR>Change the 'ps ' command which follows according to your systems 
  requirements.<BR>For example, under SLES, I had to add 'ww' and changee it 
  to:<BR>ps -Aww -o 
  pid,ppid,user,start,state,pri,pcpu,time,pmem,rsz,vsz,cmd<BR><BR><BR><BR>Tom 
  Brand<BR>Disclaimer:  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.<BR><BR><BR>To unsubscribe from the hobbit 
  list, send an e-mail to <A 
  href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</A><BR><BR><BR><BR>To 
  unsubscribe from the hobbit list, send an e-mail to<BR><A 
  href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</A><BR><BR><BR><BR><BR>To 
  unsubscribe from the hobbit list, send an e-mail to<BR><A 
  href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</A><BR><BR><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></BODY></HTML>