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
> 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 first. 
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


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 first. 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UD license counter

2008-09-12 Thread Jeff Powell
Sure,

But I'll need to "sanitize" them first. 


On Fri, 2008-09-12 at 09:47 -0400, Israel, John R. wrote:

> Jeff,
> 
> That sounds kinda cool.
> 
> If you are agreeable, would you send me copies of these so I can look at 
> this?  While this will not change 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 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 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 service every nnn
> seconds and displays the value. This gadget can be run on many desktops
> simultaneously. I'll add logging later the capture max/min/avg etc.
> 
> Thanks again.
> 
> Jeff
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UD license counter

2008-09-12 Thread Israel, John R.
Jeff,

That sounds kinda cool.

If you are agreeable, would you send me copies of these so I can look at this?  
While this will not change 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 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 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 service every nnn
seconds and displays the value. This gadget can be run on many desktops
simultaneously. I'll add logging later the capture max/min/avg etc.

Thanks again.

Jeff
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


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 service every nnn
seconds and displays the value. This gadget can be run on many desktops
simultaneously. I'll add logging later the capture max/min/avg etc.

Thanks again.

Jeff
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


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 returns information
> about device licensing, but I've not used either to be able to tell you any
> more details than this.
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


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
more details than this.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


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 the counts, then output a report 
every morning showing the actual number of licenses used over the day.

John Israel
Sr. Programmer/Analyst
Dayton Superior Corporation
721 Richard St.
Dayton, OH  45342
937-866-0711 x44380

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Powell
Sent: Thursday, September 11, 2008 9:32 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] UD license counter

I there a quick way to fetch the current number of licenses used?

I want to track usage and set an alarm trigger.

TIA

AIX5.3
SB+5.3.8
UD 7.1
Server+3
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/