[hobbit] Procs --> output of a process from ps -ef is too long

Brand, Thomas R. TRBrand at cvs.com
Mon Nov 23 19:26:59 CET 2009


From: Cayo de Moraes [mailto:camorae at googlemail.com] 
Sent: Monday, November 23, 2009 12:12 PM
To: hobbit at hswn.dk
Subject: [hobbit] Procs --> output of a process from ps -ef is too long

 

Hello guys,

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.

where can i change this length limit?

 


I had the same problem, also with java processes.

 

Assuming you are using Linux, look in the
~hobbit/client/bin/hobbitclient-linux.sh, look for the line

echo "[ps]"

 

Change the 'ps ' command which follows according to your systems
requirements.

For example, under SLES, I had to add 'ww' and changee it to:

ps -Aww -o pid,ppid,user,start,state,pri,pcpu,time,pmem,rsz,vsz,cmd

 

 

 

Tom Brand

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.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20091123/7ec8b6f1/attachment.html>


More information about the Xymon mailing list