How to find SPID without access to v$process

To all experts,
Is the another way to find out the value of SPID in v$process without accessing v$process? Just pure PL/SQL.
Thank you all in advance.
Best Regards,
thomas

KinsaKaUy? wrote:
Hi Kuljeet,
Ho can I get the info process from the OS side using the output of this query?
Is the SPID referring to OS PID? If I have an output for this query's SPID of 7224
Can I do > ps -ef |grep 7224 to get the OS side process? or No information will suffice?
Thanks a lot,read & learn!
bcm@bcm-laptop:~$ sqlplus user1/user1
SQL*Plus: Release 11.2.0.1.0 Production on Wed May 16 20:08:36 2012
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
20:08:37 SQL> select process from v$session where username = 'USER1';
PROCESS
5788
20:09:08 SQL> !ps -ef | grep 5788
bcm       5788  2054  0 20:08 pts/0    00:00:00 sqlplus           
oracle    5789  5788  0 20:08 ?        00:00:00 oraclev112 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
bcm       5802  5788  0 20:09 pts/0    00:00:00 /bin/bash -c ps -ef | grep 5788
bcm       5804  5802  0 20:09 pts/0    00:00:00 grep 5788
20:09:27 SQL>

Similar Messages

  • How to find Missing Parts for a particular Process Order?

    Hi,
    How to find Missing Parts  for a particular Process Order ?
    Is there any function module or Table ??
    Thnx in Advance.

    Hi prince roy
    you can use the T-code = <b>CO24 - Missing Parts Info System</b>
    if helpful PLEASE REWARD YOUR POINTS
    thanks
    chakri

  • How to find a metachain name from local process chain id or name

    how to find a metachain name from local process chain id or name

    Hi Dwarakanath,
    Please post your query in the correct topic space in SCN.  For help, see this document:
    Find Topic Spaces on SCN (Forums)
    Thanks,
    Kristen

  • How to find the max session count and process count for a database

    Hi All,
    How to find the maximum session count and process count reached for a database over a period of 15 days?
    DB version:11.2.0.2
    OS:AIX

    Thanks for the link.
    The output of the below query that is given in the link shows the results for the last 10 or 12 days.. Is there a query which gives a result for the last 30 days?
    col metric_unit for a30
    set pagesize 100
    Select trunc(end_time),max(maxval) as Maximum_Value,metric_unit
    from dba_hist_sysmetric_summary
    where metric_id in ( 2118,2119) group by trunc(end_time),metric_unit order by 1;

  • How to find Tcode last access

    How can i find transaction last access date and username.
    is there any table for the solution.
    Moderator message - this question has been asked and answered many times before. Please search before asking. Thread locked
    Edited by: Rob Burbank on Apr 19, 2009 4:16 PM

    You can find this on transaction ST03.
    The table which stores this data is MONI
    You can fetch the data from this table also.
    Note: The data in this table is in raw data format you need to first convert it and then store in internal table.
    Regards,
    Lalit Mohan Gupta.

  • How to find T-codes accessed by Users

    Hi,
    How to find tcodes accessed by particular user for certain period of time.

    Please refer the thread
    Table for Tcode Access
    for a similar discussion.

  • Lost my ipod how to find it without the i cloud in formation

    i lost my ipod and i cant find it becuase i didnt set up the i cloud what to do

    - Find it the old fashioned way, like if you lost a wallet
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it.
    - Apple will do nothing
    Reporting a lost or stolen Apple product
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • How to find the details of the BPC process running in SM37 and SM50

    We had BPC performance issues and noticed that there are some process or batch jobs that are kicked from BPC that runs longer and kind of hanging.  SM37 and SM50 provides some information like job name, how long it is running.  Job name is kind of cryptic and the user name is always BPC_SYSADMIN and not able to get any additional information.  Is there a way to find more details about the job/process that is running  (whether it is a input template and which input template, whether it is a DM package and which package, whether it a report/EVDRE and which one etc.  Plus the BPC user name)?
    Couple of times, the user received the error message u201CSystem error: -2146697205u201D after it ran for a while.

    You can distinguish between reports and DM Packages easily: reports/IS run in DIA process while DM packages in BGD.
    To find out which BGD process corresponds to which DM Package take note of the time that package started (Local time). Than go to SM37 with user ID BPC* and find a job that started at same time (Server time).
    Looking into job details you can find on what Application server it's running and PID - this uniqely identifies BGD process in SM50.
    Hope this helps.
    Gersh

  • How to find out wireless access point?

    Hi all!
    I want to write one simple program which could detect all wireless access point're running around me. So pls somebody could tell me what I have to do now?
    Thank you so much!

    Dear prometheuzz !
    I knew it but :) OS default can't detect AP which not
    broadcast SSID. By the way why U said that Java is
    not suitable for this task???Dear viethanguyen ,
    Java doesnt have this functionality, cause Java is a High Level language, and what you are asking for is low level programming that is related to the underlying OS system calls and modules. So if your OS doesnt have/support this functionality, then how you expect Java to have it!. And if you are using GNU/Linux search for tools like kismet, air-snort ...etc.
    Amr M. Kamel

  • I lost my ipod at a party and I never registered for icloud and I don't know how to find it without icloud

    I lost my ipod touch 4th generation at a party on saturday and I never went or registered for icloud and now I don't know how to track it down please helpp me!!!

    Hi Vanessa,
    Welcome to Apple Support Communities.
    If you didn't enable Find my iPod touch, you won't be able to track it with iCloud. The article below provides more details and some suggestions that I hope will be helpful.
    What to do if your iOS device is lost or stolen
    http://support.apple.com/kb/ht5668
    If you did not enable Find My iPhone on your missing device
    If you did not enable Find My iPhone before it was lost or stolen, you can't use it to locate or protect your device, but you can still follow these steps:
    Change your iCloud password to ensure that no one else can use your device to delete or make changes to your iCloud data.
    Report your lost or stolen device to local law enforcement and your wireless carrier. Apple doesn't track or flag lost or stolen products, but you can use My Support Profile (supportprofile.apple.com) to find a list of serial numbers for products that you've purchased or registered with your Apple ID.
    Good Luck.
    -Jason

  • How to find emails without an assigned category in OWA 2013

    We have a number of people that use OWA to manage some shared mailboxes.  Recently, these were migrated from Exchange 2007 SP3 to Exchange 2013, SP1
    they heavily utilize the category feature on messages in the mailboxes, and occasionally need to find messages that have not been assigned a category.
    In OWA 2007, they were able to use the Search function with the parameter category:[] to find these messages.
    It appears that functionality is no longer present in OWA 2013.  We can search for messages that belong to a specific category, but not to a message without a category.
    Also, there appears to be no way to sort a folder by category.
    Has anyone encountered this and found a work-around?

    Hi,
    At present, "view by category" is not supported in OWA 2013. It is a feature available in Outlook. I suggest you add the account into Outlook and view items by categories.
    Best Regards.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Lynn-Li
    TechNet Community Support

  • How to find out what access a group has

    Hello. I inherited a portal that has a lot of groups & some of which do not appear to be in use from what I can see. I would like to get rid of these groups if they are no longer viable. So, I would like to know if there are any api's that I could use to interrogate a particular group and to list any items the group has access to.
    Thanks!
    Todd

    The table portal.wwsec_sys_priv$ contains the information on what components, items, pages, etc. a group has privileges to. Here's one [example query|http://forums.oracle.com/forums/thread.jspa?threadID=461824] someone posted awhile back.

  • How to find the tables accessed by  the proxy?

    Hi,
         I have a sync abap client proxy. It makes a call to xi and gets the responce. How do i know, what are all the tables it is updating after getting the response. I am not ABAP developer,  i need help.
    Regards
    Monika

    Monika
    Check the following wiki, might be helpful
    Outbound Sync:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bpurchase%2border%2bsend
    Inbound Sync:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsales%2border%2bcreation
    If you have any questions let me know..I will try to clarify
    Learn Share Get Better

  • How to find out number of background work processe available in the system?

    Hi All,
    I have a FM that triggers a background job using JOB_OPEN, ABAP_SUBMIT and JOB_CLOSE. But the problem is if there are no background work processes available at that moment, it does not return error. Not sure whether the job is even scheduled!
    Is there a way to find out if there are any background work processes available in the system? I know a FM SPBT_INITIALIZE which gives info about dialog work processes. Is there any other FM similar to this which gives info about background wp??
    Regards,
    Shailesh

    your Job will remain in a queue by message handler. once workprocess is free, your job gets scheduled
    by the way, you can use the functionality used in FM TH_DISPLAY_WORKPROCESS_LIST to read the workprocesses
    the command which gets you the workprocess is:
    CALL 'ThWpInfo' ID 'OPCODE' FIELD OPCODE_WP_LIST
                      ID 'TAB' FIELD LIST_STATE_WPLST-TABL
                      ID 'CPU' FIELD LIST_STATE_WPLST-CPU.
    check how its written in include LSDEBF01, form SET_LIST_WPLST
    Edited by: Soumyaprakash Mishra on Dec 12, 2011 12:17 PM

  • How to find Responsibilities that have the Navigator Process Tab enabled

    Hi colleagues,
    Does anyone know of a method to identify quickly which responsibilities have access to the Navigator Process Tab?
    Our auditors are insisting we remove this tab from the navigator screen so that users don't have access to processes that they shouldn't have access to.
    I've been writing sql statements and trying various scenarios, but I can't arrive at a confident conclusion.
    I've narrowed the criteria down to search all Standard menus. But then I notice that we have some responsibilities that use standard menus that don't have the navigator process tab assigned!
    Please help.
    Thanks.
    MP

    Hello,
    Thank you both for your recommendations. I understand how to disable the navigator process menu manually. However, I require a method to identify any responsibilities/menus with the navigator process menu still active through sql?
    So that I can run a report each quarter that scans through all our responsibilities and checks whether any of them have access to the navigator process menu.
    Any ideas would be greatfully received!
    Thanks
    AH.

Maybe you are looking for