How to find which user using Grid?
Grid contril 10.2.0.5
I have over 50 users in Grid, how can I figure out who is online?
Run the below queries to see all connected users in the Grid database...
set lines 100 pages 999
col ID format a15
select username
, sid || ',' || serial# "ID"
, status
, last_call_et "Last Activity"
from v$session
where username is not null
order by status desc
, last_call_et desc
--See the users current sql
Select sql_text
from v$sqlarea
where (address, hash_value) in
(select sql_address, sql_hash_value
from v$session
where username like '&username')
--Time since last user activity
set lines 100 pages 999
select username
, floor(last_call_et / 60) "Minutes"
, status
from v$session
where username is not null
order by last_call_et
Hope this helps...
Regards,
http://www.oracleracexpert.com
Click here to [Click here to remove parameter from spfile|http://www.oracleracexpert.com/2009/09/create-spfile-from-pfile.html]
Click here to learn [SPFILE and PFILE in Oracle|http://www.oracleracexpert.com/2009/11/oracle-spfile-and-pfile.html]
Click here for [Using UTL_MAIL in Oracle 10g |http://www.oracleracexpert.com/2009/11/send-email-using-utlmail-in-oracle-10g.html]
Similar Messages
-
How to find which authentication used to site collection and site using powershell
Hi,
How to find how-many web app, sitecollection, site used Windows authentication,claim authentication and classic, secure store authention , adfs authentication using powershell code in sharepoint 2013.
If sites are used adfs authentication how to find which email id used for that.
Thanks,Authentication is only defined at the Web Application level, and the only valid auth methods are Classic (Windows (Basic/NTLM/Kerberos)), Claims (Windows (Basic/NTLM/Kerberos)), FBA Claims, , SAML Claims (ADFS), and Anonymous.
You can find out what authentication scheme(s) are enabled via:
$wa = Get-SPWebApplication http://webApp1$wa.IisSettings["Default"] #replace with the zone name you're interested in
The output will look similar to this:
PS C:\Users\trevor> $wa.IisSettings["Default"]
AuthenticationMode : Forms
MembershipProvider : i
RoleManager : c
AllowAnonymous : False
EnableClientIntegration : True
ServerBindings : {Microsoft.SharePoint.Admini
stration.SPServerBinding}
SecureBindings : {}
UseWindowsIntegratedAuthentication : True
UseBasicAuthentication : False
DisableKerberos : True
ServerComment : SharePoint
Path : C:\inetpub\wwwroot\wss\Virtu
alDirectories\spwebapp180
PreferredInstanceId : 42768054
UseClaimsAuthentication : True
ClaimsAuthenticationRedirectionUrl :
UseFormsClaimsAuthenticationProvider : False
FormsClaimsAuthenticationProvider :
UseTrustedClaimsAuthenticationProvider : False
UseWindowsClaimsAuthenticationProvider : True
OnlyUseWindowsClaimsAuthenticationProvider : True
WindowsClaimsAuthenticationProvider : Microsoft.SharePoint.Adminis
tration.SPWindowsAuthenticat
ionProvider
ClaimsAuthenticationProviders : {Windows Authentication}
ClaimsProviders : {}
ClientObjectModelRequiresUseRemoteAPIsPermission : True
UpgradedPersistedProperties : {}
So on this Web Application in the Default Zone you can tell I have Windows Claims enabled, not using Kerberos (so using NTLM), and Trusted (SAML/ADFS) is not enabled, neither is Forms or Anonymous.
Trevor Seward
Follow or contact me at...
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
How to find which users has used external scripting
I want to find out the users who used the scripting for doing any mass changes activity.
Hi Murphy;
Please check which user has which forms open? and Re: how to determine which forms are currently open?
Hope it helps you in your issue
Regard
Helios -
How to find which users only have a single and a specific responsibility
Hi,
I have a requirement in my organization that a password restriction have to be implemented. After implementing that, for some users, the password date will have to be nulled out, so that when they login, they will be forced to change their password following that new password rule.
Oracle's "CP SQL*Plus Expire FND_USER Passwords" concurrent program can not be used as that will expire all the users password at the same time.
For this, I have to find all the users which have a certain responsibility (check viewing responsibility) and only that responsibility. First day password date null out will be implemented for them only. For the other users (who have check printing responsibility) the password will be nulled out some other day.
As I am using the following query, I see some of the users have multiple responsibility. How do I find out the users who have only a certain responsibility and nothing else?
select usr.user_name, res.responsibility_name
from apps.fnd_user usr, apps.FND_USER_RESP_GROUPS_DIRECT usrrep, apps.fnd_responsibility_tl res
where usr.user_id=usrrep.user_id
and usrrep.responsibility_id=res.RESPONSIBILITY_ID
and usr.end_date is NULL
group by usr.user_name,res.responsibility_name
Any suggestion, idea will be very much appreciated.Hi,
I have a requirement in my organization that a password restriction have to be implemented. After implementing that, for some users, the password date will have to be nulled out, so that when they login, they will be forced to change their password following that new password rule.
Oracle's "CP SQL*Plus Expire FND_USER Passwords" concurrent program can not be used as that will expire all the users password at the same time.Use the same update statement in $FND_TOP/sql/AFCPEXPIRE.sql and include/exclude the usernames you want.
For this, I have to find all the users which have a certain responsibility (check viewing responsibility) and only that responsibility. First day password date null out will be implemented for them only. For the other users (who have check printing responsibility) the password will be nulled out some other day.
As I am using the following query, I see some of the users have multiple responsibility. How do I find out the users who have only a certain responsibility and nothing else?See (How To Find Out Which Responsibility Was Granted To A Specific User? [ID 304687.1]).
Or, see old threads for similar topic (you will find many queries which should be helpful).
http://forums.oracle.com/forums/search.jspa?threadID=&q=Users+responsibilities+query&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
select usr.user_name, res.responsibility_name
from apps.fnd_user usr, apps.FND_USER_RESP_GROUPS_DIRECT usrrep, apps.fnd_responsibility_tl res
where usr.user_id=usrrep.user_id
and usrrep.responsibility_id=res.RESPONSIBILITY_ID
and usr.end_date is NULL
group by usr.user_name,res.responsibility_nameTry this query ..
SQL> select fu.user_name, count(frvl.responsibility_name)
from fnd_user_resp_groups_direct furgd, fnd_responsibility_vl frvl, fnd_user fu
where furgd.responsibility_id = frvl.responsibility_id
and fu.user_id = furgd.user_id
and (to_char(furgd.end_date) is null
or furgd.end_date > sysdate)
group by fu.user_name
having count(frvl.responsibility_name) = 1;Thanks,
Hussein -
How to determine which user uses which database-object
Hi,
currently we are in the process of consolidating our databases. One of the neccessary steps is to figure out which user connects to the database at all. That's easy, we implemented a logon-trigger and log the collected information into a separate table.
If a user with objects (e.g. tables, views, procedures) exists - but this user never connects to the database - does that automatically mean that these objects are not used at all? No need to say that this is not true. But how can we figure out if a connected user has selected an object of this user?
Our porblem is that we have alot of schemas in our database - but the developers don't know if this schema is not used by an application or not (sad but true).
To enable auditing would be one choice to figure out if an object was ever used or not.
Are there any other possibilities?
Any help will be appricated
Rgds
JanVivaLaVida wrote:
Hi,
currently we are in the process of consolidating our databases. One of the neccessary steps is to figure out which user connects to the database at all. That's easy, we implemented a logon-trigger and log the collected information into a separate table.It could have been even easier by turning on the built-in audit feature.
If a user with objects (e.g. tables, views, procedures) exists - but this user never connects to the database - does that automatically mean that these objects are not used at all? No need to say that this is not true. But how can we figure out if a connected user has selected an object of this user?audit would be a good choice.
Our porblem is that we have alot of schemas in our database - but the developers don't know if this schema is not used by an application or not (sad but true).Not sure what developer will do with used/not used application.
To enable auditing would be one choice to figure out if an object was ever used or not. What's wrong in auditing ?
Even though audit may have a footprint on performance, that would probably be less costly than any custom solution.
Nicolas. -
How to find which infoobject uses particular attribute
HI,
I want to know which infooject have the attribute :0prod_descr. How to find it? Please let me know.
Regards,
siddhuHi,
Select where -Used list option for your object 0prod_descr and find the objects.
Regards,
Krishna Reddy -
How to find which user submitted concurrent request
Dear all,
How to find out which user has submitted concurrent request with concurrent id. There is once column called requested by in fnd concurrent requests table, is it the user id who submitted that request ?
Regards,
CharanHow to find out which user has submitted concurrent request with concurrent id. https://forums.oracle.com/forums/search.jspa?threadID=&q=fnd_concurrent_requests+AND+fnd_user&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
There is once column called requested by in fnd concurrent requests table, is it the user id who submitted that request ?Yes.
http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_CONCURRENT_REQUESTS&c_owner=APPLSYS&c_type=TABLE
http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_USER&c_owner=APPLSYS&c_type=TABLE
Thanks,
Hussein -
How to find which service using which port number
Hi,
Has anybody known how to check which port number is
being used by what service on WINNT4.0?
Thanks,The netstat command would help.
-
How to find 'OS user' used by Oracle Reports when report output is written
Hi ,
I would like to find the 'OS User' used by concurrent manager when a Report output is written on the OS file system after the report run is completed. The report is registered as a concurrent program in Oracle Application environment.
Any help would be appreciated.Pls respond urgently.
Thanks
SudeepThere is only one OS user that creates reports out and log files, that is applSID, the owner of the applications filesystems. The only other OS user that creates files in an Oracle Applications environment is oracle (or oraSID) if a stored procedure creates a file via utl_file_dir, or external table etc.
-
How to find which user has killed a particular job in CPS?
Hi All,
I am new in CPS. I want to find the user who has killed a particular job in CPS?
Thanks in Advance.
AvdheshHi Gerben,
Thanks for the reply.
But I noticed when I killed a job and checked in the last modified by option I didn't find my user name there. It was displaying the user who had modified that job definition last time.
Thank you
Avdhesh -
How to find which user is using the index?
Hi All,
I have an index named 'CTXT_ITEM_CODE' . The Index _type is Domain. When i try to drop this index its telling ORA-00054: resource busy and acquire with NOWAIT specified error
now i need to find out which session is using this index, so that i can kill it and drop the index.
ThanksSELECT c.owner,
c.object_name,
c.object_type,
b.SID,
b.serial#,
b.status,
b.osuser,
b.machine
FROM v$locked_object a, v$session b, dba_objects c
WHERE b.SID = a.session_id AND a.object_id = c.object_id
AND c.object_name='CTXT_ITEM_CODE';
ALTER SYSTEM KILL SESSION '<sid, serial#>' -
How to find which user has access to Discoverer Reports?
I need to find users having access to Discovered reports using a script. How can I do that?
Hi,
You need to give more details...
Are you using oracle applications? are the users database users?
If you use oracle application you can use the following:
SELECT DISTINCT Disco_Docs.Doc_Name "Discoverer Workbook"
,Trunc(Disco_Docs.Doc_Created_Date) "Workbook Create Date"
,CASE
WHEN Instr(Disco_Docs.Doc_Created_By
,'#') = 0 THEN
Disco_Docs.Doc_Created_By
WHEN Instr(Disco_Docs.Doc_Created_By
,'#') > 0
AND Instr(Disco_Docs.Doc_Created_By
,2) = 0 THEN
(SELECT Fu.User_Name
FROM Fnd_User Fu
WHERE Fu.User_Id = Substr(Disco_Docs.Doc_Created_By
,2
,5))
ELSE
NULL
END "Workbook Owner/Creator"
,Disco_Users.Eu_Username
,CASE
WHEN Instr(Disco_Users.Eu_Username
,'#') = 0 THEN
Disco_Users.Eu_Username
WHEN Instr(Disco_Users.Eu_Username
,'#') > 0
AND Instr(Disco_Users.Eu_Username
,2) = 0 THEN
(SELECT Fu.User_Name
FROM Fnd_User Fu
WHERE Fu.User_Id = Substr(Disco_Users.Eu_Username
,2
,5))
ELSE
(SELECT Resp.Responsibility_Name
FROM Fnd_Responsibility_Tl Resp
WHERE Resp.Responsibility_Id =
Substr(Disco_Users.Eu_Username
,2
,5))
END AS "Shared Name / Responsibility"
FROM Eul_Us.Eul5_Documents Disco_Docs
,Eul_Us.Eul5_Access_Privs Disco_Shares
,Eul_Us.Eul5_Eul_Users Disco_Users
WHERE Disco_Docs.Doc_Id = Disco_Shares.Gd_Doc_Id(+) AND
Disco_Users.Eu_Username(+) NOT IN ('EUL5', 'PUBLIC') AND
Disco_Users.Eu_Id(+) = Disco_Shares.Ap_Eu_Id
Tamir -
How to find which user is in the planning book XYZ?
Hallo,
we are using SCM APO 5.0. and have defined "key-figure-specific Lock" as our locking logic.
I need a program to get all users who are in a special planning book. Normally I can read this information from lock entry list (SM12). But with this locking logic the entry list looks quite different. Has someone an idea?
Thanks in advance
YongYong,
There is a macro ACT_USER() which returns the user in a particular planning book. You can make it as a directly executable macro and schedule it using mc8e.
Hope this works.
Regards,
Abhi -
How to find Which package used in Reports
Hi,
Is there any option to view all the package which used in all the all eul reports. My problem is One report is refreshing tables using package/function/ procedure ...........i which report is doing that ..........I'm having more than 1500 discoverer report and opening all report one by by is not fessible as each having tabs as well.........Hi,
You should start from the table that is being updated...
find its referenced objects, you can use :
select a.owner, name, decode(a.type,'PACKAGE BODY','PACKAGE',a.type),do.status
from all_dependencies a,
dba_objects do
where do.object_name=a.referenced_name
and do.owner=a.referenced_owner
and do.object_type=a.referenced_type
and referenced_name = 'xxxxxxxxx'; -<<<<----- put here your table name
This will give you the list of objects referencing the table, try to find the package / procedure / function.
then login to the administrator and try to locate the package in the list of function (you need to go to the register functions screen)
Tamir -
How to find which user added adhoc approver in a Shopping cart
Hi Gurus,
We all know that its possible for the approvers in the SC approval chain to add ad hoc approvers.However i need to know , how we can trace the user who added this adhoc approver in the shopping cart..
Thanks in advanceTo be frank, i donot know about ADHOC agent means..But cannot we get Log of Workflow.
Yes. We can get log of the workflow. Please think, in that direction.
I think, your issue will get resolved.
Balaji.T
Maybe you are looking for
-
How can I print out a daily, weekly and or monthly calendar?
I am a busy person and find if I can print out my weekly calendar and have it nearby I can quickly plan my time better. Lorrene
-
Share in FCP 7 to Youtube 1920?
In FCP 7 when I export via Share, Youtube, my 1920x1080 timeline comes out as 1280x720...any way to alter this to take advantage of new Youtube full HD res? How to make SHARING function for youtube in FCP 7 go to full HD 1920 not just 1280x720? thank
-
Workflows are stuck, how do I get them going again?
Hi all, we are on ECC 6.0 and we had a situation a few days ago whereby suddenly the wf-batch id was no longer able to communcate with the production system and all workflows stopped. When I look at them via swia, it shows that they are in status "R
-
What would be the best way to merge two cells in a JTable?
-
my sound works on mozilla for everything i found but netflix, i have don't all the steps netflix has suggested but i still have no sound on mozilla but do on other browers, i have checked that mozilla volume is set to full and on but still have no so