|
||||||||
$ ipnat -lv | grep map | wc -l grep: not found wc: not found I suppose a custom image with grep and wc binaries might do the trick. I was just wondering if there was something turn-key in there. Thanks for the suggestion. db On 20/03/2008, Paul Rae <paul at impacttrainingsolutions dot co dot uk> wrote: > > What about doing something like this from exec.php > > Ipnat -lv | grep map | wc -l > > > > On 20/03/2008 05:56, "David Burgess" <apt dot get at gmail dot com> wrote: > > > Is there a sane way to count mono's active connections? The Firewall > States > > page gives a count up to a maximum of 1000 IIRC. I have looked at the > ipnat > > -lv section of status.php, counted lines per screen, then counted > screens, > > but that gets pretty tedious and mind-numbing after a few hundred > > page-downs. So is there any way of actually knowing when you're > creeping up > > on the 30 000 ceiling before you hit it? > > > > db > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch > For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch > > |