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: dan.go...@interlinebrands.com | Website: www.interlinebrands.com


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-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] 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, <dean.armbrus...@ferguson.com> 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
> www.ferguson.com<http://www.wolseley.com/>
>
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to