on 01-10-2022 4:10 PM
If you want a historical record of logons by client type, then you're much better off using Audit. That field is recorded in ads_event.client_type_id. The descriptive values are in ads_application_type_str. Here's a simple query that displays this value for all events in the past 24 hours (this is Oracle syntax):
SELECT
ADS_CLIENT_TYPE_STR.APPLICATION_TYPE_NAME,
ADS_EVENT.USER_NAME,
ADS_EVENT.START_TIME
FROM
ADS_EVENT INNER JOIN ADS_APPLICATION_TYPE_STR ADS_CLIENT_TYPE_STR
ON (ADS_CLIENT_TYPE_STR.APPLICATION_TYPE_ID=ADS_EVENT.CLIENT_TYPE_ID
AND ADS_CLIENT_TYPE_STR.LANGUAGE='EN')
WHERE
ADS_EVENT.START_TIME >= sysdate - 1
If you want live connections, then you can get it with a CMS query, but it's more work. Start with this:
select top 10000 si_name,si_id,si_cuid,SI_LOGON_CLIENT_TYPE from ci_systemobjects where si_kind = 'connection'
and SI_FAILOVER_AVAILABLE_UNTIL is null
and si_name != 'system account'
and SI_AUTHEN_METHOD != 'server-token'
The query result will match what you see in the Sessions tab in CMC.
The si_logon_client_type field is a CUID that kind of maps to the Client Session. Look up that CUID in ci_appobjects and its si_name will indicate the client type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.