counting concurrent users...need advice.

Jay R. Ashworth jra at baylink.com
Sun Aug 29 20:58:30 PDT 2004


On Fri, Aug 27, 2004 at 09:21:55PM -0400, Fairlight wrote:
> On Fri, Aug 27, 2004 at 09:08:50PM -0400, Bob Stockler may or may not have
> proven themselves an utter git by pronouncing:
> > I thought you were looking for something that would run for
> > just a litte while to tell one how many user licenses to buy.
> 
> Well, no, not really.  :)  More a case of, "We already have 'x' licenses,
> spread across two or three clustered web servers.  Now, at any given point,
> what is the maximum count taken on each server, and what -is- that count.
> And when do those peak periods occur?"

I believe the proper solution is to make /appl/fp/dclerk and
/appl/fp/dreport shell scripts which increment semaphores, call the
binary and then decrement the semaphore.  It'll double your process
table size, but that's trivial.

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Designer                          Baylink                             RFC 2100
Ashworth & Associates        The Things I Think                        '87 e24
St Petersburg FL USA      http://baylink.pitas.com             +1 727 647 1274

	"You know: I'm a fan of photosynthesis as much as the next guy,
	but if God merely wanted us to smell the flowers, he wouldn't 
	have invented a 3GHz microprocessor and a 3D graphics board."
					-- Luke Girardi


More information about the Filepro-list mailing list