How to map sid's of two session on same machine ??

1. If sql sessions are opened on same machine and same process is running on
both the sessions, is there a way to map out sid's and serial#'s from v$session for both the sessions?.
2. If a stored procedure is running, is there any why to tell that this particular session is currently running a stored procedure.
Thanks for your help,

Hello gautam,
question one..doesn't make sense...however if you want to know the sid' serial#'s for the particular session..that can be accomplished..
and for question 2 ..yes it is possible..
it will tell you what it is running...which is "QUERY" (stored_procedure, select, update..etc)
good luck
Shah

Similar Messages

  • How to divide SAPS when having two instances on same host

    Hello
    I wander how to divide SAPS when having two instances on same host. By looking at st06?
    Thank you in advance

    Yes SAPS is nothing but the CPU power used by the SAP systems. SO if you have 2 SAP systems stacked on the same server, check the CPU utilization over a period of 7 - 10 days, average out & that should give you a fair bit of idea.
    - Regards, Dibya

  • Two database in same machine

    Hai
    I want to create two database in same machine. I searched in google but no use.
    Is it possible in oracle 9i r2?
    If so,Anybody please help on that.

    jey84 wrote:
    I want to create two database in same machine. You can have a 100 Oracle databases on the same machine. The issue though is why?
    Why do you want to duplicate database overheads? Why two sets of system and process monitoring processes? Log writers? Database writers? Etc.
    Why two SGAs? Why two system tablespaces? Two temp tablespaces, undo tablespaces? Two sets of redo logs? Etc.
    You now have two database footprints. Instead of a single large SGA with properly sized buffer cache, shared pool, large pool and so on - you know have two smaller SGAs and smaller caches and pools that are now less capable and less scalable.
    Why would you want to do this?
    There are no sound technical reasons for running multiple database instances on a server - unless it is something like a 32 CPU/multicore server with 256 GBs of memory. But then why not use this as a cloud-type server on which you can run multiple server VMs? One VM for each database, as that provides more flexibility than multiple databases on a single server(physical or VM)?
    In today's world of cluster and cloud computing, running 2 databases instances on the same server does not make much sense. And needs to be backed up by reason and logic that justify such an approach.

  • How to map secondry elements with main if have same ids for both?

    I need to map secondry elements with its matching primary elements if they both have same id.
    How can this be achieved in xslt.
    If ids are not matching then not a single element of secondry sholud be shown.
    If ids matching, then other fields of secondry elements, should be mapped to similar fields of primary elements.
    Eg: Its like some program running and in between some add on programs started (may be trailor or advertisement).
    the add on program is not always shown (optional), and whenever shown it has its own data information etc etc.
    Please provide me some input, how to map and proceed.
    Not sure what this code is really doing.
    <xsl:template match="SECONDARY_EVENT_LIST">
              <xsl:variable name="secondaryElements" select="ancestor::SCHEDULE/SECONDARY_ELEMENT_LIST"/>
              <xsl:for-each select="SCHEDULE_ELEMENT_ID">
                   <xsl:variable name="id" select="."/>
                   <xsl:apply-templates select="$secondaryElements/SCHEDULE_ELEMENT[(@ID=$id)]"/>
              </xsl:for-each>
         </xsl:template>
    Is this having any relation with what my requirement is all about?

    Hi,
    You can use XPATH command to get the exact tag.
    You can access each tag with it location like “/Report_Name/Group_Tag/Element_ID”.
    I think this will remove the ambiguity of Tags with same ID.

  • How do I share files between users on the same machine?

    I tried using /Users/shared to share files between myself (Admin user) and another user on the machine (Standard user). Whenever I put a file or a folder into said directory permissions are 755 for directories and 644 for files, my umask is 0022. The files and directories belong to my user and the group staff. This means I can read and write and others can read. If I do the same using the other users account. Permissions are 700 and 600 respectively. (Owner is the other user and group is staff.) Strangely the other users umask is 0022, too.
    The result is, that all directories and files I create with my account (Admin user) are readable to every other user on the machine, whereas all directories and files the other user (Standard user) creates are not readable for anyone else. I can easily rectify this using the Terminal and chmod and/or chown, but it is a pain having to do this, since I also need to forcefully restart the Finder App for it to notice the changed permissions.
    Ideally I'd like all directories in /Users/Shared to have permissions 777 and all files 666 no matter which user created, copied or moved them to said location. I think this could possibly be done using applescript and shellscripting and the folder action hook. So far my attempts to find such a script on the net or/and write it myself have failed. I'd be grateful for any hints how I:
    a) write and setup such a script
    b) accomplish what I try to do (share files and folders on the same machine) in another possibly more Mac way
    Kind regards
    David

    The following AppleScript will recursively descend the directory tree and change the items to your modes:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on adding folder items to this_folder after receiving these_items
    repeat with some_item in these_items
    ProcessStuff from some_item
    end repeat
    end adding folder items to
    to ProcessStuff from SomeItem
    processes items contained in SomeItem, recursively descending the directory tree
    parameters - SomeItem [mixed]: an item containing the items to process
    returns nothing
    set SomeItem to SomeItem as text
    set FileInfo to (info for SomeItem as alias)
    if (folder of FileInfo) and not (package folder of FileInfo) then -- a folder (not a package)
    do shell script "chmod 666 " & quoted form of POSIX path of SomeItem
    -- do shell script "chown root:staff " & quoted form of POSIX path of SomeItem user name "me" password "mypassword" with administrator privileges
    try -- to get items in the folder
    tell application "Finder" to set SubFolder to (items of folder SomeItem)
    on error
    return {}
    end try
    repeat with SubItem in SubFolder -- process the sub items
    ProcessStuff from SubItem
    end repeat
    else -- a file
    do shell script "chmod 777 " & quoted form of POSIX path of SomeItem
    -- do shell script "chown root:staff " & quoted form of POSIX path of SomeItem user name "me" password "mypassword" with administrator privileges
    end if
    return
    end ProcessStuff
    </pre>
    You shouldn't need to change the ownership, so I commented out the chown shell script since this would need to be run as a super user. You can run a shell script with administrator privileges, but in order to be used by a standard user you will need to provide the appropriate user name and password in the script, which might not be a good idea - note that the folder action script will need to be attached in all accounts that you want to change the permissions, which means that it would need to be accessible to those accounts.

  • How can I convince iTunes that this is the same machine to avoid installing all my iPod Touch Apps?

    I've had to rebuild my hard drive and reinstall all the software. What a pain.Now iTunes wants to tell me that I am re-syncing from a new machine and wants to reinstall all of my Apps. It is the same machine, and all the Apps show up in iTunes that are on my iPod Touch. I do not want to have to reinstall all of the iPod Apps and try to restore all of their data. How can I convince iTunes that this is NOT a different machine?

    If you are using iTunes version 7 or later, then you can transfer purchased iTunes store music from the iPod to an authorized computer by using the "file/transfer purchases from iPod" menu. Note that the maximum of 5 authorized computers applies here.
    For all other non purchased music (your own CDs etc) try this method which works on some Windows PCs.
    Enable your iPod for disk use.
    See: iPod Disk Use.
    Open iTunes and select edit/preferences/advanced/general. Put a check mark in the box marked "copy files to iTunes music folder when adding to library" and also "keep iTunes music folder organized", then click 'ok'.
    Connect the iPod whilst holding down the shift/ctrl keys to prevent any auto sync, and if you see the dialogue window asking if you want to sync to this itunes library, click 'no'.
    Then go to file/add folder, open 'my computer', select your iPod and click 'ok'.
    The music files should transfer to your iTunes.
    If this doesn't work (and it may not because officially it's not supposed to), check out the instructions/suggestions here.
    Music from iPod to computer (using option 2). This a manual method using "hidden folders" and although it works, it can be messy.
    Much easier ways are to use one of the many 3rd party programs that copy music from the iPod to the computer.
    One of the most recommended is Yamipod. This is a free program that transfers music from iPod back to the computer. However, it does not transfer playcounts/ratings etc.
    Another free program is Pod Player.

  • How to have Oracle home 9.2 & 10g on same machine?.....

    Dear All,
    I have 10g R 2 already installed on my machine. I have installed 9.2 on the same machine... How can I installed What are procedures for setting the path and oracle home.... procedures in doing that.......?
    thanks in advance
    KC

    As already said, there is no problem to have different oracle version in different ORACLE_HOME directories on same server box.<br>
    For install, please read the associated Installation Guide.<br>
    <br>
    Nicolas.

  • Two clusters on same machine using well know addresses - is it possible?

    Hi,
    I try to setup two clusters (each with two nodes) on the same machine and want to use WKA for both of them. For the first one I do not have problems and it starts normaly.
    When I try to start a node from the second cluster I get this message :
    2011-07-07 12:00:06.984/10.710 Oracle Coherence EE 3.5.2/463p5 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior servi
    ce member n/a
    2011-07-07 12:00:14.899/18.625 Oracle Coherence EE 3.5.2/463p5 <Error> (thread=Cluster, member=n/a): This member could not join the cluster because of
    a configuration mismatch between this member and the configuration being used by the rest of the cluster. This member specified a cluster name of "Ac
    meCluster2" which did not match the name of the running cluster. This indicates that there are multiple clusters on this network attempting to use ove
    rlapping network configurations. Rejected by Member(Id=1, Timestamp=2011-07-07 10:08:34.426, Address=<IPaddress>:8088, MachineId=3377, Location=site:c
    orproot.net,machine:<MachineName>,process:564, Role=TibcoCepContainerBEMain).
    2011-07-07 12:00:14.899/18.625 Oracle Coherence EE 3.5.2/463p5 <D5> (thread=Cluster, member=n/a): Service Cluster left the cluster
    2011-07-07 12:00:14.899/18.625 Oracle Coherence EE 3.5.2/463p5 <Error> (thread=main, member=n/a): Error while starting cluster: java.lang.RuntimeExcep
    tion: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_JOINING)
    I have configured the "java.property.tangosol.coherence.wka.port" and "java.property.tangosol.coherence.wka1.port" to different values for the second cluster than the values of the first.
    Fist of all is such setup possible?
    Any idea why I get this error and what else I need to change in the configuration for the second cluster?
    greetings Georgi

    Hi,
    Now it works for me. I think I was setting the WKA on too many places as the documention of the application I have is a little bit confusing.
    First I have posted the WKA with java.property as it was specified in the documentation of my application to set them in the script that starts it. I have removed them from the script and used only the xml file to configure coherence.
    I am not using the override file but rather change the WKA configuration in the jar file itself. For the real enviornment and not my laptop I will use it.
    Also there were two coherence.jar files in my class path and the first one was common for the both clusters and the second one was different for each cluster. In this second one I was changeing tangosol-coherence.xml the logs were showing that the configuration loaded from and also in the classpath this second was before the other one . Maybe I was wrong so I have removed the first coherence.jar that was common.
    Maybe the combination of those two things were the problem but now it works. Thanks for your comments.
    greetings Georgi

  • How to map a calculation with the session ID

    Hi,
    we have been using HBR and as usual many a times we have concurrent rules that are being executed .
    now i can view the sessions in the admin services but i am not able to make out that which rule is the one thats running right now.
    is there any way that we can map the session Id that is apperaing in the sessions with the intersection on which that rule was executed or the name of the rule.for instance if we could get the session id details in th eHBR Launch log files then we can make out which rule is being executed whith which session ID.

    you have a detailed information under planning's job console and for more information you can match the time stamp with essbase session.
    Can help you up to some extant.

  • How to extract data for particular two members of same dimension.

    As per the requirement i need to export data for certain members of a dimension. Lets say we need data for two account members A and B which is in in Account dimension only but is not a direct children. I need the data for all the available years too. Please suggest me how my DATAEXPORT command should look like.
    When i am using an AND statement it is not working accordingly. Say i am fixing for years 2007 and 2009 but the output file is coming for 2009 and 2010.
    Something other is happening when i am fixing OPEX_31 and OPEX_32. The values are coming not only for OPEX_31 and OPEX_32 but for many more accounts too.
    Here is my dataexport statement for your reference
    SET DATAEXPORTOPTIONS
    DataExportLevel "ALL";
    DataExportColFormat ON;
    DataExportDimHeader ON;
    DataExportOverwriteFile ON;
    FIX("LC","Total_Year","ESB1","2009","SIERRA","COSTCENTER_NA","CELLULAR_NA","OPEX_31",
    "January","February","March","April","May","June","July","August","September","October","November","December");
    DATAEXPORT "File" "     " "D:\exports\feb.txt";
    ENDFIX;
    I need data for OPEX_31 and OPEX_32 for all the available years starting from 2001 to 2025.
    Please suggest what are the modification needed to get the desired result.
    Thanks in advance

    Hi,
    There a few different options you can use for fixing on the months, years..
    e.g. FIX(January:December)
    or FIX(@CHILDREN(YearTotal)) < depends what the parent of the months is
    sames goes for years
    FIX(2009:2025)
    or
    FIX(@CHILDREN(Year)
    If your period dimension is dense you can always use that as the column header e.g. DataExportColHeader "Period" and then fix on the accounts you require.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to set up NAT for two servers using same port with ASDM ASA 5505

    Hi there,
    We have a new installation of a ASA 5505 and are trying to get some NAT issues straightened out. Here is the scenario: On our internal network, we have two servers running Filemaker Server, a relational database server that clients connect with using port 5003. Our goal is to be able to allow users from the outside to access either of these servers as needed. I know how to set up a simple static NAT rule and matching Access rule in ASDM which would be fine for a case in which only one server using a given port is running on a network, but for simple static rules I seem to be blocked from entering a different translated port number from the orginal port number, which becomes a problem when two servers we need to access from the outside are running software using the same port number.
    What is the simplest way to address this need? I am guessing that I need to set up a scenario like this, where port 5004 (or any arbitrarily choosen unused port, can be used to access the second server:
    Outside user enters   FQDN:5004  and this translates to Database server # 1 as   192.168.1.40:5003
    and
    Outside user enters   FQDN:5003  and this translates to Database server # 1 as   192.168.1.38:5003
    If so, what is the easist way to get this done? Or is there a better what to handle this scenario?
    Thanks in advance,
    James

    I would create two objects and use object NAT
    object network Obj_5004
    host 192.168.1.40
    object network Obj_5004
    nat (inside,outside) static service tcp 5003 5004
    object network Obj_5003
    host 192.168.1.38
    object network Obj_5003
    nat (inside,outside) static service tcp 5003 5003
    Of course you will need to open your outside interface for tcp ports 5003 and 5004 to make this happen

  • How do I share Itunes between two ipods useing same account?

    My mom and I want to share my itunes. I have an Ipod shuffle and she have an Ipod nano. My mom just got her first Ipod. I'v had mine years before her. So I already have my itunes account and everything. I know how to share the music and create playlist and libraries. The only problem I have is that the itunes and computer don't recognise my mom's ipod. If they don't recognise my mom's ipod she can't download music. So how do I get the itunes and computer to  recoginses my mom's ipod and my ipod on the same account?

    have a look at this support article.
    also check out How to use multiple iPods, iPads, or iPhones with one computer.

  • How do i share iTunes between two users on same iMac

    Hi,
    i had 1 account with Admin privileges on our iMac from which the kids listened to iTines. I just created a separate user account for my kids with standard privileges and moved the iTunes directory from under my /users/ area to the /Users/Shared directory area. however, when i invoke iTunes from within my kids user account, the Library is unpopulated, even though under iTunes - Preferences, Advanced, the location of the iTunes shows up correctly as....Users:Shared:Music:iTunes:iTunesMusic. what am i missing?
    thanks
    nmodi

    Perhaps this article will help:
    http://support.apple.com/kb/HT1203

  • How can I store songs on two drives on same Powerbook?

    My Powerbook is running out of hard disk space while my ipod has plenty left. Is there a way to use a USB pocket drive on my Powerbook to hold additional songs?
    THX

    go to a PC or Mac that has the songs that is in ur iPod.... back up those songs on external memory (flash drive).... then put it into your Mac.....

  • Concurrent users sessions from same machine issue

    Hi there
    We have 10.1.2 OIM environment and SSO. We are running reports from Oracle portal.
    The issue is that when I have multiple users sign on on same machnie and running user id specific reports - all users see report from last login users.
    Each user has owne IE or Firefox browser window.
    It looks that cookie that contains SSO authenticated information is shared between multiple browser sessions. How can we control cookie to work only within one browser not for the other web browser sessions.
    The same issue exists even when we go SSO - Portal - Forms - Reports.

    If I open two different browsers (e.g. Firefox and IE) those browsers don't know about each other. No session sharing happens automatically.
    Theoretically you could use the user's IP address for session tracking. But that will fail miserably for users who come from the same IP address, e.g. through a NAT firewall.
    I don't think you can fill that requirementreliably & without breaking something.

Maybe you are looking for

  • DVD drive does not recognize burned DVD

    Test DVDs are recognized on other G5 DVD drive. Problem has been intermittent but now constant. This one just spits them out. It does recognize blank DVDs and CDs. HD permissions repaired. Profile info below ATA SONY DVD RW DW-U10A: Model: SONY DVD R

  • No more pool connection

    Is it possible to configure the pool in a way that the ejb asking for a connection waits until a connection is available, if there are no more connections available in the pool? I know this is not the coolest thing to do, but I want to avoid all thes

  • Sad ex-Eudora user, Apple Mail 5.1 losing messages, me losing clients

    Since I grudgingly switched from Eudora to Mail last week, thanks to Lion, I have been driven slowly crazy by Apple Mail.  It keeps losing important messages from my clients.  I try to either leave them in the INBOX or file them in the appropriate Ma

  • InDesign CS4 and Yosemite

    After upgrading to Yosemite, my thumbnail previews no longer show in InDesign CS4. Any ideas?

  • Is there a way I can superimpose an image?

    I would like to be able to add a logo in the corner, or to blot out part of the image in a clip. Can this be done?