Indtify the unix process id

Hello,
How can I know the unix process Id from the session ID of Oracle?
I have killed the SID using kill session but, I go a message saying that the session is maket for kill
thank you

hello,
you can use this query;
SELECT P.SPID, S.SID, S.SERIAL#
  FROM V$PROCESS P, V$SESSION S
WHERE P.ADDR = S.PADDR
   AND S.SID = <your SESSION ID>;the SPID is the process ID,
also i suggest to use DISCONNECT SESSION instead of kill session :=)
ALTER SYSTEM DISCONNECT  SESSION 'sid,serial#' IMMEDIATE;

Similar Messages

  • Get Unix Process id from Form 6i

    Dear all,
    Does anyone know how can I get the Unix Process ID of the current session from Forms that run on client side ? Is the TOOL_ENV package help ?

    Use your session ID to select v$session
    Select spid from v$process
    where addr = v$session.paddr
    -- Unix Process id = v$process.spid

  • Unix process id for extproc

    Does oracle store the unix process id when an external procedure is called? I know the id of the oracle process is in v$process. But what of the external process itself?

    I guess this one is just too hard a question.

  • Get Unix process ID from forms

    Does anyone know how can I get the Unix Process ID of my running forms applicaton from the client side forms application?
    null

    Use your session ID to select v$session
    Select spid from v$process
    where addr = v$session.paddr
    -- Unix Process id = v$process.spid

  • External procedure unix process id

    Does oracle store the unix process id when an external procedure is called? I know the id of the oracle process is in v$process. But what of the external process itself?

    I guess this one is just too hard a question.

  • Process locking while running the current process running in Unix

    Hi Guys,
    I am sorry to ask you the question here . I have a situtation like I am running one process using crontab which kicks of every 30 mins but due to database slow my another batch is overlapping the process . Could you please give me some suggetions in unix
    Process A is running at 10:30 but this process did not complete
    The same process is started 11:00 -- Both process are overlapping each other .
    Please suggest me any thing .
    Clark

    No Oracle version number
    No description of the process or the SQL or PL/SQL being run
    No explain plans
    No traces
    No timings
    Here are your choices in no particular order.
    1. Buy faster hardware
    2. Load less data into your tables
    3. Modify all SQL statements to contain "AND ROWNUM = 1"
    4. Improve the performance of the first job
    5. Start the second job later than 11:00
    6. Provide those trying to help you with sufficient information for them to do so
    Well you did ask for "anything." <g>
    Seriously ... I'd suggest you choose #6.

  • Command to find the top unix processes  doing high disk read and writes

    I would like to know 'the unix command to find the top unix processes doing high disk reads or/and writes
    If any one knows the solution please help me?
    -Swamy

    From the oracle side you can obtain OS process id for sessions having some waits for user I/O
    select p.spid, s.sid, s.sql_id
    from v$session s, v$process p
    where s.paddr=p.addr
    and s.sid in
    select sid from v$session_wait
    where wait_class='User I/O'
    );and to see sessions that are currently waiting on user I/O use
    select p.spid, s.sid, s.sql_id
    from v$session s, v$process p
    where s.paddr=p.addr
    and s.sid in
    select sid from v$session_wait
    where wait_class='User I/O'
    and wait_time=0
    );HTH, Peter

  • Do I need to stop the SDM process on UNIX for backups?

    We are running Netweaver 04 SP13 on HPUX.  Can the SDM process stay running or do we need to shut it down during backups?
    Thanks!
    Steve

    As the technical operations manual stated:
    Create a backup of the SDM installation directory /usr/sap/<SID>/JC<inst_nr>/SDM.
    Make sure the SDM is stopped during backup.
    That should be clear enough...
    Regards,
    Benny

  • Getting error while posting reports on Unix Process Scheduler Server

    Hello ,
    I am getting the below error while posting reports on Unix Process Scheduler Server .
    PSDSTSRV.14338 (2) [09/08/09 08:21:34 PostReport](1) (JNIUTIL): Java exception thrown: java.io.IOException: Stream closed.
    PSDSTSRV.14338 (2) [09/08/09 08:21:34 PostReport](3) HTTP transfer error.
    PSDSTSRV.14338 (2) [09/08/09 08:21:34 PostReport](3) Post Report Elapsed Time: 0.0900
    PSDSTSRV.14171 (10) [09/08/09 08:21:34 PostReport](1) (JNIUTIL): Java exception thrown: java.io.IOException: Stream closed.
    Please advise ,thank you.

    user5838027 wrote:
    Node name :PS_HTTP
    URL: http://ddas1020.dev.com:16000/psreports/hrdmo
    URI:SchedulerTransfer/hr90dmo
    URI Port: 16000
    Please let me know if any other info is needed.
    Thanks.
    typo...
    URL: http://ddas1020.dev.com:16000/psreports/hr90dmo
    Hopefully, your application URL looks like http://ddas1020.dev.com:16000/psp/hr90dmo/..., your URI host looks like ddas1020.dev.com (or corresponding ip address), and hhtp is checked.
    Did you also tried to give the web login/password ?
    Nicolas.

  • Issue in invoking the BPEL process from Oracle using a SOAP Request

    Hi,
    We are facing an issue while invoking a deployed Bpel Process from Oracle Applications 11.5.10..
    Using a concurrent program( Unix / Host program ) we are passing the input variables required for the Bpel process in the ProcessRequest tags and forming this as a SOAP message payload.
    Then trying to invoke the deployed bpel process using the end point location using HTTP POST..but nothing is happening..
    The bpel process is not getting invoked when i look at the Console and also checked for the Manual Recovery queue..it's not stuck there as well..
    Have set the Transfer Time Out to 25 minutes using UTL_HTTP.SET_TRANSFER_TIMEOUT(1500);
    Could someone please help us as soon as possible with this ..as this is critical and we are stuck at the moment.
    The logic is mentioned below :
    UTL_HTTP.SET_TRANSFER_TIMEOUT(1500);
    UTL_HTTP.SET_DETAILED_EXCP_SUPPORT(ENABLE=>TRUE);     
    soap_request:='<?xml version="1.0" encoding="UTF-8"?>'||
    '<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">'||
    '<soap:Header/>'||
    '<soap:Body xmlns:ns1="http://xmlns.oracle.com/bpelprocessname">'||
    '<ns1:bpelprocessnameProcessRequest>'||
    '<ns1:CSONum>'||order_number||'</ns1:CSONum>'||
    '<ns1:CreationDate>'||c_chr_cso_last_run_dte||'</ns1:CreationDate>'||
    '</ns1:bpelprocessnameProcessRequest>'||
    '</soap:Body>'||
    '</soap:Envelope>';          
    http_req:= utl_http.begin_request
    ('http://bpel_server ip:port/orabpel/domain_name/bpelprocessname/1.0' , 'POST', 'HTTP/1.1'
    utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
    utl_http.set_header(http_req, 'Content-Length', length(soap_request)) ;
    utl_http.set_header(http_req, 'SOAPAction', 'process');
    utl_http.write_text(http_req, soap_request) ;
    http_resp:= utl_http.get_response(http_req) ;
    utl_http.read_text(http_resp, soap_respond) ;
    utl_http.end_response(http_resp) ;
    dbms_output.put_line(soap_respond);
    Thanks

    check if your soap envelope is correct,check my below procedure which is working fine for me
    procedure xxxxx_BPEL_SCHEDULER
    IS
    soap_request varchar2(30000);
    soap_respond varchar2(30000);
    http_req utl_http.req;
    http_resp utl_http.resp;
    launch_url varchar2(240) ;
    begin
    soap_request:='<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:add="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:star="http://xmlns.oracle.com/xxxxx_BPEL_SCHEDULER">
    <soapenv:Header>
    <add:MessageID>?</add:MessageID>
    <add:ReplyTo>
    <add:Address>?</add:Address>
    <!--Optional:-->
    <add:ReferenceProperties>
    <!--You may enter ANY elements at this point-->
    </add:ReferenceProperties>
    <!--Optional:-->
    <add:PortType>?</add:PortType>
    <!--Optional:-->
    <add:ServiceName PortName="?">?</add:ServiceName>
    <!--You may enter ANY elements at this point-->
    </add:ReplyTo>
    </soapenv:Header>
    <soapenv:Body>
    <star:STARS_BPEL_SCHEDULERProcessRequest>
    <star:SCHEDULER_PARAM1>?</star:SCHEDULER_PARAM1>
    <star:SCHEDULER_PARAM2>?</star:SCHEDULER_PARAM2>
    <star:SCHEDULER_PARAM3>?</star:SCHEDULER_PARAM3>
    <star:SCHEDULER_PARAM4>?</star:SCHEDULER_PARAM4>
    <star:SCHEDULER_PARAM5>?</star:SCHEDULER_PARAM5>
    </star:STARS_BPEL_SCHEDULERProcessRequest>
    </soapenv:Body>
    </soapenv:Envelope>';
    http_req:= utl_http.begin_request('http://xxxxxx.com:16000/orabpel/default/xxxx_BPEL_SCHEDULER/1.0 '
    ,'POST',
    'HTTP/1.1'
    utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
    utl_http.set_header(http_req, 'Content-Length', length(soap_request)) ;
    utl_http.set_header(http_req, 'SOAPAction', 'initiate');
    utl_http.write_text(http_req, soap_request) ;
    http_resp:= utl_http.get_response(http_req) ;
    utl_http.read_text(http_resp, soap_respond) ;
    utl_http.end_response(http_resp) ;
    dbms_output.put_line(soap_respond);
    END;

  • Setting the UNIX file permissions after writing the file to a directory

    Hi Experts,
    Can we set the UNIX file permissions after writing the file to a directory using Receiver File Adpater in SAP PI 7.1 ?
    Thanks in Advance.
    Regards,
    Jyoti

    Hi
    you can use the option "Run Operatiing system Command after File Processing" in the file adapter.
    Thanks
    Rinku Gangwani

  • The load process runs in the SAP GUI and the GUI will timeout if someone do

    Hi
    Our main issue: for loading DRW/BKT/Characteristics/Doc Files, I have already tested processing the Idocs in Background mode. All the Idocs failed because the background process on the SAP application server cannot access the doc files. (it has to use saphttp.exe on the client)
    help me  to solve thi sproblem
    regards,
    jagadish

    https://jdic.dev.java.net/
    The JDesktop Integration Components (JDIC) project aims to make Java� technology-based applications ("Java applications") first-class citizens of current desktop platforms without sacrificing platform independence.
    This demo application demonstrates functionality in the JDIC APIs org.jdesktop.jdic.tray package.
    It creates a tray icon on the desktop (in the System Tray Area for Windows platforms, or in the Notification Area for Unix platforms), with a caption (text), an animated icon, and an associated Swing menu containing icons. It also has a tooltip displayed when the mouse hovers over the tray icon.

  • Oracle over to the Unixes ?

    I gather that Oracle is stopping its Windoze stay and crossing over to
    the Unixes .
    IS this true ?
    Where does Oracle work better :
    on the Unixes
    or on M$ Windoze ?
    Regards,
    Shyam

    Hi,
    Can you write the issue  and process indetail.
    Regards,
    Kumar

  • Tty1-6 freeze in the middle of the boot process, tty7 and X works fine

    I'm running Arch+KDE (and some alternative like xmonad as wm). I have the following strange problem:
    Booting works fine, KDM starts, I can login, everythings works. However, although I can change to tty1-6 via ctrl+alt+f1...6 they are frozen in the middle of the boot process, here's exactly what I see after switching to another tty:
    [ 2.733866] ata2.00: 78165360 sectors, multi 16: LBA48
    [ 2.747003] ata2.00: configured for UDMA/100
    [ 2.747223] scsi 1:0:0:0: Direct-Access ATA ST340014A 3.06 PQ: 0 ANSI: 5
    [ 2.760075] usb 1-1: new high speed USB device number 2 using ehci_hcd
    [ 2.771843] sd 1:0:0:0: [sda] 78165360 512-byte logical blocks: (40.0 GB/37.2 GiB)
    [ 2.772018] sd 1:0:0:0: [sda] Write Protect is off
    [ 2.772098] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [ 2.772128] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 2.777708] sr0: scsi3-mmc drive: 52x/52x cd/rw xa/form2 cdda tray
    [ 2.777797] cdrom: Uniform CD-ROM driver Revision: 3.20
    [ 2.778630] sr 0:0:0:0: Attached scsi CD-ROM sr0
    [ 2.785447] sda: sda1 sda2 sda3 sda4
    [ 2.786061] sd 1:0:0:0: [sda] Attached SCSI disk
    [ 2.885089] hub 1-1:1.0: USB hub found
    [ 2.885518] hub 1-1:1.0: 4 ports detected
    [ 2.993360] usb 1-2: new high speed USB device number 3 using ehci_hcd
    [ 3.236962] usb 1-1.1: new full speed USB device number 5 using ehci_hcd
    [ 3.384005] input: Logitech Logitech USB Headset as /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.1/1-1.1:1.3/input/input1
    [ 3.384294] generic-usb 0003:046D:0A02.0001: input,hidraw0: USB HID v1.00 Device [Logitech Logitech USB Headset] on usb-0000:00:1d.7-1.1/input3
    The next lines which are not shown are (via dmesg)
    [ 3.384294] generic-usb 0003:046D:0A02.0001: input,hidraw0: USB HID v1.00 Device [Logitech Logitech USB Headset] on usb-0000:00:1d.7-1.1/input3
    [ 3.390423] usbcore: registered new interface driver usbhid
    [ 3.390511] usbhid: USB HID core driver
    [ 3.393690] usb 1-1.3: new high speed USB device number 6 using ehci_hcd
    [ 3.424849] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
    [ 3.840034] usb 3-1: new low speed USB device number 2 using uhci_hcd
    [ 4.025136] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/input/input2
    [ 4.025381] generic-usb 0003:046D:C050.0002: input,hidraw1: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.1-1/input0
    [ 5.739092] udevd[227]: starting version 171
    [ 6.392169] input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input3
    [ 6.392182] ACPI: Sleep Button [SLPB]
    [ 6.392256] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
    [ 6.392262] ACPI: Power Button [PWRF]
    [ 6.484257] input: PC Speaker as /devices/platform/pcspkr/input/input5
    [ 6.486020] ACPI: acpi_idle registered with cpuidle
    [ 6.567251] Linux agpgart interface v0.103
    [ 6.589560] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    [ 6.695744] i801_smbus 0000:00:1f.3: PCI INT B -> GSI 17 (level, low) -> IRQ 17
    [ 6.711992] iTCO_vendor_support: vendor-support=0
    [ 6.719428] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.06
    [ 6.720445] iTCO_wdt: Found a ICH5 or ICH5R TCO device (Version=1, TCOBASE=0x0460)
    [ 6.721211] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
    [ 6.722801] parport_pc 00:07: reported by Plug and Play ACPI
    [ 6.722852] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
    [ 6.743621] agpgart-intel 0000:00:00.0: Intel 865 Chipset
    [ 6.743658] agpgart-intel 0000:00:00.0: detected gtt size: 131072K total, 131072K mappable
    [ 6.743755] agpgart-intel 0000:00:00.0: detected 1024K stolen memory
    [ 6.744774] agpgart-intel 0000:00:00.0: AGP aperture is 128M @ 0xa0000000
    [ 6.847264] ppdev: user-space parallel port driver
    [ 6.852667] Intel 82802 RNG detected
    [ 6.878022] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    [ 6.923869] [drm] Initialized drm 1.1.0 20060810
    [ 7.050148] i915 0000:00:02.0: enabling device (0000 -> 0003)
    [ 7.050160] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [ 7.050168] i915 0000:00:02.0: setting latency timer to 64
    [ 7.072268] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
    [ 7.072273] e100: Copyright(c) 1999-2006 Intel Corporation
    [ 7.072344] e100 0000:01:08.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
    [ 7.110870] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
    [ 7.110875] [drm] Driver supports precise vblank timestamp query.
    [ 7.113855] i915 0000:00:02.0: BAR 6: can't assign [??? 0x00000000 flags 0x0] (bogus alignment)
    [ 7.113859] [drm] failed to find VBIOS tables
    [ 7.133720] e100 0000:01:08.0: PME# disabled
    [ 7.140882] [drm] initialized overlay support
    [ 7.141854] e100 0000:01:08.0: eth0: addr 0xfe9df000, irq 20, MAC addr 00:07:e9:4b:a9:8c
    [ 7.178193] [drm] capturing error event; look for more information in /debug/dri/0/i915_error_state
    [ 7.181514] render error detected, EIR: 0x00000010
    [ 7.181514] [drm:i915_report_and_clear_eir] *ERROR* EIR stuck: 0x00000010, masking
    [ 7.181514] render error detected, EIR: 0x00000010
    [ 7.219489] No connectors reported connected with modes
    [ 7.219497] [drm] Cannot find any crtc or sizes - going 1024x768
    [ 7.237564] sr 0:0:0:0: Attached scsi generic sg0 type 5
    [ 7.238588] sd 1:0:0:0: Attached scsi generic sg1 type 0
    [ 7.299180] Console: switching to colour frame buffer device 128x48
    [ 7.347619] fb0: inteldrmfb frame buffer device
    [ 7.347623] drm: registered panic notifier
    [ 7.347832] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
    [ 7.557756] Intel ICH 0000:00:1f.5: PCI INT B -> GSI 17 (level, low) -> IRQ 17
    [ 7.557804] Intel ICH 0000:00:1f.5: setting latency timer to 64
    [ 7.681210] nvidia: module license 'NVIDIA' taints kernel.
    [ 7.681217] Disabling lock debugging due to kernel taint
    [ 7.710730] Linux media interface: v0.10
    [ 7.800616] usbcore: registered new interface driver uas
    [ 7.877282] Linux video capture interface: v2.00
    [ 7.930178] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0802)
    [ 7.972100] input: UVC Camera (046d:0802) as /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.3/1-1.3:1.0/input/input6
    [ 7.972388] usbcore: registered new interface driver uvcvideo
    [ 7.972392] USB Video Class driver (v1.0.0)
    [ 7.990026] intel8x0_measure_ac97_clock: measured 50989 usecs (2457 samples)
    [ 7.990031] intel8x0: clocking to 48000
    [ 8.093410] Initializing USB Mass Storage driver...
    [ 8.100022] scsi4 : usb-storage 1-2:1.0
    [ 8.103449] usbcore: registered new interface driver usb-storage
    [ 8.103453] USB Mass Storage support registered.
    [ 8.401795] usbcore: registered new interface driver snd-usb-audio
    [ 8.568477] nvidia 0000:01:01.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
    [ 8.568494] vgaarb: device changed decodes: PCI:0000:01:01.0,olddecodes=io+mem,decodes=none:owns=io+mem
    [ 8.569407] NVRM: loading NVIDIA UNIX x86 Kernel Module 173.14.30 Thu Apr 14 08:47:14 PDT 2011
    [ 9.104388] scsi 4:0:0:0: Direct-Access WD Ext HDD 1021 2002 PQ: 0 ANSI: 4
    [ 9.104713] sd 4:0:0:0: Attached scsi generic sg2 type 0
    [ 9.105502] sd 4:0:0:0: [sdb] 2930272256 512-byte logical blocks: (1.50 TB/1.36 TiB)
    [ 9.106381] sd 4:0:0:0: [sdb] Test WP failed, assume Write Enabled
    [ 9.106386] sd 4:0:0:0: [sdb] Assuming drive cache: write through
    [ 9.108519] sd 4:0:0:0: [sdb] Test WP failed, assume Write Enabled
    [ 9.108524] sd 4:0:0:0: [sdb] Assuming drive cache: write through
    [ 9.129321] sdb: sdb1 sdb2 sdb3 sdb4
    [ 9.131752] sd 4:0:0:0: [sdb] Test WP failed, assume Write Enabled
    [ 9.131758] sd 4:0:0:0: [sdb] Assuming drive cache: write through
    [ 9.131762] sd 4:0:0:0: [sdb] Attached SCSI disk
    [ 10.662601] EXT4-fs (sda3): re-mounted. Opts: (null)
    [ 11.097052] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
    [ 11.412380] Adding 2104508k swap on /dev/sda2. Priority:-1 extents:1 across:2104508k
    [ 14.876829] e100 0000:01:08.0: eth0: NIC Link is Up 100 Mbps Full Duplex
    [ 20.827578] NET: Registered protocol family 10
    [ 31.203380] eth0: no IPv6 routers present
    The curious thing is that everything works perfect in KDE, resp. tty7 ?!?

    what ever upgrade the software downloaded is the problem
    You didn't mention this in your first post. Any idea what it was? Backups?
    Besides that, this may be a fault in the video card, driver, or a screen fault.
    Courtesy of BDAqua (if possible):
    Take a screen shot & view that in Preview, move the Preview window around, if you see double lines it's a Video card/VRAM problem, if the lines do not move moving the pic around then it's the LCD or cable.

  • Monitoring Unix Processes - User defined Metrics

    Hello,
    I would like to setup a metric to alert if one specific unix process goes down.
    Could some one share the steps? Thanks.

    Dear Rob Zoeteweij,
    We are using resin web server. The resin server services(process) need to monitor.
    we used start and stop the service by folowing two commands.
    httpd.sh start -- starts
    httpd.sh stop -- stops the web server
    ===========================
    The details about resin server, please visit
    http://www.caucho.com/resin-3.0/install/httpd.xtp.
    Regards
    Ruhul

Maybe you are looking for

  • 'To turn on IR reception' option not showing up in security

    My remote for my iMac is not working. I originally thought it neeeded a new battery but that was not it. I had a power outage the other night and since then have been noticing the problem. The apple support says; 'To turn on IR reception: Open System

  • Multiple Libraries - One Preferences File

    Hi all, I would like to set up Multiple Libraries in iTunes to Sync one with ATV and stream the other to ATV when it is active. The problem I have is that iTunes has ONE preferences file independent to the library and in particular the "Shared Name"

  • How do i reinstall Osx on a used macbook if i've never purchased osx through the app store before?

    I recently bought a macbook off of craiglist. I wanted to erase the pervious user's data off of the machine. I followed steps from apple support and i eventually erased the startup disk and put one of my own in place. As I now know i went have to rei

  • Trouble with FormatPercent in SSRS

    Hi All, I am working on SSRS and I am having trouble with FormatPercent function.I have two columns which are units  and another column representing corresponding values.Units column contains %, kg  and so on. the row  containing % as unit should hav

  • How to keep info viewable?

    My son is working on his Eagle project and is trying to fill in a PDF file he downloaded on the internet. When he opened the file today, all the fields were blank.  Only after clicking on each box, can he see the information.  He would like all of th