Re: Two things: anti-spam and per-process *network* I/O.

2013-01-02 Thread David Rysdam
On Wed, 26 Dec 2012 11:16:10 -0500, Ken D'Ambrosio k...@jots.org wrote:
 Per-process I/O accounting.  Every now and then, I see a system load 
 spike through the roof -- but disk I/O is okay, likewise CPU.  Which 
 really pretty much leaves network.  But I'm unaware of any tool that 
 spits out per-process network utilization statistics.  One *must* exist, 
 right?  Any pointers?

There's this neat little website out there[1] that has all these cool
command line tricks and little utilities. I liked their all time
greats so much I set up a cron job to download them monthly and mail
one a day to myself. Today I got:

# Monitor bandwidth by pid  

nethogs -p eth0  

nethogs is in the debian repository.

[1] http://www.commandlinefu.com/commands/browse

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Two things: anti-spam and per-process *network* I/O.

2012-12-27 Thread Neil Schelly
On Dec 26, 2012 12:15 PM, Ken D'Ambrosio k...@jots.org wrote:
 Per-process I/O accounting.  Every now and then, I see a system load
 spike through the roof -- but disk I/O is okay, likewise CPU.  Which
 really pretty much leaves network.  But I'm unaware of any tool that
 spits out per-process network utilization statistics.  One *must* exist,
 right?  Any pointers?

I can't help on the mail front, as I sold out to Gmail years ago now.
However, iftop and iotop sound like tools that may help with your load
troubleshooting.  Think of them like being the equivalent of top, but for
block and network device I/O instead of CPU and memory utilization.
-N
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Two things: anti-spam and per-process *network* I/O.

2012-12-26 Thread Ken D'Ambrosio
Hi, all.  I've had two things that occasionally cause me grief, and 
since I finally got around to sending an e-mail, I figgered I'd roll 'em 
into one.  So:

I used to use MailScanner as my anti-spam solution, but it seems to be 
wandering into unsupported territory in Ubuntu land, and, for fear that 
this might be a trend, I wonder what other solutions other folks out 
there might be using.  (Note: Gmail!  isn't really the kind of answer 
I'm looking for.)

Per-process I/O accounting.  Every now and then, I see a system load 
spike through the roof -- but disk I/O is okay, likewise CPU.  Which 
really pretty much leaves network.  But I'm unaware of any tool that 
spits out per-process network utilization statistics.  One *must* exist, 
right?  Any pointers?

Thanks much, and happy holidays to one and all!

-Ken

-- 
This mail was scanned by BitDefender
For more information please visit http://www.bitdefender.com/links/en/frams.html


___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Two things: anti-spam and per-process *network* I/O.

2012-12-26 Thread Kevin D. Clark

Ken D'Ambrosio writes:

 Per-process I/O accounting.  Every now and then, I see a system load 
 spike through the roof -- but disk I/O is okay, likewise CPU.  Which 
 really pretty much leaves network.  But I'm unaware of any tool that 
 spits out per-process network utilization statistics.  One *must* exist, 
 right?  Any pointers?

So, to confirm, when these incidents occur, the load average on the
machine is low?

I'd suggest using ntop and if things aren't clear from just this, using
some combination of lsof -i ... or netstat -p.

Regards,

--kevin
-- 
alumni.unh.edu!kdc / http://kdc-blog.blogspot.com/
GnuPG: D87F DAD6 0291 289C EB1E 781C 9BF8 A7D8 B280 F24E

And the Army Ants, they leave nothin' but the bones...
   -- Tom Waits
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Two things: anti-spam and per-process *network* I/O.

2012-12-26 Thread Mark Komarinski
On 12/26/2012 11:16 AM, Ken D'Ambrosio wrote:
 Hi, all.  I've had two things that occasionally cause me grief, and
 since I finally got around to sending an e-mail, I figgered I'd roll 'em
 into one.  So:

 I used to use MailScanner as my anti-spam solution, but it seems to be
 wandering into unsupported territory in Ubuntu land, and, for fear that
 this might be a trend, I wonder what other solutions other folks out
 there might be using.  (Note: Gmail!  isn't really the kind of answer
 I'm looking for.)

spamassassin is what I've been using for a while.

-Mark
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/