Kill NT process

How can I get a handle to a NT process in my java application and then use that handle to kill the process.
Note..that i want handle to a process which has not been started from my java application .

Try posting this on the Native Methods forum. There are methods in the Win APIs that will allow you to get the handle of processes and kill them. There isn't any pure java way to do this.

Similar Messages

  • Why it is taking too much time to kill the process?

    Hi All,
    Today,one of my user ran the calc script and the process is taking too much time, then i kill the process. I am wondering about one thing here even it is taking too long to kill the process, generally it will not take more than 2 sec. I did this through EAS.
    After that I ran Maxl statement
    alter system kill request 552599515;
    there is no use at all.
    Please reply if you have any solutions to kill this process.
    Thanks in advance.
    Ram.

    Hi Ram,
    1. Firstly, How much time does your calculation scripts normally run.
    2. While it was running, you can go to the logs and monitor where exactly the script is taking time .
    3. Sometimes, it does take time to cancel a transaction ( as it might be in between).
    4. Maxl is always good to kill ,as you did . It should be succesful . Check the logs what it says ,and also the "sessions" which might say "terminating" and finish it off.
    5. If nothing works ,and in the worst case scenarion , if its taking time without doing anything. Then log off all the users and stop the databas and start it .
    6. Do log off all the users, so that you dont corrupt any filter related sec file.
    Be very careful , if its production ( and I assume you have latest backups)
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • My application while running in playback throws fault error report and it needs to be closed programmatically by killing the process.

    My application throws some fault error report and pops up a screen needing user response.
    I would like to kill that process once it is thrown. Is there a way I can do it programmatically
    this issue happens in the middle of start() and close() method

    Hi,
    Based on your description, I think that your issue and requirement is more related to programming rather than Visual Studio tests.
    Test Tools in Visual Studio 2010 and 2012 forum is used to resolve and discuss VS testing issues. I am afraid that your issue is out of the support range of this forum. I suggest consulting this issue on some development forums based on the
    type of your application.
    If you are working with Windows Forms app. please consult on Windows Forms Forum:http://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsforms
    If you are working with WPF app, please consult on WPF forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf
    If you are working with ASP.NET Web Application, I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/
     for better solution and support.
    Visual Studio Language Forums also may help you:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=vslanguages
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • [BPM] Screenflow and Killing Interactive Process Questions

    Hi Guys,
    I have the following questions:
    1. How to kill an interactive activity? I tried to kill a process in an interactive activity via PAPI but it throws an exception:
    samplePAPI.activityAbort(target.getActivityName(), target.getId());
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    faultSubcode:
    faultString: Operation exception.
    faultActor:
    faultNode:
    faultDetail:
         {http://bea.com/albpm/PapiWebService}OperationException:<message>Operation exception.</message>
    Operation exception.
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    2. How to close a custom JSP in a screenflow through javascript. I have a cancel button which once clicked it will close the window.
    I hope someone can help me out with this.
    Regards,

    Hi,
    Sory, but I'm still not sure, how ADF comunicates with BPM (I know that it uses EJB services and hwtaskflow.xml). But a still don't have an answers for follwowing questions:
    1) I know ADF quite good. Having method in data controls (in our case getTaskDetails()) we need to invoke it somehow. I don't see anywher invokation of this method.
    2) In generated task flow there is some managed beans and params - what is role of them ? Having over 50 task flows , do I need it in all of them. Where can I find description of those beans and params
    3) In our approach we use BPM , ADF RC for UI and Business Components to persist data into database. Only data from payload we need is ID of master-level row. My question is - do I have to generate data controls for all human task ?. In my my opinion it should be only one communication point between BPM and ADF but not the same for all pair human task --> task flow.
    All infomation I need from BPM is:
    - task ID
    - task flow name (to open apriopriate tab in my application)
    - available outcomes
    - to know is BPM operation is enabled
    Kuba

  • Killing a  process

    hi  friends
    what is  the  necessity to  kill a  process that  running  in  the background .
    and  what  is  the procedure  to  kill a  job/process.
    what  is  the difference btn killing a job   and  process.
    thanks in  advance
    venkat

    hi venkat,
    First identify what job you want to Kill.....
    you can direclty stop a running job in SM37. Sometimes it doesnt stop even if u stop here. Then u need to knw which app server its running and the number of the work process. Note this and goto SM51 and select your app server and work process and stop it without a core. this will kill the job for sure.. even if not( sometimes it doesnt reflects in sm37), check the status of the job, it will definitely make the job stop.
    Usually SM37 is restricted to BASIS ... you can use SM38 instead - choose your app server and identify your job. The cilck on the job and press the stop button at the top and then the job will get cancelled..
    How to kill a Data Load in BW
    hope it helps,
    partha

  • Urgent need to kill a process

    Hi,
    I have loaded the data through DTP to DSO. The load was successful and the activation was taking long time so i cancelled it manually. went to sm50 server and pid and cancelled without core and with core also
    Job log is
    Job started
    Step 001 started (program RSODSACT1, variant &0000000000041, user ID   .....
    Activation is running: Data target USR_LOGN, from 974 to 974
    Overlapping check with archived data areas for InfoProvider USR_LOGN
    Data to be activated successfully checked against archiving objects
    Status transition 2 / 2 to 7 / 7 completed successfully
    Job was mannually set to cancelled
    NOw when i am tryig to delete the req itsnot the deletion job is gng to released state and is not getting to active state for somany times. checked no locks for the DSO and a job for the same rpocess id isrunning
    I am unable to kill a job in the sm37 is there any way through which i can kill that process. I tried sm66 and sm51 many times but no use
    its urgent please
    K Janardhan KUmar
    Job status was manually set to 'cancelled'
    Message was edited by: Janardhan
            Janardhan Karmala

    Hi,
    you said job is in release state. follow the below steps:
    1.  Select the job in sm37.
    2. Go to change mode.
    3.  change the priority to A.
    4.  Click on schedule and schedule it immediately.
    your deletion job will start immediately and after deletion you can start your activation again.
    Let me know if it helps?
    Mayank

  • Inserting a Recordset Kills PHP Processing

    In Dreamweaver 11.0 (CS5) on both MAMP and a live server, I am experiencing a puzzling issue.
    Inserting any Recordset kills PHP processing.  For example, this document works perfectly:
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Untitled Document</title>
    </head>
    <body><?php echo “Hello, world.” ?><?php phpinfo() ?></body>
    </html>
    As soon as I add any Recordset to the page, those two php statements simply stop working. In fact, the Recordsets return no data on the page. After I delete the Recordset code that Dreamweaver had inserted, and restore the page, php statements magically begin working again!
    (During the creation of the Recordset, the Test button confirms all columns are present, and the two rows are fine.)
    Any clue to what’s going on?

    I've solved part of this issue. It turns out that Dreamweaver copies to the testing server all new files and changes to files EXCEPT... the Connections folder it creates and that folder's contents. The user needs to do that manually.
    However, after I copied the Connections folder, Dreamweaver refuses to Insert any Data Object.
    For example, it won't insert a Repeat Region or a Dynamic Table. When I select
    Insert->Data Objects->Dynamic Data->Dynamic Table
    Dreamweaver returns this error:
    While executing insertObject in DynamicTable.htm, a JavaScript error occurred.
    Ditto the Repeat Region.

  • Killing child process, not just the shell

    Killing child process, not just the shell
    #241 - 07/11/03 11:30 AM
    Edit post Edit Reply to this post Reply Reply to this post Quote
    Hi,
    I am working on a system for automatically testing student submissions on an introductory course about unix scripting. The program works by running a test script on a student submission, using Runtime.getRuntime().exec(). The Process object has a limited life span of 10 seconds (by default), and if it is still running after these 10 seconds, Process.destroy() is used to kill it.
    A bug exists when one of the submissions being tested times out. When the destroy() method is used it leaves a child process running... since students can also run
    some tests from the file submission client, the number of hanging processes soon adds up as they test and test again to get it right before submission. Eventually this results in too many processes and the server keels over.
    Does anyone have any ideas on killing these hanging processes?

    Not much help, but I think this is a known bug ...
    http://developer.java.sun.com/developer/bugParade/bugs/4770092.html

  • Can't kill hung process in Leopard

    I am having very annoying issue with Leopard. Time to time some applications get stuck and I can't kill them using "force quit" or command line "kill -9". Most of the times when this happens, I can't log out and start new applications. I cannot even restart the computer cleanly as it cannot log me out cleanly (BTW, is there a force log out or force restart?) Once this happens everything goes downhill and eventually I have to do hard reboot by pressing power off key in the back. That creates another problem. I have a USB external disk that I use as time machine backup. After I do hard reboot and machine boot up, finder thinks that index on the external disk is not up to date and starts indexing it from scratch and takes 2-3 hours. Also, when it starts building index, it spends good 5 minutes or so trying to estimate the index building time. During that time, I cannot search anything on the machine.
    I called Apple support twice. First they asked me to do "archive and install". I did that but problems still continued. After that they said do "disk check" and "disk permissions check". "Disk check" didn't show any problem. "Disk permissions check" found many files with permissions problem and they were all fixed. Even after that the problem continues.
    I have 4 users on the machine. I am the administrator. Others are limited accounts. I have noticed hang problem with all accounts. On my account it occurs with many processes like Safari, imovie, iPhoto, and even finder. On other accounts I have seen it mostly with Safari. I saw the problem with Safari on other accounts even with Tiger. On other accounts though I am able to kill the application using "force quit" but not on my account.
    I think the root cause of all of these is Leopard's inability to force-kill a process. I have a hunch that this happens (not able to kill app in my account) with processes that deal with devices. For example, Iphoto deals with external memory card, Imovie deals with external digital camcorders and so on.
    I have an open case with Apple support. I want to see if others are running into same issue.

    I was having these very same issues.
    I wiped the drive with zeroes and tried to reinstall Leopard from scratch. Install failed. Checked the install DVD, it passed its own test. Verified the hard drive, fine.
    Reinstalled Tiger. Everything fine. Tried to upgrade to Leopard, install DVD was again failng.
    I did some research.
    *It turns out that Leopard on PPC Macs will freak out on many types of third party RAM.*
    I removed the aftermarket stick of RAM and Leopard installed just fine and ran fine. No more problems. I put the RAM back in, problems returned.
    There you have it. Tiger was fine with the memory, Leopard isn't. And this is for some reason a PPC-specific issue.
    Search for:
    "The installer could not validate the contents of the ‘base system’ package. Contact software manufacturer for assistance."
    Here are two to get you started:
    http://forums.macrumors.com/showthread.php?t=374917&page=2
    http://www.mobrec.com/2007/10/27/leopard-is-damage-if-you-are-on-powerpc-do-not- install/
    The key is in realizing that both sets of symptoms occur for some people because they're 'lucky' to get Leopard installed in the first place. If you wipe and install, you get to witness all the behaviors under a controlled experiment (memory in vs out).

  • How to kill a process chain in an intermediate step...?

    How to kill a process chain in an intermediate step...?
    I have tried doing it using SM37... but still the chain is hanging....
    Please help ASAP...
    Regards
    Sneha

    Hi Sneha,
    If its a loading process then:
    1. Go to monitor & make its overall status RED.
    2. Go to the target & make the QM status RED.
    3. Since its loading data to BW, its R/3 will be active even if you make any status RED in BW.
    4. Cancel its corresponding R/3 job. U'll get its R/3 job from monitor>Header tab>Job name. Copy that job name& go to R/3 side>sm37>in Job name add B*followed by the job name copied & then delete the Active job.
    Once this is done then your loading process will anyhow stop further stopping the Process chian.
    If your job is other than loading, then simply go to that process chain & remove the link between the active process nad the next process after cancelling the active job (as mentioned in the various replies for your question).
    Give some time to update the staus of that cancelled job in Db, because even if you cancel any active job, it requires some time to refresh it updated status. Once it is cancelled you can rejoin the link between the proceses and reactivate & schedule your process chain.
    hope it'll help

  • How to kill the process chain

    hi,
        I have question how to kill the process chain during running.
    thank you.

    Hi
    If the process chain is running in background,
    goto <b>SM37</b>
    Give * in the jobname
    Give the username who scheduled the process chain
    Job status - check the check boxes - SCHED, relased, ready, active
    click <b>execute</b>.
    It displays all the process chains that, scheduled & running.
    You can select the process chain that need to be stopped & click STOP active job or ctrl+F1.
    Hope this helps!
    Kindly award points for all useful answers.
    If you post the BW related queries in the <b>BI general</b> forum, you will get more answers.
    Best regards,
    Thangesh

  • A web site I used to visit daily, but haven't for a while, causes Firefox to go off in la-la land. I have to kill the process with the task manager.

    The web site in question is for our local newspaper. The problem occurs when I am returning from a discussion thread (by Disqus) to the article it's attached to. Also when I attempt to return to the home page from an article. Sometimes just letting it sit for a while will produce the problem. At that point I cannot open a new tab, switch to another open tab, close tabs, click on any menu bar items or close the app. The tab I was in shows the spinning wheel and says connecting. I must use Task Manager to kill the process. I tried installing version 31.0 with no result.

    Application Basics
    Name: Firefox
    Version: 31.0
    User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
    Crash Reports for the Last 3 Days
    All Crash Reports
    Extensions
    Name: Adblock Plus
    Version: 2.6.4
    Enabled: true
    ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
    Name: Adblock Plus Pop-up Addon
    Version: 0.9.2
    Enabled: true
    ID: [email protected]
    Name: Flashblock
    Version: 1.5.17
    Enabled: true
    ID: {3d7eb24f-2740-49df-8937-200b1cc08f8a}
    Name: Image and Flash Blocker
    Version: 0.7
    Enabled: true
    ID: [email protected]
    Name: Webroot Filtering Extension
    Version: 1.0.0.40
    Enabled: true
    ID: [email protected]
    Name: Consumer Input
    Version: 9948
    Enabled: false
    ID: ConsumerInput@Compete
    Name: TopArcadeHits
    Version: 1.0
    Enabled: false
    ID: {0113D088-8ED1-468C-B225-585A9C53B5E3}
    Graphics
    Adapter Description: Intel(R) G33/G31 Express Chipset Family
    Adapter Drivers: igdumd64 igdumdx32
    Adapter RAM: Unknown
    Device ID: 0x29c2
    Direct2D Enabled: Blocked for your graphics driver version. Try updating your graphics driver to version 8.1500.1000.1930 or newer.
    DirectWrite Enabled: false (6.2.9200.16571)
    Driver Date: 9-11-2009
    Driver Version: 8.15.10.1912
    GPU #2 Active: false
    GPU Accelerated Windows: 0/1 Basic
    Vendor ID: 0x8086
    WebGL Renderer: Google Inc. -- ANGLE (Intel(R) G33/G31 Express Chipset Family Direct3D9Ex vs_0_0 ps_2_0)
    windowLayerManagerRemote: false
    AzureCanvasBackend: skia
    AzureContentBackend: cairo
    AzureFallbackCanvasBackend: cairo
    AzureSkiaAccelerated: 0
    Important Modified Preferences
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size_cached_value: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    browser.cache.frecency_experiment: 3
    browser.places.smartBookmarksVersion: 7
    browser.sessionstore.upgradeBackup.latestBuildID: 20140716183446
    browser.startup.homepage: http://search.conduit.com/?ctid=CT3310511&octid=CT3310511&SearchSource=61&CUI=UN32943663548444182&UM=2&UP=SPB3F4BFFF-D3A
    browser.startup.homepage_override.buildID: 20140716183446
    browser.startup.homepage_override.mstone: 31.0
    dom.mozApps.used: true
    extensions.lastAppVersion: 31.0
    font.internaluseonly.changed: true
    network.cookie.prefsMigrated: true
    places.database.lastMaintenance: 1408714969
    places.history.expiration.transient_current_max_pages: 104858
    plugin.disable_full_page_plugin_for_types: application/pdf
    plugin.importedState: true
    plugin.state.npqtplugin: 2
    print.printer_EPSON_NX420_Series.print_bgcolor: false
    print.printer_EPSON_NX420_Series.print_bgimages: false
    print.printer_EPSON_NX420_Series.print_colorspace:
    print.printer_EPSON_NX420_Series.print_command:
    print.printer_EPSON_NX420_Series.print_downloadfonts: false
    print.printer_EPSON_NX420_Series.print_duplex: 185
    print.printer_EPSON_NX420_Series.print_edge_bottom: 0
    print.printer_EPSON_NX420_Series.print_edge_left: 0
    print.printer_EPSON_NX420_Series.print_edge_right: 0
    print.printer_EPSON_NX420_Series.print_edge_top: 0
    print.printer_EPSON_NX420_Series.print_evenpages: true
    print.printer_EPSON_NX420_Series.print_footercenter:
    print.printer_EPSON_NX420_Series.print_footerleft: &PT
    print.printer_EPSON_NX420_Series.print_footerright: &D
    print.printer_EPSON_NX420_Series.print_headercenter:
    print.printer_EPSON_NX420_Series.print_headerleft: &T
    print.printer_EPSON_NX420_Series.print_headerright: &U
    print.printer_EPSON_NX420_Series.print_in_color: true
    print.printer_EPSON_NX420_Series.print_margin_bottom: 0.5
    print.printer_EPSON_NX420_Series.print_margin_left: 0.5
    print.printer_EPSON_NX420_Series.print_margin_right: 0.5
    print.printer_EPSON_NX420_Series.print_margin_top: 0.5
    print.printer_EPSON_NX420_Series.print_oddpages: true
    print.printer_EPSON_NX420_Series.print_orientation: 0
    print.printer_EPSON_NX420_Series.print_page_delay: 50
    print.printer_EPSON_NX420_Series.print_paper_data: 1
    print.printer_EPSON_NX420_Series.print_paper_height: 11.00
    print.printer_EPSON_NX420_Series.print_paper_name:
    print.printer_EPSON_NX420_Series.print_paper_size_type: 0
    print.printer_EPSON_NX420_Series.print_paper_size_unit: 0
    print.printer_EPSON_NX420_Series.print_paper_width: 8.50
    print.printer_EPSON_NX420_Series.print_plex_name:
    print.printer_EPSON_NX420_Series.print_resolution: 0
    print.printer_EPSON_NX420_Series.print_resolution_name:
    print.printer_EPSON_NX420_Series.print_reversed: false
    print.printer_EPSON_NX420_Series.print_scaling: 1.00
    print.printer_EPSON_NX420_Series.print_shrink_to_fit: true
    print.printer_EPSON_NX420_Series.print_to_file: false
    print.printer_EPSON_NX420_Series.print_unwriteable_margin_bottom: 0
    print.printer_EPSON_NX420_Series.print_unwriteable_margin_left: 0
    print.printer_EPSON_NX420_Series.print_unwriteable_margin_right: 0
    print.printer_EPSON_NX420_Series.print_unwriteable_margin_top: 0
    privacy.sanitize.migrateFx3Prefs: true
    privacy.sanitize.timeSpan: 4
    storage.vacuum.last.index: 1
    storage.vacuum.last.places.sqlite: 1406752907
    JavaScript
    Incremental GC: true
    Accessibility
    Activated: true
    Prevent Accessibility: 0
    Library Versions
    NSPR
    Expected minimum version: 4.10.6
    Version in use: 4.10.6
    NSS
    Expected minimum version: 3.16.2 Basic ECC
    Version in use: 3.16.2 Basic ECC
    NSSSMIME
    Expected minimum version: 3.16.2 Basic ECC
    Version in use: 3.16.2 Basic ECC
    NSSSSL
    Expected minimum version: 3.16.2 Basic ECC
    Version in use: 3.16.2 Basic ECC
    NSSUTIL
    Expected minimum version: 3.16.2
    Version in use: 3.16.2
    Experimental Features
    ---------------------

  • Isolating and Killing Runaway Processes

    How does one go about isolating and kiling a runaway PL/SQL process? I decided that it would be fun to call a
    procedure within a package that had an improperly coded loop, coded by yours truly. I called they package and
    then noticed that it seemed to be taking too long. Upon reviewing the code, I noticed that I my program was
    now stuck in an infinite loop. Since this process had run off on its own, I tried to complie it to fix the problem and
    much to my dismay I could not even complie the code, even though I was able to read the source to my screen.
    Where can one look to gleen some information as to how to kill the instance of the demon child without having to do
    what my DBA did and restart out database instance? Any v$ views etc?

    If you are in sqlplus when it locks up, you can simply enter <control> c
    that should kill the process. If you close your sqlplus session in any other way than standard exit procedures, depending on your setup, you either wait for pmon to find the defunct process or the administrator has to kill it for you.

  • XServe and 10.5 won't boot..."syncing disks killing all processes"

    Hey Everybody,
    Have an Xserve Intel Quad-Core Xenon 2.8 GHz, 80gb, 2 Gb RAM. 10.5 Server.
    2 Gb of RAM has been anemic. The server runs a few Cold Fusion Web Sites, DNS, OD, FTP, AFP, and Mail Services. Our mail is not light duty as we send out almost daily 70,000 e-mails to our customers.
    Last week I added 2 x 4gb DIMM to bring up the RAM to 10 Gb. I added the RAM to slots 3 & 4. Saw great improvement right away. The night after, I noticed the server rebooted during the night. (Didn't look into why )
    Well, I came in this morning and was checking up on the server (via ARD) and couldn't connect. Went to the server room and saw the machine was off. Not good. I restarted it and went back to my office. Checked again on ARD, and still wasn't available. Went back to server, rebooted in verbose mode (after booting with a monitor and seeing the screen show the apple with the spinning gear) and It's hanging then shutting down within three minutes of boot.
    Attached is a pic of what is shown, at around 3 minutes from boot the screen will then say "syncing disks killing all processes" and the server shuts down.
    I've googled all morning and have tried various methods to boot to no avail.
    I removed the RAM that I added and the problem persists. I also removed the drive sled and reinserted it into the xserve and also tried bay 2.
    Other things...
    Yesterday added two more web sites and the DNS for it in Server Admin.
    Any suggestions? Bad drive?
    Shaun

    OK, having exactly same issue - but on a much older and much less duty machine. Dual G4 1Ghz running 10.5 Server. Noticed that I could not connect via ARD and did hard shutdown, notice identifier light was on as well. The system did reboot as I could get my mail, but when I connected a monitor to it all I had was gray screen.
    Did another hard shutdown after pressing IL and not just gets to logo and spinning wheel for a short while and shuts down.
    It has been up and running flawlessly for long time prior to this.
    My name is Sean too, maybe that is the issue...

  • How to kill these processes?

    I want to see if port 11162 is in use or not so I issued the below command
    netstat -a | grep 11162
    and this is what I got back
    hostname.11162 hostname.50916 49152 0 49152 0 CLOSE_WAIT
    *.11162 *.* 0 0 49152 0 LISTEN
    hostname.11162 hostname.50291 49152 0 49152 0 CLOSE_WAIT
    hostname.11162 hostname.51288 49152 0 49152 0 CLOSE_WAIT
    I have 2 questions
    1) What is the meaning of CLOSE_WAIT?
    2) How do I kill all processes that use this port 11162 currently? I tried these commands kill 50916, kill 50291, kill 51288 but it said No such process. Basically I want to kill all processes that use this port 11162 currently.
    Thanks

    Andrew2008 wrote:
    I have 2 questions
    1) What is the meaning of CLOSE_WAIT?From 'netstat':
    CLOSE_WAIT
    Remote shutdown; waiting for the socket to close.
    This means that the remote side sent us a shutdown packet. The OS told the application that it received the shutdown, and it's waiting for the application to close the socket. It will remain in that state until the socket is closed or until the process exits.
    2) How do I kill all processes that use this port 11162 currently? I tried these commands kill 50916, kill 50291, kill 51288 but it said No such process. Basically I want to kill all processes that use this port 11162 currently.Those numbers are the port numbers on the other end of the connection. They are not PIDs.
    You would need to either install 'lsof' and ask it which processes are using the port (lsof -i :11162), or you need to run 'pfiles' on all the system processes and see which ones report having port 11162 open. I'm sure there's some simple scripts that automate the second task.
    Darren

Maybe you are looking for