30 Nov
2006
30 Nov
'06
7:09 p.m.
It is not hard to write such a test -- but consider the system impact of the test running relentlessly day in and day out. Whenever I have used lsof, it has taken a long time to complete.
So first, write your script, following the "temperature" example in the Hobbit doc. When it works when run by hand, then you can add it to the client launch configuration. You might want to "time" the script for a few runs to make sure that the script is not going to be a problem. If it can't run on a 5 minute cycle then you will need to take some steps to allow Hobbit to run it less often.
If you want to graph anything, you will have to work all that out. The temperature example is a great guide.
GLH
From: James Wade [mailto:jkwade at futurefrontiers.com]
Sent: Thursday, November 30, 2006 1:04 PM
To: hobbit at hswn.dk
Subject: [hobbit] lsof monitor?
Has anyone written or will Hobbit monitor
the number of open connections to an application?
As an example, using lsof...
Sorry if I'm repeating myself. I asked earlier but didn't
get an answer. I thought I'd ask again and see if anyone
knows a way to monitor it across the clients.
I want to check and alert if an application has to many
open connections. ie... >1000
Thanks....James