setproctitle under Solaris 7

Per Hedeland per at erix.ericsson.se
Fri Mar 17 20:19:17 UTC 2000


"Fletcher Mattox" <fletcher at cs.utexas.edu> wrote:
>Is nnrpd's setproctitle supposed to work under Solaris 7?
>Solaris 7 does not have a setproctitle() library, so the internal
>one is used.  But the output of never changes.
>
>$ ps agx| grep nnrpd
> 28745 ?        S  0:00 /news/bin/nnrpd -s
> 28748 pts/5    R  0:00 grep nnrpd

To see argv modifications on Solaris, you need to a) use /usr/ucb/ps
(seems you already are), and b) include at least one 'w' in the ps
options. Yes, it's broken, don't believe the man page... Your 'grep
nnrp' won't find anything once you include a 'w' though, and the output
looks like sh*t. Sendmail does a better job of it, not sure what the
difference is...

--Per Hedeland
per at erix.ericsson.se



More information about the inn-workers mailing list