Jeff Nowakowski wrote:

> Has anyone used Analog for doing load checking on the server?  I'm
> looking for something a little more fine tuned than the 5 minute
> report.  What I want to see is maximum number of concurrent requests. If
> analog isn't capable of this, has anybody used any other tools or
> ideas when trying to determine load?

I've not used Analog. But I did write a PERL script that combines with a UNIX
script to do this sort of stuff.

Pull out the IP and date information from the log - if you're doing it on a
daily basis all you need is the time stamp - I restricted mine to the
hours:mins and didn't bother with the seconds. (On UNIX) Use awk to get that.
Then sort the file by timestamp and remove duplicates with uniq. Then run it
through a simple PERL script to count the number of lines for each minute.
That would give an indication of the number of concurrent users.

Modify the above if you want to analyse concurrent requests.

I orignally had this written (badly, but methodically) in a shell script and
it took about 90 minutes to run on a daily basis. Using PERL (and a more
sensible program structure)brought it down under ten seconds!

Hope this helps,

Wallace.
--
======================================================================
 Wallace Nicoll                          [EMAIL PROTECTED]
 (Internet Services Team)
 City of Edinburgh Council IT Services,
 Chesser House, 500 Gorgie Road,                Phone : 0131 469 5343
 Edinburgh, EH11 3YJ, Scotland                    Fax : 0131 469 5335
 [From overseas                  [P]+441314695343  [F]+441314695335 ]
======================================================================


------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to