map a user process oracle for the process of the BONE?

Hi all

When a client connects to the Server DB and oracle user
process (< SID > oracle) is started in (dedicated solaris
Server mode), how can I know who is the actual process
Is this connection?

for example: sid is db1

ps - ef | grep oracledb1
...
...
0 S 17406 1 0 39 20 oracle? 2159176? 09:50:09? 0:31 oracledb1 (LOCAL = NO)
0 S 22198 1 0 39 20 oracle? 2158821? 10:18:37? 0:01 oracledb1 (LOCAL = NO)
0 S 9873 1 0 39 20 oracle? 2158275? 12:14:06? 0:01 oracledb1 (LOCAL = NO)
...
...

How will I know which of the oracledb1 belongs to a customer connection?

Thank you very much!
Sam

user8803644 wrote:
Hi all

When a client connects to the Server DB and oracle user
process (oracle) is started in (dedicated solaris
Server mode), how can I know who is the actual process
Is this connection?

for example: sid is db1

ps - ef | grep oracledb1
...
...
0 S 17406 1 0 39 20 oracle? 2159176? 09:50:09? 0:31 oracledb1 (LOCAL = NO)
0 S 22198 1 0 39 20 oracle? 2158821? 10:18:37? 0:01 oracledb1 (LOCAL = NO)
0 S 9873 1 0 39 20 oracle? 2158275? 12:14:06? 0:01 oracledb1 (LOCAL = NO)
...
...

How will I know which of the oracledb1 belongs to a customer connection?

Thank you very much!
Sam

Do as below

SQL> connect user1/user1
Connected.
SQL> !ps -ef | grep LOCAL
oracle   32331 26842  0 20:36 ?        00:00:00 oraclev112 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
bcm      32332 26842  0 20:37 pts/0    00:00:00 /bin/bash -c ps -ef | grep LOCAL
bcm      32334 32332  0 20:37 pts/0    00:00:00 grep LOCAL

SQL> select
   b.username,
   b.sid,
   b.serial#,
   a.spid
from
   v$session b,
   v$process a
where
   b.username = 'USER1'
and
   a.addr = b.paddr
/  2    3    4    5    6    7    8    9   10   11   12   13  

USERNAME                     SID    SERIAL# SPID
------------------------------ ---------- ---------- ------------------------
USER1                          146     1288 32331

SQL> 

Handle: user8803644
Status level: Beginner
Join date: December 29, 2010
Messages total: 13
Total Questions: 5 (5 open)

Why EACH question still unanswered?

Published by: sb92075 on February 15, 2012 20:43

Tags: Database

