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 class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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>