On Thu, Oct 09, 2008 at 01:37:17PM -0400, Wietse Venema wrote:

> "-o stress" means that the top command truncated the text. Use a wider
> window or use "ps -w".

This is system dependent. The command-line option processing code in
single_server_main() modifies "optarg" as a side-effect of split_at():

        case 'o':
            /* XXX Use split_nameval() */
            if ((oval = split_at(optarg, '=')) == 0)
                oval = "";
            mail_conf_update(optarg, oval);
            if (strcmp(optarg, VAR_SYSLOG_NAME) == 0)
                redo_syslog_init = 1;
            break;

This replaces the "=" in the argv[n] array element with a '\0' and
can (system dependent) cause ps(1) to display "-o stress" rather than
"-o stress=".

On my system this leads to:

    ... smtpd -n smtp -t inet -u -o stress  -o virtual_alias_maps 
$smtpd_virtual_maps

with "=" replaced by argument separating white-space, and thus two spaces
between 'stress' and '-o virtual_alias_maps[=]$smtpd_virtual_maps'

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[EMAIL PROTECTED]>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to