Thread View: news.software.nntp
4 messages
4 total messages
Started by Georges Chan
Wed, 09 Apr 1997 00:00
ps problem with INN 1.4
Author: Georges Chan
Date: Wed, 09 Apr 1997 00:00
Date: Wed, 09 Apr 1997 00:00
31 lines
1562 bytes
1562 bytes
Hi, I had compiled INN 1.4 unofficial on a Sun Enterprise 3000 running Solaris 2.5.1 plus recommended patches. I did use gcc 2.7.2.1 and all the default values of the config.data as described in the FAQ. I also had a production copy running on a Digital Alphaserver. Both are the same INN software version. Both copies are running ok, but I came up with a very interesting problem that I cannot find a solution: everytime I do a "ps" on my DEC server it will show all the nnrp connections and it will also tell me who they are. e.g: news 31519 1451 0.0 13:26:51 ?? 0:00.13 - GROUP 206.161.55.159 (in.nnrpd) This tells me that host 206.161.55.159 is connected to my news server. On the other hand, if I do a "ps" on my SUN, it will give me: news 5262 1972 0 14:21:19 ? 0:00 /newslib/etc/in.nnrpd -s There no hints telling me who is connected. Is this a Digital UNIX OS feature of the ps function? or did I put something wrong during the compilation of INN? Any help is appreciated. Regards, Georges Chan.
Re: ps problem with INN 1.4
Author: Dave Barr
Date: Wed, 09 Apr 1997 00:00
Date: Wed, 09 Apr 1997 00:00
14 lines
993 bytes
993 bytes
In article <334B3607.7D01@netvigator.com>, Georges Chan <gkchan@netvigator.com> wrote: >This tells me that host 206.161.55.159 is connected to my news server. >On the other hand, if I do a "ps" on my SUN, it will give me: > > news 5262 1972 0 14:21:19 ? 0:00 /newslib/etc/in.nnrpd -s Solaris doesn't support setproctitle(), so this is a known issue. You'll have to do without it. --Dave
Re: ps problem with INN 1.4
Author: James Brister
Date: Wed, 09 Apr 1997 00:00
Date: Wed, 09 Apr 1997 00:00
25 lines
1312 bytes
1312 bytes
Georges Chan <gkchan@netvigator.com> writes: > news 31519 1451 0.0 13:26:51 ?? 0:00.13 - GROUP 206.161.55.159 > (in.nnrpd) > > This tells me that host 206.161.55.159 is connected to my news server. > On the other hand, if I do a "ps" on my SUN, it will give me: > > news 5262 1972 0 14:21:19 ? 0:00 /newslib/etc/in.nnrpd -s > > Is this a Digital UNIX OS feature of the ps function? It's an OS difference, you did nothing wrong. I'm not sure if the latest INN fixes this for the Sun. If it doesn't and anyone knows the answer, please let me know what needs to be done. Thanks James -- James Brister brister@vix.com Internet Software Consortium http://www.isc.org inn@isc.org
Re: ps problem with INN 1.4
Author: Per Hedeland
Date: Fri, 11 Apr 1997 00:00
Date: Fri, 11 Apr 1997 00:00
47 lines
2670 bytes
2670 bytes
In article <334B3607.7D01@netvigator.com>,
Georges Chan <gkchan@netvigator.com> wrote:
>On the other hand, if I do a "ps" on my SUN, it will give me:
>
> news 5262 1972 0 14:21:19 ? 0:00 /newslib/etc/in.nnrpd -s
In article <5igd4l$eff@augusta.math.psu.edu> barr@math.psu.edu (Dave
Barr) writes:
>Solaris doesn't support setproctitle(), so this is a known issue.
Neither does SunOS 4, but this works just fine there (i.e. overwriting
argv).
>You'll have to do without it.
Not quite, see below.
In article <yy3wwqci50e.fsf@velo.pp.vix.com> James Brister
<brister@vix.com> writes:
>It's an OS difference, you did nothing wrong. I'm not sure if the latest
>INN fixes this for the Sun. If it doesn't and anyone knows the answer,
>please let me know what needs to be done.
With 1.5 (and I didn't see any change in 1.5.1 that was relevant to
this), the behavior is still the same - when using the standard
/usr/bin/ps. However, /usr/ucb/ps, but *only* when including the 'w'
option, will almost work (of course in real *BSD, the 'w' option never
changed the *contents* of the output, just how much of it was shown -
Solaris' "UCB compatibility" is from some alternate universe). E.g.
'/usr/ucb/ps axw' will give things like:
18338 ? S 0:01 -foobar.du.etx.ericsson.se LIST .se LIST
23567 ? S 0:12 -super.du.etx.ericsson.se HEAD se HEAD
For those that have problems with these long lines, it's the wanted
output, followed by - in these two cases - 43/44 spaces and a repeat of
the last 8/7 characters of the wanted output. I think the "title" is
actually something like fprintf("%-74.74s%s", title, &title[23]) - go
figure.:-) INN *might* be able to workaround the weirdness, but you
definitely need /usr/ucb/ps and 'w' to see anything (and you have to be
real careful if you want to parse this in a script or something:-).
--Per Hedeland
per@erix.ericsson.se
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads