Hi, I am using shorewall accounting feature to measure voice and data traffic passing through my firewall. Now I want to integrate this to Cacti graphs that I use. However, the command output of "shorewall show accounting" shows the bytes and packets counts in K , M and G How can I get the actual bytes from accounting output ? Thanks. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword
Couldn''t you just multiple the Kilobyte count by 1024? That may miss a few bytes, but these days 100 bytes here and there isn''t too big of an issue. From: Mekabe Ramein [mailto:mrmrmrmr@gmail.com] Sent: Sunday, January 25, 2009 7:54 AM To: Shorewall Users Subject: [Shorewall-users] shorewall show accounting - actual bytes Hi, I am using shorewall accounting feature to measure voice and data traffic passing through my firewall. Now I want to integrate this to Cacti graphs that I use. However, the command output of "shorewall show accounting" shows the bytes and packets counts in K , M and G How can I get the actual bytes from accounting output ? Thanks. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword
Mekabe Ramein wrote:> Hi, > > I am using shorewall accounting feature to measure voice and data > traffic passing through my firewall. > Now I want to integrate this to Cacti graphs that I use. > However, the command output of "shorewall show accounting" shows the > bytes and packets counts in K , M and G > How can I get the actual bytes from accounting output ?Use the -x option as described in the shorewall(8) man page. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword
not true...1G=1024*1024*1024 bytes , right ? I see 8G for 8000000000 to 8500000000 something. 500M isn''t just a few bytes... what now ? On Sun, Jan 25, 2009 at 6:05 PM, GeneralNMX <generalmx@gmail.com> wrote:> > > Couldn''t you just multiple the Kilobyte count by 1024? That may miss a few > bytes, but these days 100 bytes here and there isn''t too big of an issue. > > > > > > *From:* Mekabe Ramein [mailto:mrmrmrmr@gmail.com] > *Sent:* Sunday, January 25, 2009 7:54 AM > *To:* Shorewall Users > *Subject:* [Shorewall-users] shorewall show accounting - actual bytes > > > > Hi, > > > > I am using shorewall accounting feature to measure voice and data traffic > passing through my firewall. > > Now I want to integrate this to Cacti graphs that I use. > > However, the command output of "shorewall show accounting" shows the bytes > and packets counts in K , M and G > > How can I get the actual bytes from accounting output ? > > > > Thanks. > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users > >------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword
Thanks. That is a real anwser. helpful ! Regards. On Sun, Jan 25, 2009 at 6:18 PM, Shorewall Guy <shorewalljunky@comcast.net>wrote:> > > Use the -x option as described in the shorewall(8) man page. > >------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword