I've tracked the largest number of users logged in - but I didn't have to
worry about the max.

I had thought it was in the SYSTEM() somewhere - but a quick look through
help didn't show it.

You could try parsing it out of the @udtbin\smm.log file... It's in there
for windows - not sure about HPUX though.

good luck
Colin

-----Original Message-----
From: [email protected]
Sent: September 12, 2012 2:24 PM
To: [email protected]
Subject: [U2] [UD] Determining number of users licensed

Is there a way to programmatically determine the number of licensed users
allowed?

SYSTEM(514) reports the number of non-phantom users currently logged in,
which is essentially the number of licenses in use.  I want to compare that
against the number of users allowed in a monitoring program.  I want to know
if we're close to the limit before we run out.  The number of licenses
varies by server.

Colleagues have suggested using grep on udtconfig for NUSERS, but that is
not the same thing.  Since we generally have 100-200 phantom processes, we
sometimes configure to a size larger than the license limit to have room for
those phantom processes.

UniData 7.3.1
HPUX 11.31
Dean Armbruster


_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to