× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Counting users
  • From: Chuck Morehead <cbmorehead@xxxxxxxxxx>
  • Date: Mon, 30 Jul 2001 15:18:27 -0500

Ron,

I don't know of any pretty way to do this - since (as far as I know) the
only thing the system can tell you about mult-session devices that use
multiple addresses is that what port they are on.  I.e. to the AS/400 it
appears as if there are multiple terminals instead of just one.

What might be done is to create a database table that acts as a cross
reference so that you can group the devices.  E.g. suppose you have a 3
session device that shows up as DSP10, DSP11, and DSP12.  You could have a
table that looks like:
Device   Corresponding
DSP11    DSP10
DSP12    DSP10
Then your program, when it sees usage on DSP11 could do a lookup in this
table and see that it should be counted along with DSP10.  Like I said, not
pretty, and it would require maintenance any time you reconfigured devices.

Chuck

----- Original Message -----
From: <Ron@cpumms.com>
To: <MIDRANGE-L@midrange.com>
Sent: Monday, July 30, 2001 12:35 PM
Subject: Counting users


>
> I have a requirement to count the number of users signed onto a particular
> system. This is not really a problem in itself as the List Jobs API gives
> me this. BUT, users who are signed on with multiple sessions to the same
> terminal should only be counted once.
>
>  If they were all attached using TCP/IP this would not be a problem as
> different sessions share the same TCPIP address and the Retrieve Device
> Description API gives me this. But, I have to account for dumb terminals
> with multiple sessions. If the terminal has been set up for different
> addresses, is there any way to tell that they are using the same terminal?
>
> Ron Hawkins
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
david@midrange.com
> +---
>

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.