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
Similar Messages
-
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
SnehaHi 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 -
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 -
How to kill VPN processes in background
I've tried logging in as root, and
kill -9
these process ID's found in Terminal with
ps -ax
screenshot here - http://screencast.com/t/FvKyLJIiS
But they just won't die.
Anyone have any ideas?
Thanks in advance,
Darren.Thanks Carolyn ;-)
I should have clarified - I'd already tried Activity Monitor - Quit & Force Quit.
Nothing happens - which is how I ended up trying to use Terminal as Root - and that didn't work either.
I really don't like this at all - it smacks of Spyware. I'm pretty sure they're not, as I've installed them myself.
But I don't like any program that stops me from selecting whether or not I want to run it on Login..... -
How to kill TP process at OS Level
Dear ALL,
How to kill the TP process at OS level
Operating System : win 2003Q.1 Different Method for Kernel Upgradation
So far till now, I have known only one method for Kernel upgradation which is very very simple. I dont think we need any other work-around for Kernel upgrade as this method is very very straight forward. The steps to be followed are ---
Go to the SAP OSS Site :-
http://service.sap.com/SWCenter-Main
From here Download the kernel programs in a temporary folder or use Download Basket toi download the Kernel.
Now shutdown the R/3 database and all services including saposcol.
Create a folder and copy the original executables from /exe/run/ directory then uncar the downloaded files and replace the original executables in /exe/run/ directory.
Then restart your system.
A couple of important points to remember are :-.
a) Always make a copy of the files you're going to replace. For e.g. Create a directory (oldkern) and copy all the old files before replacing them (this helps when sometimes the new Kernel has problems, and you can revert it)
b) You have to shutdown SAP and the Database using the OLD kernel file. Again it is good practice to shutdown everything first.
Regards,
Mandar -
Browser Stops how to kill external process
Hi All,
I am using Runtime 's exec method to run some binary on server from my JSP page .
Runtime rt = Runtime.getRuntime();
Process pr = rt.exec(XYZ);
I am running the server (TOMCAT) on bsd machine ,
Problem ,
When the JSP is requested from the browser and user clicks on stop button / closes the browser window .
The external process does not terminated .
it is shown as paused process in TOP .
Is there any way to handle this situation to stop the process .
Regards
Yogeshyou have to write a class which implements HttpSessionActivationListener and in the sessionWillPasivate() method do the processing to KILL the process that is running in the background.
you have to take care in identifying the process from the session object passed to the listener.
Note that this method will be called when session is about to be invalidated either by time out or forcefull invalidation.
The listener class is than supposed to be registered by putting the following in web.xml
<listener>
<listener-class>fully qualified name of your Listener</listener-class>
</listener> -
How to kill the process running on specific port in Solaris 10
Hi
As I want to kill the proces running on port 8080 in my solaris 10 box. is there any command to do the same.
Thanks
RajanA quick google, found lots of scripts... I found the script below @ Christopher Hubbell's blog - I've modified it to pump out the command name.
---->>>>>>BUT let's just say it would be quicker to got to sunfreeware.com and download lsof.
the 'lsof -i " option will give you the process id, which you can use kill _pid_ to kill the id.
Christopher's modded script (my edits in bold):
#!/bin/sh
if [ `/usr/xpg4/bin/id -u` -ne 0 ]; then
echo "ERROR: This script must run as root to access pfiles command."
exit 1
fi
if [ $# -eq 1 ]; then
port=$1
else
printf "which port?> "
read port
echo "Searching for processes using port $port...";
echo
fi
for pid in `ps -ef -o pid | tail +2`
do
foundport=`/usr/proc/bin/pfiles $pid 2>&1 | grep "sockname:" | egrep "port: $port$"`
if [ "$foundport" != "" ];
then
pname=`ps -ef -o pid -o comm |grep $pid| awk '{print $2}'`
echo "process name: $pname, $foundport"
fi
done
exit 0
Tom de -
whenever i kill AMCMenu through activity monitor it starts again and uses my ram. i have restarted my computer many times .please help .
here the link to AMCMenu process sample : http://forums.macrumors.com/attachment.php?attachmentid=438583&d=1380955778This is a temporary solution --
Step 1: From Activity Monitor, determine the process id (column PID) for AMCMenu - e.g. 100.
Step 2: Open a terminal window and type the following runes:
sudo kill -stop <value of PID from Step 1>
e.g. sudo kill -stop 100
It will ask for your password - type it fearlessly.
you are done......
To release it into the wild again:
Either:
sudo kill -cont <value of PID from Step 1>
e.g. sudo kill -cont 100
Or:
it will be started automatically when you restart your Mac.
thanx -
How to kill EXCEL process after upload?
Hi 2 all!
I use ALSM_EXCEL_TO_INTERNAL_TABLE to get the data from excel file and it works fine. But in the task manager the number of EXCEL processes increases with every execution of my program. How can I avoid this?Hi 2 all!
I use ALSM_EXCEL_TO_INTERNAL_TABLE to get the data from excel file and it works fine. But in the task manager the number of EXCEL processes increases with every execution of my program. How can I avoid this? -
Help: how to kill a bpm process
I create a bpm process with an infinite loop and my server crash everytime.
How to kill this process.Hi Capro
Log into NWA
Navigate to manage processes
NWA-> Operation management -> Processes and Tasks -> Manage Processes
Select the nasty process instance and click on Actions> Cancel
By doing so you will be canceling the process instance and this will help in saving your server from crashing
If you are using 7.20 there are options to handle this too from BPM System Overview
Regards,
Harsha -
How to kill process in windows
Hi,
how to kill the process in windows.
Thanks in advance>
I already tried that one rmishra......
but it was not killed.>
I think you are trying to find something like "ps - ef" in Unix for windows? if yes then you can follow below:
show processes
C:\>tasklist
Image Name PID Session Name Session# Mem Usage
========================= ====== ================ ======== ============
System Idle Process 0 Console 0 28 K
System 4 Console 0 260 K
smss.exe 892 Console 0 460 K
csrss.exe 952 Console 0 396,948 K
winlogon.exe 976 Console 0 5,944 K
services.exe 1020 Console 0 69,300 K
lsass.exe 1032 Console 0 4,260 K
svchost.exe 1204 Console 0 14,384 K
svchost.exe 1312 Console 0 14,056 K
svchost.exe 1436 Console 0 59,188 K
snac.exe 1488 Console 0 1,600 K
svchost.exe 1656 Console 0 6,668 K
svchost.exe 1744 Console 0 10,656 K
spoolsv.exe 1864 Console 0 12,560 K
svchost.exe 332 Console 0 8,884 K
jqs.exe 576 Console 0 1,424 K
notepad.exe 4772 Console 0 5,640 K
.........................................ect
C:\>taskkill /pid 4772
SUCCESS: The process with PID 4772 has been terminated.-RMishra -
I stupidly installed Boxee on my iMac and now I can't get rid of it. I deleted all Boxee files, but I'm getting there error messages from Console:
Jan 3 21:20:53 ip-192-168-0-196 com.apple.launchd[476] (tv.boxee.helper[567]): Exited with exit code: 1
Jan 3 21:20:53 ip-192-168-0-196 com.apple.launchd[476] (tv.boxee.helper): Throttling respawn: Will start in 10 seconds
Jan 3 21:21:03 ip-192-168-0-196 com.apple.launchd[476] (tv.boxee.helper[572]): posix_spawnp("/Applications/Boxee.app/Contents/Resources/Boxee/bin/boxeeservice ", ...): No such file or directory
Jan 3 21:21:03 ip-192-168-0-196 com.apple.launchd[476] (tv.boxee.helper[572]): Exited with exit code: 1
Jan 3 21:21:03 ip-192-168-0-196 com.apple.launchd[476] (tv.boxee.helper): Throttling respawn: Will start in 10 seconds
Jan 3 21:21:13 ip-192-168-0-196 com.apple.launchd[476] (tv.boxee.helper[575]): posix_spawnp("/Applications/Boxee.app/Contents/Resources/Boxee/bin/boxeeservice ", ...): No such file or directory
Jan 3 21:21:13 ip-192-168-0-196 com.apple.launchd[476] (tv.boxee.helper[575]): Exited with exit code: 1
Jan 3 21:21:13 ip-192-168-0-196 com.apple.launchd[476] (tv.boxee.helper): Throttling respawn: Will start in 10 seconds
I know how to kill a process, but that doesn't solve the problem. How do I get rid of (tv.boxee.helper) permanently so this isn't taking up system resources?these messages mean that you didn't delete all boxee files. that app should have come with an uninstaller and you should have used that. look in the following places and delete anything boxee related
/Library/LaunchAgents, /Library/Launchdaemons, /users/username/library/launch/daemons
Also check your login items in system preferences->accounts. -
How to kill Active Data Request in DSO
Hi all,
I have 2 dsos ( A, B). Data loads from A to B.
Now I have deleted data from DSO B by using option delete data ( did killed one running request by turing the status to RED).
when I try to load data again to DSO B, it is not allowing me to execute the DTP.
Message is Request 257.617 is stil processing.
I am SAP BI 7.0 environment.
Please suggest how to kill active request ( I am not seeing it RSMO/SM37).
I tried to use Zombie Request FM, it didnt worked.
Thanks All,
JasonSrinivas,
Thanks for the reply.
When I go RSRQ
I can see the request , the exception it is showing is CX_RS_FAILED logged.
SM51, when try to kill the process it says
SAP System Message:
Work Process restarted; session terminated
Apologies for earlier post messages saying that I did nt saw the message in RSMO, I can see it is in yellow process.
Please suggest how to kill the processes .
Apperciate your response..
Thank you
Jason -
Hi,
could anybody tell me how to kill a process which is runnuing on unix OS.
actually I have an RMI server, and I want to write an applet or some thing simillar to stop this server.
So I need to know it is pid on the server to kill it.
Any body has an idea??It's not that there's no response, cos I can switch apps and other apps respnd. It's just that a specific app hangs (or loads data or whatever) which takes too long for me to wait for and I'd like to kill it.
So the question is - if the phone is generally responsive but one app in the background needs to be killed, can I somehow do this not rebooting the whole device?
edit: just to add: the back button while hold get's me to the app list and I can switch apps and work with others. -
Killing any process ..Please Help
Hi
This is the situation.
From my Python script I start a Java Process which starts rmiregistry at some port
Now I am interested in Killing the rmiregistry process .
So i start another Python script which runs another Java Program ....
BUT now i am not sure how to kill the process ?
THIS IS MY QUESTION
Basically 2 jvms are run . IN one jvm i have process handle.
BUT how do i kill process from different JVM
If this is not possible i would lilke to know how to the below
in java
1> HOW DO I KILL A PROCESS RUNNING AT SOME PORT (In general)
(Can be started frrom different JVM)
2> Also is it possible to get PID of process from JavaOn Unix including Linux the command fuser tells which process listens on a port:
posman@linux:~> fuser -n tcp 1234
here: 1234
1234/tcp: 23153
posman@linux:~> ps -p 1234
PID TTY TIME CMD
posman@linux:~> ps -p 23153 -f
UID PID PPID C STIME TTY TIME CMD
posman 23153 1 0 2004 ? 00:00:01 java -Dfile=ZipServer.par -Dbeau
[pre]
Maybe you are looking for
-
Switching from Iphone 5 to Galaxy s5--iMessage issue
I recently switched from my iphone5 to my galaxy s5. I am unable to receive messages from other iphone users due to imessage, I am able to send and they do receive them. Those receiving messages are unable to send messages to me at all. With the mess
-
Can you sort a multi value field in descending order on a BC?
Hi We have a date field which is a multivalue field on our Enrolment BC. The field comes from our Attendance BC. The Enrolment BC has a one to many relationship with an Attendance BC. We would like to sort this date in descending order for use on the
-
How to create a sequence number to insert values to database
I am working on the application for the client to insert their vendor informaton to our database. We have a refvendor table and vendorid is primary key. I was asked for the vendorid to be a sequential number. I am not sure if the DBA set up the vendo
-
ok so i go to my received/calls made section and i cant see how long my calls were...so i go to the timer area and it only has the time of my last call...how can i see how long other calls were?
-
[SOLVED] update zfs fails due kernel version
$ uname -v #1 SMP PREEMPT Sun Jun 8 10:08:38 CEST 2014 and $ sudo pacman -Syu :: Synchronising package databases... core is up to date extra is up to date community is up to date demz-repo-core is up to date demz-repo-archiso is up to date :: Startin