See the documentation for the BASIC !GET.USERS and !GET.USER.COUNTS subroutines
in the UV/BASIC reference manual.
Technically speaking, the internal UV daemons are not consuming UV licenses
(mostly!), hence do not qualify as UV users...
As mentioned by Jon Card - you can also capture the output of uvlictool - which
will need to be parsed first - before it can be 'consumed' by your application.
It's a good tool - as it gives you want UV thinks is consuming the licenses
versus what the other internal routines think are active OS processes that may
or may not be present/active.
At times, there can be two different numbers output from these toolsets.
Especially, if processes have crashed, hung or are infinite loops consuming
large amounts or CPU/memory, etc but doing nothing useful...or in some
instances some processes can be transient in nature and not stay active for
long (for whatever reason).
PORT.STATUS is useful too, but you should be aware that only one user can
execute this at any given time and it should be used sparingly on large user
and/or busy systems (as it attempts to query the state of each UV process as it
identifies each). Many UNIX systems require administrative access in order to
use it as well (unless you make tweaks for your platform to allow non-root
users, etc.).
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Thursday, 9 January 2014 6:22 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] USERS command in Universe
The HELP USERS doesn't really say anything useful.
When I do a LISTU I count 87 sessions
USERS says there are "74 users logged on the system"
That's close to what I might say are the "unique" users, since some people have
more than one session.
But I can't get it exact.
Does USERS count phantoms? console jobs? jobs like that uvdlock and uvcleanup
and uvsmm?
How about jobs from Uniobjects making it's brief connections (uvcs), are those
USERS for the purpose of this verb?
And if there's any better documentation about exactly what USERS is doing, can
you point it at me?
Thanks.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
** IMPORTANT MESSAGE *
This e-mail message is intended only for the addressee(s) and contains
information which may be
confidential.
If you are not the intended recipient please advise the sender by return email,
do not use or
disclose the contents, and delete the message and any attachments from your
system. Unless
specifically indicated, this email does not constitute formal advice or
commitment by the sender
or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries.
We can be contacted through our web site: commbank.com.au.
If you no longer wish to receive commercial electronic messages from us, please
reply to this
e-mail by typing Unsubscribe in the subject line.
**
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users