On Fri, 8 Sep 2006 09:18:32 -0500
Dan Nelson <[EMAIL PROTECTED]> wrote:

> In the last episode (Sep 07), [EMAIL PROTECTED] said:
> > hallo list
> > 
> > while running 
> > 
> > [ $(sockstat | grep -c saslauthd) -gt 90 ] && /usr/local/etc/rc.d/saslauthd 
> > restart
> > 
> > via cron (/etc/crontab, as root) (why i do this is of no importance
> > for this question), i get from time to time - about 3-4 times a day,
> > cronjob runs every 11 minutes - the message:
> > 
> > sockstat: sysctl(): No such process
> > 
> > i do not understand why i get this only sometimes, and what this
> > exactly means. 
> 
> Sockstat first gets a list of all open sockets, then looks up the
> command name for each one.  If the process has exited before the name
> is looked up, you get the warning, and sockstat prints "??" as the
> process name.  You can quiet it by redirecting stderr to /dev/null:
> sockstat 2>/dev/null

thank you for explanation. i will quieten it by redirecting stderr as
you suggested.

¨reinhard


-- 
Algol-60 surely must be regarded as the most
important programming language yet developed.
                -- T. Cheatham
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to