If you really need a longer line, trying using:
ps -efww
The deadcat offerings sometimes use:
ps auxw
or
ps auxww
I am curious if anyone has noticed any problems pumping full process lists from N servers to a hobbit server. We have boxes running a lot of java processes with really lonnnngggggg command lines. The single "w" in the ps command should help truncate some of the line length. If the process monitoring does not require processing the entire lonnngggg line, then single "w" would be better the "ww". Keep in mind the lonnngggg lines also make for a rather congested web display for the process list.
-----Original Message----- From: Francesco Duranti [mailto:fduranti at q8.it] Sent: Wednesday, October 19, 2005 7:14 AM To: hobbit at hswn.dk Subject: [hobbit] Hobbitclient problem and Confreport problem
Hi all... I'm starting to implement some checks on disks and process and i'm getting some problems... I'm running the yesterday snapshot on RHEL3 server and client.
From what i see i have a problem with the ps -efw on the linux client, it will display something more then ps -ef but i don't get the entire ps rows... For example: ps -ef qmaild 22356 4850 0 Aug10 ? 00:02:29 /usr/local/bin/tcpserver -v -R - ps -efw qmaild 22356 4850 0 Aug10 ? 00:02:29 /usr/local/bin/tcpserver -v -R -l cl-mail -x /prodQ8/qmail/tcp/tcp.smtp.cdb-c 100 - ps -ef --width=1000 qmaild 22356 4850 0 Aug10 ? 00:02:29 /usr/local/bin/tcpserver -v -R -l cl-mail -x /prodQ8/qmail/tcp/tcp.smtp.cdb-c 100 -u 49921 -g 41420 0 smtp /prodQ8/qmail/bin/qmail-smtpd
Another thing with confreport scripts. In the hobbit-client.cfg file I have:
HOST=cl-mail PROC "%^qmail-send$" 1 1 PROC "%/prodQ8/qmail/bin/qmail-smtpd" 1 1 PROC "%/prodQ8/qmail/bin/qmail-qmqpd" 1 1 DISK "/prodQ8/qmail" 5 10
HOST=itromclwb01 PROC /usr/sbin/httpd 12 20 PROC "Xvnccluster :99" 1 DISK "/prodQ8/services" 20 30
DEFAULT # These are the built-in defaults. UP 1h LOAD 5.0 10.0 DISK * 90 95 MEMPHYS 100 101 MEMSWAP 50 80 MEMACT 90 97
Getting the configreport of one of the itromclwb01 i get some strange thing (it's possible that those are correct...): I don't get the limits for the filesystems, i get only the default and the procs list is somewhat unusable/unreadable...
disk No -/-/- Default limits: Yellow 90% full, Red 95% full /prodQ8/services /prodQ8/qmail /boot /prodQ8/cups /root /prodQ8/squid
.....