RE: [U2] UD license counter

2008-09-15 Thread Jeff Powell
Sorry, The Html link was stripped out. http://ipstulsa-lnx3.ipipes.com On Mon, 2008-09-15 at 09:34 -0500, Jeff Powell wrote: > I appreciate all the help this forum provides to me so here's my chance > to give back a little. > > Here is a link where you can find a sanitized version of the web

RE: [U2] UD license counter

2008-09-15 Thread Jeff Powell
I appreciate all the help this forum provides to me so here's my chance to give back a little. Here is a link where you can find a sanitized version of the web service, desktop gadget and subroutine. Enjoy On Fri, 2008-09-12 at 11:52 -0500, Jeff Powell wrote: > But I'll need to "sanitize" them

RE: [U2] UD license counter

2008-09-12 Thread Jeff Powell
e what we do here, it sounds very interesting > and I am always wanting to learn. > > > John Israel > [EMAIL PROTECTED] > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Powell > Sent: Friday, September 12, 2008 8:53

RE: [U2] UD license counter

2008-09-12 Thread Israel, John R.
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Powell Sent: Friday, September 12, 2008 8:53 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] UD license counter Thanks John. Here's what I did with Kevin's help. 1. Created a subroutine that accepts one parameter and returns the va

RE: [U2] UD license counter

2008-09-12 Thread Jeff Powell
Thanks John. Here's what I did with Kevin's help. 1. Created a subroutine that accepts one parameter and returns the value of the user specified system variable. 2. Wrote a glassfish webservice that calls that subroutine and returns the value. 3. Wrote a java desktop gadget that hits the web serv

Re: [U2] UD license counter

2008-09-11 Thread Jeff Powell
Thanks Kevin. This worked great. On Thu, 2008-09-11 at 08:15 -0600, Kevin King wrote: > >Is there a quick way to fetch the current number of licenses used? > > According to the documentation, SYSTEM(514) will return the number of users > logged in, sans phantoms. SYSTEM(51) also purportedly ret

Re: [U2] UD license counter

2008-09-11 Thread Kevin King
>Is there a quick way to fetch the current number of licenses used? According to the documentation, SYSTEM(514) will return the number of users logged in, sans phantoms. SYSTEM(51) also purportedly returns information about device licensing, but I've not used either to be able to tell you any mor

RE: [U2] UD license counter

2008-09-11 Thread Israel, John R.
Write a simple pgm to EXECUTE "!listuser" and capture the output. Filter out the info as needed. Ignoring the blank lines, the 1st line will give you the headers and the 2nd will give you the counts. To manually see this, type "!listuser | more". We do this every 15 minutes via cron and track