How to check hanged process in solaris

Hi every one ...
I have a 10 processes running in my server .. suddenly on process got hanged ..
How can i check the hanged process...is there any specific command or ehat does the notation it shows in prstat command
Thanks in Advance

First, if the process is not showing 0% CPU utilization in prstat, it's not hung, although it may be stuck in an infinite loop. That's actually a significant difference, as an infinite loop is a logic error, whereas getting stuck could be a failure of some type.
To see if it's really hung, you can use the "truss" or "pstack" commands:
truss -p PID &or
pstack PID &where PID is the process ID of the process you want to check. Note the ampersand to background the process. That's because if the process is indeed stuck in an unkillable wait for a kernel lock, your truss or pstack process will also be stuck and unkillable.
The pstack call should just run and return. It will show the current call stack for all threads in the process. Run it several times and see if it changes. The truss call will run as long as the target process is running, and it will show all system calls made by the process. If it doesn't output anything at all the process is running in user space and should still be getting CPU time, or it's stuck.

Similar Messages

  • How to check the processed data for archieved messages in sap pi

    Dear all,
    1. which tables in sap pi stores the data processed in PI
    2. where will we find the archived messages (DATA but not LOGS)
    3. As table size increases rapidl, how to schedule a background job to delete the table entries which were older than 30 days
    Regards
    Sushant

    Dear Sushanth,
    Welcome to scn,
    For all your query, check "SARA" tcode for answer. In standard, We have pre defined archiving objects (Usually names starts inital 2 letters of module and main table or process like PR_Order).
    There are different tabs available (check screen below) in SARA, Explore each for more information.
    For tables/object identification - use "Database tables" Tab (tcode DB15).
    For Archived data, check "Spool" (green icon beside logs)
    There is option to schedule tasks in Preproc, Write and Delete tabs.
    Hope it helps.
    reg,
    Bhg

  • How to check java instance in solaris

    Dear All,
    I am running one java client application in solaris machine.
    Now my query is that if my application is already running ,how can i check that instance that whether that application is already running on machine or now so that i can restrict the operator to run multiple java application.
    Waiting for your reply
    Gaurav

    Open a ServerSocket with a fixed port number.

  • Hanging process in Solaris

    Hi,
    I have a process which is expected to go on for hours , creating shared memory etc.
    I would like to know what is the most reliable method to check whether this process
    is hanging or not. What are the commands that can be used and what are the
    fields I should look for in the output of such commands.
    thanks

    In this situation, the best debug tool is to use the
    truss command.
    If the process performs system calls or causes "machine
    faults" (truss -m). If it performs some lengthy
    calculations you might not see system call / fault
    activity for quite some time.
    "prstat" (or "top") and "pstack" can be usefull in such a
    situation...

  • How check Integration process

    Hi friends
        I have scenario like when ever maintenance order is created and released an event will trigger function module to post the details to PI to start the Integration Process.
    We created Maintenance order in IW31 and released from IW32.
    after this i am not able to find messages in SXMB_MONI and I am not able to see in SXMB_MONI_BPE
    how to check Integration Process working or not. Please guide me

    Hi
    you need to put breaakpoint in your FM to see if FM is being triggered and the value are getting inserted into the tables/structure of FM

  • How to know which process is consuming high percentage of cpu?

    Hi,
    How to check which process is consuming high percentage of cpu ?
    how to know the cpu time is atleast 80% of the elapsed time and how to know which code the process is running?
    I know we can check high performance cpu can be find by TOP command
    but i dont know on solaris?
    please help me on this?

    One way is to use my Snapper script for getting the breakdown ( see http://blog.tanelpoder.com/2007/12/06/oracle-session-snapper-v106-released/ for more info ).
    An example snapshot (taken over 60 second period) is below:
    SQL> @snapper out,gather=tw 60 1 "select sid from v$session where type = 'USER'"
    -- Session Snapper v1.07 by Tanel Poder ( http://www.tanelpoder.com )
    HEAD, SID, SNAPSHOT START , SECONDS, TYPE, STATISTIC , DELTA, DELTA/SEC, HDELTA, HDELTA/SEC
    DATA, 2, 20080710 11:39:18, 61, TIME, repeated bind elapsed time , 1314, 22, 1.31ms, 21.54us
    DATA, 2, 20080710 11:39:18, 61, TIME, parse time elapsed , 21518, 353, 21.52ms, 352.75us
    DATA, 2, 20080710 11:39:18, 61, TIME, PL/SQL execution elapsed time , 809888, 13277, 809.89ms, 13.28ms
    DATA, 2, 20080710 11:39:18, 61, TIME, DB CPU , 11204956, 183688, 11.2s, 183.69ms
    DATA, 2, 20080710 11:39:18, 61, TIME, sql execute elapsed time , 12441308, 203956, 12.44s, 203.96ms
    DATA, 2, 20080710 11:39:18, 61, TIME, DB time , 13825800, 226652, 13.83s, 226.65ms
    DATA, 2, 20080710 11:39:18, 61, WAIT, read by other session , 4432, 73, 4.43ms, 72.66us
    DATA, 2, 20080710 11:39:18, 61, WAIT, log file sync , 1215135, 19920, 1.22s, 19.92ms
    DATA, 2, 20080710 11:39:18, 61, WAIT, db file sequential read , 1458168, 23904, 1.46s, 23.9ms
    DATA, 2, 20080710 11:39:18, 61, WAIT, enq: TX - row lock contention , 11600, 190, 11.6ms, 190.16us
    DATA, 2, 20080710 11:39:18, 61, WAIT, row cache lock , 420, 7, 420us, 6.89us
    DATA, 2, 20080710 11:39:18, 61, WAIT, SQL*Net message to client , 1842, 30, 1.84ms, 30.2us
    DATA, 2, 20080710 11:39:18, 61, WAIT, SQL*Net message from client , 9490531, 155582, 9.49s, 155.58ms
    DATA, 2, 20080710 11:39:18, 61, WAIT, PL/SQL lock timer , 35759582, 586223, 35.76s, 586.22ms
    DATA, 2, 20080710 11:39:18, 61, WAIT, events in waitclass Other , 302, 5, 302us, 4.95us
    DATA, 20, 20080710 11:39:18, 61, TIME, repeated bind elapsed time , 1332, 22, 1.33ms, 21.84us
    DATA, 20, 20080710 11:39:18, 61, TIME, parse time elapsed , 21439, 351, 21.44ms, 351.46us
    DATA, 20, 20080710 11:39:18, 61, TIME, PL/SQL execution elapsed time , 799773, 13111, 799.77ms, 13.11ms
    DATA, 20, 20080710 11:39:18, 61, TIME, DB CPU , 11303744, 185307, 11.3s, 185.31ms
    DATA, 20, 20080710 11:39:18, 61, TIME, sql execute elapsed time , 12404247, 203348, 12.4s, 203.35ms
    DATA, 20, 20080710 11:39:18, 61, TIME, DB time , 13792389, 226105, 13.79s, 226.1ms
    DATA, 20, 20080710 11:39:18, 61, TIME, sequence load elapsed time , 752, 12, 752us, 12.33us
    DATA, 20, 20080710 11:39:18, 61, WAIT, log file sync , 1228759, 20144, 1.23s, 20.14ms
    DATA, 20, 20080710 11:39:18, 61, WAIT, db file sequential read , 1339772, 21963, 1.34s, 21.96ms
    DATA, 20, 20080710 11:39:18, 61, WAIT, row cache lock , 395, 6, 395us, 6.48us
    DATA, 20, 20080710 11:39:18, 61, WAIT, SQL*Net message to client , 1901, 31, 1.9ms, 31.16us
    DATA, 20, 20080710 11:39:18, 61, WAIT, SQL*Net message from client , 9496607, 155682, 9.5s, 155.68ms
    DATA, 20, 20080710 11:39:18, 61, WAIT, PL/SQL lock timer , 35786481, 586664, 35.79s, 586.66ms
    DATA, 20, 20080710 11:39:18, 61, WAIT, events in waitclass Other , 96, 2, 96us, 1.57us
    Tanel Poder
    http://blog.tanelpoder.com

  • How to check for bootblk on Disk

    Does someone know how to check for bootblk on solaris disk.

    If your system is booting then u can say that your bootblks are installed.Usually BootBlks are present in 0 & 1 slice of UFS Filesystem
    /usr/platform/platform-name/lib/fs/ufs
    directory where ufs boot objects reside.
    An x86 FDISK partition for the Solaris software begins with a one-cylinder boot slice, which contains the partition boot program (pboot) in the first sector, the standard Solaris disk label and volume table of contents (VTOC) in the second and third sectors, and the bootblk program in the fourth and subsequent sectors. When the FDISK partition for the Solaris software is the active partition, the master boot program (mboot) reads the partition boot program in the first sector into memory and jumps to it. It in turn reads the bootblk program into memory and jumps to it. Regardless of the type of the active partition, if the drive contains multiple FDISK partitions, the user is given the opportunity to reboot another partition.

  • Check Business Processes In/Out

    Hi Experts
    I want to know how to Check Business Processes In/Out.
    REgards
    Nitin

    Hi Nitin,
    You can only check documents in and out using the button in the documentation tabs.
    However, the closest answer to your requirement is to put the business process folder in and out of scope.
    Use SOLAR01 transaction and ensure your project structure is not locked. In change mode you can use the tick box against the folder nodes to put the process in and out of scope.
    If it is ticked, it will be visible in SOLAR02, if not then it won't be available and you can modify it.
    Regards,
    -Rohan

  • How to check number of rows processed in a package

    i have a pakage wid at least 11 procedures which runs on running a report now user run the report and he told me that records are not fully processed records are less so how to check how many records are processed so i can conform the data
    its urgent plzz any suggestion
    thanks a lot

    And here's some hints for you posting on the forum...
    a) do not post in UPPER CASE unless you are highlighting a word or two. Typing everything in UPPER CASE, is considered shouting and is not polite.
    b) do not say that your requirement is "urgent". Everyone here is a volunteer with their own jobs to do and your requirement is not "urgent" to them. Suggesting they drop everything to help you is poor netiquete and, again, quite rude. It also presumes that your issue is somehow more important than other people who have posted asking for assistance. Sure, everyone else would like their question answering as soon as possible, but they aren't so rude as to demand urgent attention, so neither should you.
    c) Always tell us your database version. The answers you are given may vary depending on the capabilities of the database version you are using and if you don't specify a version, people will have to assume you are using the latest supported versions and the answers may not work for you if you have a less capable version, even if those answers are technically correct.
    d) Always try and give an example of what you mean. Provide sample tables (create table statements) and sample data (insert statements), with example code or queries that you've tried (where relevant), showing what you expect to get as output and explaining any logic that is to get from the source to the output.
    e) Post any code or data inside {noformat}{noformat} tags so that it retains formatting on the forum.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to check which version of hyperic is installed , hyperic 32 bit or 64 bit version on solaris

    how to check which version of hyperic is installed , hyperic 32 bit or 64 bit version on solaris

    If you have only a single home, the quickest/easiest way is probably just to check the properties of %ORACLE_HOME%\odp.net\bin\2.x\oracle.dataacess.dll
    Or are you asking how to check it at runtime?
    If you want to see externally what is actually loaded by an app you can use process explorer
    http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
    If you want to check it in the app itself:
    http://stackoverflow.com/questions/383686/how-do-you-loop-through-currently-loaded-assemblies
    Hope it helps,
    Greg

  • How to check if my solaris 10 os is up to date?

    how to check if my solaris 10 os is up to date?

    Current Kernel Patch can be displayed using
    -bash-3.2$ uname -a
    SunOS g0043 5.10 Generic_150400-13 sun4v sparc sun4v
    Solaris 10 Update 11 Kernel Patches are 150400-1 till -22
    150400-22 was released a few days ago
    Best regards,
    Marcel

  • How to check no. of NIC cards which are available in Solaris 9 server.

    How to check no. of NIC cards which are available in Solaris 9 server.
    Regards,
    Dinesh.

    Hi
    For list network cards that was sometime registered in system:
    grep network /etc/path_to_inst | awk ' { print substr($3,2,length($3) -2 ) $2 } '
    ifconfig -a show all network interfaces that curently configured
    For check that interface that was listen at first comand available or not: Try
    ifconfg <interface_name> plumb
    ifconfg <interface_name> unplumb
    Do not touch already configured interface or lost network connection.
    Regards.

  • How to check SQL activity in OWB Process flow

    Hi,
    In OWB process flow,I need to check SQL activity. How to check that? I am using OWB 11g R2.
    Regards,
    Rashmik

    Gowtham,
    Well the following hint is provided by oracle warehouse builder help.........
    The time-out setting for the workflow engine determines how long the File Exist activity waits for a file. If the file does not arrive before the time-out setting expires, the File Exists activity terminates with errors.
    well someone with deep workflow knowledge can answer this one...
    If you get the answer please share with us.....
    Regards,
    Suraj.

  • How to check the missing process

    Hi,
    That I have FILE adapter to parsing the file. and after process, the file will be moved to archive folder.
    now we found if there are many files be process @same time, the file did move to archive folder. but BPEL didn't trigger the instance. so looks like the process didn't completed.
    I did check the server log - domains.log cannot find any error.
    Could someone advise me how to check this?

    Hi,
    While configuring file adapter for read, increase the Minimum File Age.
    Also you can Manually recover your files, of which instances were not created, from BPEL Console.
    Login to console->BPEL process tab->Perform Manual recovery.
    Cheers,
    Abhi...

  • How to check Solaris update version

    Hi,
    How to check which update version is on Solaris 10?
    I have Solaris 10 update 4 installed on SPARC and I want to make sure that it is update 4.
    The output from uname command:
    bash-3.00# uname -a
    SunOS sun3 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-V245
    Does the number 118833-17 indicate that this is update 4?
    Kind regards,
    Daniel

    So how it is possible that I have downloaded from Sun download the file sol-10-u4-ga-sparc-dvd-iso-a.zip and sol-10-u4-ga-sparc-dvd-iso-b.zip. Burned and using JumpStart i have installed on the SPARC machine. And this is not Update 4?
    According to me it should be updated 4.