Similar Questions

  • someone has a link to the user manual / manual for the T61

    someone has a link to the user manual / manual for the T61

    THANKS IN ADVANCE

    http://www-307.IBM.com/PC/support/site.WSS/product.do?subcategoryind=0&familyind=370153&brandind=10&...

    See you soon,.

    Bill

  • Change the User Manager api for the update

    Hi all

    I'm trying to change some attributes using the UserManager change call.

    I get the exception below-

    Caused by: oracle.iam.platform.kernel.ValidationFailedException: this attribute is not supported for the change of the bulk operation.

    at oracle.iam.identity.usermgmt.impl.handlers.modify.ModifyUserValidationHandler.validate(ModifyUserValidationHandler.java:192)

    at oracle.iam.platform.kernel.impl.OrchProcessData.validate(OrchProcessData.java:246)

    at oracle.iam.platform.kernel.impl.OrchProcessData.runValidationEvents(OrchProcessData.java:190)

    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.validate(OrchestrationEngineImpl.java:728)

    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.process(OrchestrationEngineImpl.java:579)

    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:492)

    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:409)

    to s

    I am able to change using the same api string or text attributes, I get the above error only when I add an attribute of date format.

    HM.put (CommonConstants.EMPLOYEESTATUS, "T");

    HM.put (CommonConstants.EMPSTATUSDESC, CommonConstants.TERMINATED);

    HM.put (CommonConstants.TERMINATIONDATE, new Date ((new java.util.Date () .getTime ()));

    Employee status and type PEM desc are attributes of text and they have updated if I comment the termdate entry in the hash table.

    Pls let me know.

    Note: I checked to find and use in bulk for all the attributes that I spend in the hash table.

    Thanks in advance.

    ~ THE VSN

    Thank you J_IDM.

    I just followed the same same approach before, but the real problem was after I did the editable attribute, there is actually an update of the User.xml.

    Where the question.

    I took mds export and manually updated.

    ~ THE VSN

  • Set up a user profile specifically for the game

    Hi all

    I installed Windows 7 (64-bit) and use it mainly for work (Excel, SPSS, Word). I also have many programs start automatically with Windows and run as background processes. What I want to do is create a profile user who loads only minimum programs and services required to play video games. Currently I have to manually complete the applications and services, which is a pain in the thigh. How can I configure a user profile specifically for games?

    TYIA,

    Mark

    Hi Mark,

    You can create a new user profile, but you will need to put your computer in a clean boot for the new user account only State to play games and to disable applications/services that are not used frequently.

    New user account will inherit all startup applications and services of the administrator account.

    To create a user account , follow the steps in the link
    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    To put your computer in a clean boot State, follow the steps in the article.
    http://support.Microsoft.com/kb/929135

    Aziz Nadeem - Microsoft Support

  • -&gt; Client_OLE2.create_obj ('Excel.Application') when he called by form of Oracle for the second time to desnt work


    Here is the code that is written in "WHEN-BUTTON-PRESSED" trigger of a button in the form of Oracle

    Questions:

    1. for the first time in the excel sheet data loaded into record block.

    2. If I once again to open the screen and try to import another excel file the record block appers to be empty and no error thrown

    Comment:

    1. second time when I try to download the excel sheet, the code ends in "Client_OLE2.create_obj('Excel.Application')" and not further progress (on track by putting the message in the code)

    Code:

    DECLARE
    application Client_OLE2. Obj_Type;
    Client_OLE2 workbooks. Obj_Type;
    workbook Client_OLE2. Obj_Type;
    Client_OLE2 spreadsheets. Obj_Type;
    worksheet Client_OLE2. Obj_Type;
    worksheet2 Client_OLE2. Obj_Type;
    cell Client_OLE2. OBJ_TYPE;
    Client_OLE2 args. OBJ_TYPE;
    cell_value varchar2 (100);
    num_wrkshts NUMBER;
    wksht_name VARCHAR2 (250);
    EOD Boolean: = false;
    j integer: = 1;
    v_fName VARCHAR2 (250);
    BEGIN
    -Get the name of the file to open
    -v_fName: = "D:\MyDevelopment\Forms\Samples\WebUtil\Read_Excel\planets3.xls";
    v_fName: = WebUtil_File.File_Open_Dialog)
    directory_name = > "C:\". »
    -, file_name = > Get_Form_Property (:System.Current_form, Form_Name) |'. XLS
    , File_Filter = > null
    , Title = > 'Select customer filename to open.'
    );

    IF (v_fName IS NOT NULL) THEN

    -The following sets a communication with the excel worksheet
    -- --------------------------------------------------------------
    -Open the OLE application
    application: = Client_OLE2.create_obj ('Excel.Application');
    -Keep the hidden application
    Client_OLE2.set_property (application, 'Visible ','false ');

    workbooks: = Client_OLE2. Get_Obj_Property (application "Filing cabinets");
    args: = Client_OLE2. CREATE_ARGLIST;

    -Open the selected file
    -- ----------------------
    Client_OLE2.add_arg (args, v_fName);
    workbook: = Client_OLE2. GET_OBJ_PROPERTY (Workbooks, 'Open', args);
    Client_OLE2.destroy_arglist (args);

    worksheets: = Client_OLE2. GET_OBJ_PROPERTY (workbook, 'Worksheets');

    -Get the number of spreadsheets
    -- ------------------------
    num_wrkshts: = Client_OLE2. GET_NUM_PROPERTY (worksheets, 'Count');
    worksheet: = Client_OLE2. GET_OBJ_PROPERTY (application, 'activesheet');

    -Go to the first record
    go_block ('planets');
    premier_enregistrement;

    loop
    If: system.record_status <>'NEW' then
    create_record;
    end if;

    When the exit NEM;

    for 1.3 k loop - 3 frames / record
    args: = Client_OLE2.create_arglist;
    Client_OLE2.add_arg (args, j);
    Client_OLE2.add_arg (args, k);
    cell: = Client_OLE2.get_obj_property (spreadsheet calculation, 'Cells', args);
    Client_OLE2.destroy_arglist (args);
    cell_value: = Client_OLE2.get_char_property (cell, 'Value');

    If upper (cell_value) = "NEM" then
    Nem: = true;
    Message ('end of data');
    "exit";
    end if;

    -Could be done in this way also-->

    / * If k = 1 then
    : dept.deptno: = cell_value;
    end if;

    If k = 2 then
    : dept.dname: = cell_value;
    end if;

    If k = 3 then
    : dept.loc: = cell_value;
    end if;
    */

    -Less code in this way - >
    Copy (cell_value, name_in ('system.cursor_item'));
    next_item;

    end loop; -for

    j: = j + 1;
    end loop;-main loop

    -Release the handles object Client_OLE2
    IF (cell IS NOT NULL) THEN
    Client_OLE2.release_obj (cell);
    END IF;
    IF (spreadsheet IS NOT NULL) THEN
    Client_OLE2.release_obj (Worksheet);
    END IF;
    IF (spreadsheets IS NOT NULL) THEN
    Client_OLE2.release_obj (Worksheets);
    END IF;
    IF (worksheet2 IS NOT NULL) THEN
    Client_OLE2.release_obj (worksheet2);
    END IF;
    IF (workbook IS NOT NULL) THEN
    Client_OLE2.release_obj (Workbook);
    END IF;
    IF (workbooks IS NOT NULL) THEN
    Client_OLE2.release_obj (Workbooks);
    END IF;
    Client_OLE2. Invoke (application, 'Quit');
    Client_OLE2.release_obj (application);
    ON THE OTHER
    Message ("no file selected.'");
    message(' ');
    RAISE Form_Trigger_Failure;
    END IF;
    END;

    Any advice will be appreciated...

    Thank you!!!

    Hello

    personally, I release the cell object as soon as the value is written in a variable and not in a procedure that closes the file. Note that there are many cells read (so you should relase each cell individually).

    The publication of the application is such:

    Procedure CloseApplication is

    Begin

    CLIENT_ole2.release_obj (Workbook);

    CLIENT_ole2.release_obj (Workbooks);

    CLIENT_ole2. Invoke (application, 'Quit');

    CLIENT_ole2.release_obj (application);

    End CloseApplication;

    Greetings,

    SIM

  • user and password for the connection with the database command

    Hello

    I need to connect to the control of the database but I do not know the password for sys and system users, please, could someone tell me the password?

    Concerning

    need to order prompt (windows)

    cmd > set ORACLE_SID = 'database_name '.
    cmd > sqlplus "/ as sysdba".
    sqlplus > alter user username identified by password;

    You can change any user password by above the command using sys as sysdba or / as sysdba.

  • To view the details of the table, how can I create users and applications for the dev team?

    Hello
    Veiw the tables as column details, etc., we use the password apps by oracle apps Forms.But apps password giving the development of values is threat to security. My question, how the development team will check the details of the database other than the apps user & password? No work around for this problem?

    Naya,

    The developers must have access to the development/TEST instance but must not be connected directly to the instance of PROD. Assuming that your development instance is identical to the production, I believe that the best scenario is to prepare reports on the development instance (having full access including password apps), and once they are done, they go to the ADMINISTRATOR to upload it to the production instance.

  • GRANT SELECT on a table to the user / role changes for the tab last_DDL

    Hello

    Is grant select (or any private object) to the user/role a DDL statement?

    GRANT SELECT on a table to the user / role changes the last_DDL to the table.
    1 > is this expected behavior?
    2 > no way in which we can grant select on a table by another user, without changing the DDL? (for example create view).


    The test is performed:

    Prior to the issuance:


    OBJECT_NAME CREATED TIMESTAMP LAST_DDL_TIME OWNER
    ------- ---------------------- ---------- ------------- --------------------
    AR HZ_CUSTOMER_PROFILES 8 MAY 00 13 MARCH 13 2003-06 - 26:12:41:29



    Grant statement:
    GRANT SELECT ON "AR". "' HZ_CUSTOMER_PROFILES ' TO 'AR_VIEW ';

    Note: AR_VIEW is a role, I tried granting also directly to the user.


    After the grant:

    OBJECT_NAME CREATED TIMESTAMP LAST_DDL_TIME OWNER
    ------- ---------------------- ---------- ------------- --------------------
    AR HZ_CUSTOMER_PROFILES 8 MAY 00 21 MARCH 13 2003-06 - 26:12:41:29



    Old thread, discuss whether Grant is DDL or not, but no documented conclusions.
    ( Re: Grant, revoke is DDL and DCL? )

    Please help in the assessment above.

    -Best regards,.
    Mani

    It's the DOF.

    After all, this isn't DML, it implicitly committed and you cannot use it directly in PL/SQL: features of DDL. :-)

  • Create a user account specific for the base game.

    I would like to be able to create a user account to install a basic version of a game that has expansion packs installed on a different user account. is this possible?

    It will not work as it is, as it will be installed to the same file location.  However, it can work if you create another folder to install sub in the user account.

    Example: C:/program files/games/game

    make a folder of the game - 2

    C:/program files/games/game-2

    so you want to now the-2 is the second.

    I can't recipient that it will work, as all games are different *.

    [_1337_Pete_]

  • Check the status of the user Opt-In for the newsletter

    Hi all

    Can you help me understand how I can pull up to status, a customer opt-in to our newsletter, so that when the user switches to "update my information" I can present this detail too and allow customers to unsubscribe.

    In addition, no idea why, when I add a newsletter subscription form to a page via the campaigns module, verification captcha is not made? It's there is code missing from the JS presentation...

    The code I get is:

    < script type = "text/javascript" >

    <! [CDATA]

    function checkWholeForm31184 (theForm) {}

    var what = "";

    If (theForm.EmailAddress) why += checkEmail (theForm.EmailAddress.value);

    If (theForm.CaptchaV2) why += isEmpty (theForm.CaptchaV2.value, "Enter Word verification in box below");

    What happened ' (theForm.CaptchaV2) why += captchaIsInvalid (theForm, "Enter the word verification in box below", "-Please enter the correct verification Word, as seen in the image");

    If (why! = "") {}

    Alert (Why);

    Returns false;

    }

    theForm.submit ();

    Returns false;

    }

    []] >

    < /script >

    Is this a bug in the inserts modeule BC?

    Many want an own newsletter registration form.

    You can build entire web form with sign up and captcha yourself as an option. You can also, if you know how to add catpcha in the subscription form, if you want too.

    To unsubscribe, the link is generated only in the ballots and the only way to know the Palestinian territory occupied in State is done by the admin.

  • Module for users to pay for the training provided via credit card

    Is anyone know to add in or other software of Adobe Acrobat Connect Pro that allows you to offer training to connect our customers and allow them to pay by credit card?

    I recommend http://www.cyourteam.com. Their tool to connect your event fits with Connect lets all of e-commerce, codes promo/discount and other interesting features.

  • I see several duplicate processes appear in my task manager, both for the programs I use for my system.

    I am a user of Windows Vista Premium Home Edition (64-bit) and I recently met a strange and frustrating problem:

    Process/images in my task manager appear as duplicates, native processes on Windows for the process for other programs such as my web browser or the video card drivers.
    Treatments that are be duplicated are as follows:
    Chrome.exe * 32 - 2-3 process at the same time, currently a browser open with 3 tabs (Google Chrome)
    Csrss.exe - 2 process, the values of different memory of 1820 and 2500 (Client Server Runtime Process)
    nvvsvc.exe - 2 process, different values of 1556 and 2988 (Nvidia driver helper service, worm 191.07) memory
    Pen_tablet.exe - 2 process, the values of different memory of 10112 and 1788 (service) Tablet for driver of consumer
    Svchost.exe - This is listed in 12 different processes under different user names - 3 for the system, local 5 and 4 for network - all with the memory values (Windows Service host process)
    taskeng.exe - 3 process, listed under different usernames of the system, premises and owner (Task Scheduler Engine)
    I'm worried about this because I have recently updated my anti-virus and malware, however this problem is still present. I have no idea what that means or how to fix this and would appreciate any assistance that could be given.

    Hi Mohiten,

    It is normal that you currently live. As the scan came clean, you should be good.

    If you wish, you can try to run a scan online and check.

    Check out the link:

    http://safety.live.com

  • PRVF-4007: verification of equivalence for the user failed

    Hello everyone,

    I work a 2 node RAC installation, I installed CARS many times before, but I just ran the script with these settings

    runcluvfy.sh stage pre - crsinst - n rac1, rac2-verbose

    The last time I ran it I don't have these errors, but I think I used the user account name "oracle."

    but this time I'm using another account of Linux, you have to use the name real = oracle for the account name?


    The Linux account I use is not called "oracle".


    This is the error I get when I run the script...


    [oradest@rac1 grid] stage pre - crsinst - n rac1, rac2-verbose $./runcluvfy.sh

    Conducting due diligence to install cluster services

    Audit accessibility of node...

    Check: Accessibility of node of the node "rac1.

    Accessible destination node?

    ------------------------------------  ------------------------

    rac2                                  yes

    rac1                                  yes

    Result: Check accessibility node from node "rac1.

    Verify the equivalence of the user...

    Check: Equivalence of the user for the user "oradest".

    Comment by node name

    ------------------------------------  ------------------------

    Rac2 failed

    RAC1 failed

    Result: PRVF-4007: user equivalence verification failed for user 'oradest '.

    ERROR:

    Not available on all specified nodes user equivalence

    Verification can take place

    Check prior to the installation of cluster service failed on all nodes.

    Yes, you can use a separate account (e.g. "grid").  In fact, I always recommend a separate account, especially from 11 GR 2.

    Must user equivalence be configured.  It is documented in the installation guide.  You can use the installer universal to facility user equivalence if you don't want to do it manually.

    Hemant K Collette

  • How to set up certificates for the default user profile

    I'm trying to create a package to install Firefox in our corporate environment that contains our locally-issued certificates. We can manually import the certs, but since Firefox is part of our brand, I would like to have the certificates already installed for users they open FF for the first time.

    I wrote a script that installs Firefox 22, copy custom files in the correct location files, creates a new profile folder (C:\Program Files (x 86) \Mozilla Firefox\defaults\profile) and copy the file cert8.db in that newly created file. However, when a user opens FF for the first time, none of our certificates are installed. If I close FF, copy the file cert8.db even in the .default file C:\Users\ < username > \AppData\Roaming\Mozilla\Firefox\Profiles\ < random string > and then reopen FF, CERT now show as installed upward.

    How can I automate this so that each user who opens FF will have implemented CERT?

    This is for the initial installation of Firefox.
    22 of Firefox, version 22.0.0.4917
    Windows 7, 64-bit

    Hello keslaa, since firefox 21 & upward this information would need to go to % ProgramFiles(x86) %\Mozilla Firefox\browser\defaults\profile in order to take effect.

    http://Mike.kaply.com/2013/05/13/more-major-changes-coming-in-Firefox-21/

  • A-team - MAF Persistence Framework - is available for the MAF and it is an approach recommended by Oracle for Application Data Sync?

    Hi OTN community.

    My query is on Oracle team Persistence framework (http://www.ateam-oracle.com/going-mobile-with-adf-implementing-data-caching-and-syncing-for-working-offline/).

    It is available for the MAF and it is an approach recommended by Oracle for the implementation of data synchronization?

    Can anyone please share their experience using this extension.

    We are currently reviewing the best approach for the implementation of data synchronization.

    Best regards

    Deepak

    See: persistence of the MAF Oracle for SQLite

    Frank

Maybe you are looking for

  • Cannot switch the language layout with wireless keyboard

    I do a sort of a media center for my mac mini. So far, everything is great, except for one very annoying thing. I bought this wireless keyboard and it's working great, although there is a problem with the layout language switch. When I change the inp

  • Where can I get upgrades for my Equium A80?

    I have a portable Satellite A80-132 and I want to upgrade the memory of 1 GB. Can someone advise what type of memory by and where I can buy it? Thank you

  • Z500 8.1 Windows 64-bit USB ports not working not

    Hi everyone, now I have bought a lenovo Z500. After update to 8.1 Windows 64 bit, USB flashdrives could not run properly eventually Explorer Windows did not. When I try to restart, it blocks on the screen "Restart" and I have to press and hold the po

  • XP Service Pack 3 fails to install

    An error message is displayed: "not enough memory in C:\windows\$ServicePackUninstall$ to install Service Pack 3.  Requires 4 MB.  Make more space on the hard disk. »Yet, I have 49GB of free space on my hard drive.

  • convert wps to doc files

    How to convert wps files from a computer to 32-bit Vista Edition home premium for doc files which opens onto a computer with Windows 7?