Hello
I would like to know if exists a sysctl to get the number of
routing tables in the kernel.
I don't want the list of the routing tables, I just want the number.
The command 'netstat -rn|wc -l' could be a good candidate,
but since I want to implement this command on a very busy router,
I don't want it to go 100% CPU just to get a simple count.
If it doesn't exist I will create something based on netstat's source.
Thanks a million (routes)

Valerio Daelli
_______________________________________________
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