You can use the PORT.STATUS command.   It shows the number of user licenses and 
the number of sessions used

Dan Goble | Senior Systems Engineer

Interline Brands, Inc.
804 East Gate Drive Suite 100, Mount Laurel, NJ 08054
Office: 856.533.3110 | Mobile: 609.792.6855
E-mail: | Website:

This e-mail and any files transmitted with it are confidential and intended 
solely for the individual or entity to whom they are addressed.  Please notify 
the sender immediately by e-mail if you have received this e-mail in error and 
delete all copies of this message.

-----Original Message-----
[] On Behalf Of Kevin King
Sent: Wednesday, September 12, 2012 4:39 PM
To: U2 Users List
Subject: Re: [U2] [UD] Determining number of users licensed

Can you parse it out of the listusers OS command?

On Wed, Sep 12, 2012 at 2:24 PM, <> wrote:

> 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
> Information Technology, System Analyst Ferguson Enterprises, Inc.
> 12500 Jefferson Avenue * Newport News * VA * 23602-4314
> T: +1 (757) 989 2839 * F: +1 (757) 989 2801
> _______________________________________________
> U2-Users mailing list
U2-Users mailing list
U2-Users mailing list

Reply via email to