Tell me more ×  I need to monitor a single process (e.g. be
warned when there are more than 3000 connections established)
and collect statistics on it (e.g. to determine how many
connections were established today 01:20 AM, when the server
worked too slow, as client said). What tools should I use?
share|improve this question What process is this? Something that
can handle 3000 connection would come with some statistics
functionality, I recon. –  wzzrd Jul 24 '09 at 7:59 It is a
daemon that I wrote by myself. I don't want to add statistics
functionality to it. –  exquisitor Jul 24 '09 at 8:10 add
comment  5 Answers  up vote 0 down vote accepted  If you don't
want to go for a full Nagios (or whatever) install to monitor a
single process, why not just write a script to do it yourself?
I've done something similar to keep track of DB connections from
one of our boxes, using the output of netstat to do the count
and logging the results to a file. Adding an extra few lines to
send an email if the count is >3000 sho