Maybe you are looking for

  • Node text not found in Settings for BI Content

    Hi gurus, We have installed BI_CONT 704 SPS07 in a NW 7.01 system. In SPRO tx, all nodes for "Settings for BI Content" appears with the text "Node text not found". Could you help me, please? Best Regards

  • I accidently put my new ipod as my sisters in itunes

    I updated iTunes because it needed to in order to get my new ipod and then I accidently put it to sync all my sisters information and now it changed the whole layout of my ipod.

  • Is possible capture quotes stream from a running java application?

    Running from webstart the following jnlp code: <?xml version="1.0" encoding="utf-8"?><jnlp spec="1.0+" codebase="http://powertrade.intesatrade.it/T3"> <information> <title>IntesaTRADE T3 Demo</title> <vendor>IntesaTRADE</vendor> <description>IntesaTR

  • Newbie: Cisco 851w and nat

    Hello, I am a network administrator and recently decided to upgrade my existing network infrastucture at my small office by purchasing a Cisco 851w router. I have 14 computers that need internet connection sharing and an Ubuntu 6.06 box running e-mai

  • Scrolling table mouse wheel

    My UI contains a table that is initially empty.  When the app is launched I can mouse-over the table and use the mouse wheel to scroll through the (empty) table, but after the table is filled with values this functionality stops.  I can only scroll w