Menu

#27 Truncated ps output

spong-client
open
nobody
None
5
2002-11-18
2002-11-18
No

Some systems can't handle the width of the ps-output
and truncate the ps output after about 80 chars.

Because of this, the spong client cant find some
processesn, and may turn this process into an red or
orange state.

Ex.
Correct output:
root 19210 0.0 0.4 1652 596 ? S 19:46
0:00
/usr/lib/courier-imap/libexec/authlib/authdaemond.plain
start
Incorrect truncated output:
root 19210 0.0 0.4 1652 596 ? S 19:46
0:00 /usr/lib/courier-imap/lib

You can fix this bug if you put some 'w' after the ps
command:
spong.conf:
$PS = "/bin/ps axwwww";

or:
$PS = 'ps -eo cmd';

Probably you can merge this fix into the next release
of spong.

Sorry my poor english.

Discussion


Log in to post a comment.