[hobbit] Number of Open Connections per Process

Buchan Milne bgmilne at staff.telkomsa.net
Wed Nov 29 10:54:37 CET 2006


On Tuesday 28 November 2006 22:17, James Wade wrote:
> Is there a way to track the number of open connections to a process?

Well, not to a process, but to a port (or regex matching the ports). As long 
as the client is reporting the ports data, this is quite trivial.

> For example, the default ulimit is normally 1024.
>
> Is there a way to track if a particular process has over 1000 open
> connections
>
> with Hobbit?
>
>
>
> I can do a listing with lsof as an example.


If the application listens on specific ports, then the netstat data (which the 
4.2.0 clients report by default) can be checked (and graphed if you so 
desire) by rules in the hobbit-clients.cfg. See the man page for 
hobbit-clients.cfg.


Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20061129/43ea01b5/attachment.sig>


More information about the Xymon mailing list