As long as only 1 user is using it: watch for this (2 users in quick succession):
PORT.STATUS started at 14-Sep-2012 09:53:40 Finished at 14-Sep-2012 09:53:40 PORT.STATUS is currently being run by another user, try again later. On 14 September 2012 09:38, <dean.armbrus...@ferguson.com> wrote: > And the winner is: > > PORT.STATUS > > It is quick and easy. My program executes it using its own @USERNO and > parses it out. With no options, it returns instantly. > > LISTUSER and listuser were too slow. It takes 20+ seconds for them to > return from an captured EXECUTE/PCPERFORM when it has to output our 6000+ > sessions. I'd probably grep the smm.log if I were writing a unix script or > program. Having a SYSTEM() call to get this is on the wish list. > > My thanks to Kevin, Dan, Colin, and Rod for your suggestions. > > Dean Armbruster > System Analyst > 757-989-2839 > > -----Original Message----- > From: u2-users-boun...@listserver.u2ug.org [mailto: > u2-users-boun...@listserver.u2ug.org] On Behalf Of > dean.armbrus...@ferguson.com > Sent: Wednesday, September 12, 2012 16:24 > To: u2-users@listserver.u2ug.org > 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 > 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 > -- Kate Stanton Walstan Systems Ltd 4 Kelmarna Ave, Herne Bay, Auckland 1011, New Zealand Phone: + 64 9 360 5310 Mobile: + 64 21 400 486 Email: k...@walstan.com _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users