Snort mailing list archives

snort 2.2.0 and linux-smp-stats


From: sekure <sekure () gmail com>
Date: Thu, 12 Aug 2004 13:33:17 -0400

I noticed that ./configure had an option to --enable-linux-smp-stats
so i got curious to check it out.  Based on what i've been able to
find, it just allows the perfmonitor preprocessor to report statistics
per CPU.

I thought it wasn't a bad idea since I have a few multi-processor HP
boxes running Linux and Snort, so I compiled it in.

When trying to start Snort, I get this error:
snort: FATAL ERROR: PERFMONITOR ERROR: Error reading CPUs from /proc/stat.

meanwhile, "cat /proc/stat" reports:
cpu  1676224 2 290788 236292714 1368743 98545 461225
cpu0 1152982 0 203148 117949987 683300 2534 102199
cpu1 523242 2 87640 118342727 685443 96011 359026

So there are definitely two CPUs listed.  What gives?


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: