[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Number of Open Connections per Process
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Number of Open Connections per Process
- From: Buchan Milne <bgmilne (at) staff.telkomsa.net>
- Date: Wed, 29 Nov 2006 11:54:37 +0200
- Cc: "James Wade" <jkwade (at) futurefrontiers.com>
- Organization: Telkom Internet
- References: <0fc301c7132a$326ff260$6b2fb8a5@txaccess.net>
- User-agent: KMail/1.9.4
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)