[syslog-ng]syslog and -HUP
Balazs Scheidler
syslog-ng@lists.balabit.hu
Fri, 22 Apr 2005 13:55:44 +0200
On Fri, 2005-04-22 at 12:58 +0300, Andy wrote:
> Hello Balazs Scheidler!
> > > .........
> > > poll([{fd=7, events=0}, {fd=8, events=0}, {fd=6, events=0}, {fd=5, events=POLLIN, revents=POLLIN}, {fd=3, events=POLLIN}, {fd=12, events=POLLIN}, {fd=11, events=POLLIN}, {fd=4, events=POLLIN}], 8, 241000) = 1
> > > accept(5, {sin_family=AF_UNIX, path=@}, [2]) = 9
> > [snip[
> > > ..............
> >
> > As I see your test message was written to fd 8 while all kernel messages
> > are written to fd 6. You'll need to check out what those fds are in
> > reality.
>
> May be you explain how I can do this?
lsof -p <syslog-ng-pid>
--
Bazsi