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 Java
On 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]
Similar Messages
-
I bought CS6 creative suite. As of now i need to work each application in separate separate system. Can any one please help me how to solve this problem.
I saw the below quote on Adobe forum
"You may install software on up to two computers. These two computers can be Windows, Mac OS, or one each."
If i install each application in single single system the system count is more than two. In this case, are we have any license issue? Please advice how the problem will solve?
If possible please send the advise to my mail id: <Removed by Moderator>
Thanks
Uvaraj SI already answered that. If you purchased a Suite then you can only install and activate it on two machines. Even if you only insdtall one of the applications of that suite, it counts as one activation of the suite. You cannot take the six or seven different applications that might be in a suite and install and activate them in six or seven different machines... only two machines.
If your scenario will allow for it, one thing you can do is install the programs on all the different machines and only activate two of the machines at any given time. If you need to activate a program on a third machine then you need to deactivate on one of the currently activate machines first so that you have an open activation to use again. I do not remember if there is a limit to the total number of activations you can process for the life of the software. -
how to install windows 7 on my macbook pro mid 2009 using usb. right now iam using mavericks 10.9 can any one please help me. I tried to edit plist in boot camp but it went wrong please help me.
Iam new to coding. please help me.try the solution posted by kunu here and report back
https://discussions.apple.com/thread/5105056?tstart=0 -
I am not able to access my photos through the photo application... when I click on the photo app, I can see the camera roll, but a transparent "album" screen is over it and I cannot click on the photos to see it... can any one please help ???
Known bug. Quit the Camera App, double-tap the home key and delete Camera from the recent apps bar. Fire it up again, should be good.
-
Hello, the 'Save As' dialog box used to allow the backspace button to go up one level in the directory when the focus is in the folder contents box but it does not work any more, please help. BTW the same 'Save As' dialog in other applications still allow the backspace button to go up one level in the directory.
cor-el,
I kept forgetting and procrastinating about following your instructions, since I have internet access only for limited amounts of time and usually I am busy with important tasks when I am.
Out of the blue, the problem corrected itself (the Save As box started to open full screen, then shrunk down to a normal size and the edges can now be dragged to a custom size).
Even the copy and paste problem in the filenaming area seems to have been less troublesome lately even though there have been no updates to Firefox in a few weeks.
Even though I marked the solution as not helpful, the problem has in fact been resolved. I will save the solution instructions in case the issue returns. -
I have buy 4s it's unlocked and its working ok with different carriers in Bahrain, but in Pakistan I try to use different carriers's sims but its showing sim is not valid , not compatible? any one please help me out this?
Try restoring the iPhone to factory settings. If you are having difficult restoring, put the iPhone into Recovery Mode and see if that then works:
http://support.apple.com/kb/ht1808
If not, or if a restore to factory settings does not fix the problem, then your iPhone may have a hardware problem. You can only get the iPhone serviced by Apple in Canada, so you will have to take the iPhone there or send it to someone you know in Canada who can get the iPhone serviced and send it back to you. The only option for getting service in Pakistan would be to pay some unauthorized repair shop to attempt a repair, after which Apple will no longer provide any service even in Canada.
Regards. -
i installed win 7 on my mac book, and the sound driver was installed successfully, but i don't hear any sound, please help
Is the volume muted? Click on the volume icon in the system tray to see if it shows as muted. If that's the case, I know of a workaround to fix this because if you unmute the speakers now, the condition will come back when you reboot your computer. I don't know the exact steps off the top of my head at the moment as I'm not in front of my machine. Check this first and reply if muting was the problem and I will detail the steps needed to fix the problem.
-
My MacBook get's hot really quick and then discharge's quickly without opening any program, please help.
I have checked the cooling fan, and it's working, and I took it to an IT technician and he said my hardware is allright, so is it a problem from the OS it self??
OS X(10.8.5)Restart with the Option key held down and the Mac OS X install disk inserted, provide the firmware password, click on the DVD, press the button with the straight arrow, access the firmware settings, disable the password, and use FireWire Target Disk mode. If you can't do that or it doesn't work, contact Apple.
(38384) -
hi , i have this extension .f4v ,and i couldn't match it with any think please help me , thank u
http://en.wikipedia.org/wiki/Flash_Video
-
Hi, I did the 30-day trial of indesign, now I bought the student package and when installing it they ask me for my serial number and I didn't get any.. please help!!!
We have received your payment - thank you! For your information are the details of the order here:
Ordering information:
Creative Cloud membership Photo Student and Teacher Edition (one-year)
74.00 DKK per. month
Order number[Removed by moderator]
18.50 DKK charges
Total payment today:
92.50 DKK -
i use to have pages on my mac and i can't find it now ,all the work i have done in the pass can't be edit any moor please help me
- Why not redownload/reinstall Pages?
- Maybe by
http://answers.microsoft.com/en-us/office/forum/office_xp-word/how-do-i-open-mac -pages-in-a-microsoft-environment/5c0b2ab1-96d8-42e2-bf17-354bd0bfcf01
- If you have an iCloud account, in a computer broser go to icloud.com>sign in>Pages Beta and upload to iCloud. You can then export/email in Microsoft and pdf format. -
getting red frames when export from cc 2014.2 codec used panasonic mxf format long GOP 50p. If any solution please help on that
i solve my red frame problem. originally my project was done in premiere pro cc 2014.2 & i render in Encoder cc 2014. in newer version i get lots of red frames. i complain a lot to adobe customer support . they said they know the issues but they couldn't solve. I was so tired from adobe customer support. one of the worse customer services i had. My friend got the mac pro & e got premiere pro cc 7.2 version. i convert all my footage mxf to mp4 in encoder cc 7.2 version and i succeed. i don't get any red frames.
So i think the problem is in adobe encoder cc 2014.2 version. newer version. -
I can't get in to setup internet connection because the message(the ipod touch hasn't been backed up in 11 weeks.....) is blocking me from going any further.Please help?
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears. -
HT1430 I m unable to send sms thru any career , please help me.
I m unable to send sms thru any career , please help me.
SMS is a carrier feature.
Contact the carrier to troubleshoot. -
hi im using 4s and when i try to download apps its asking my credit card details. can any one please help me
even when you are dowloading free app Apple needs to check that you have valid billing details but you will not be billed for downloading of free apps. Go to settings/itunes & app store tap on ID there log in and check acocunt details there
-
Hi when i convert a pdf to word I get a inccorect conversion, can any one please help me
hi when I convert a pdf to word document I get a inccorect conversion, can any one please help me
Hey nikolays87340013,
Thanks for your reply.
Please let me know what version of Adobe Reader you are using.
You might need to check for updates as well as repair installation from Reader Help menu.
While converting scanned PDF into Word, OCR runs automatically and its quality largely depends upon the quality of scanned images and clarity of characters in the PDF.
Please try the same conversion online after signing in at "https://cloud.acrobat.com/exportpdf" and check if the conversion quality varies.
Let me know.
Regards,
Anubha
Maybe you are looking for
-
F4 help button not getting displayed
Hi, I have unique problem it seems. I have atttached a explicit search help object for one of the fields in a local structure of type db table.. In standard selection screen i am defining a parameter of this field and have used "matchcode object" als
-
Mac mini no longer pairs with blutooth keyboard
Hi, I never have had issues with the nre Mac Mini I bought. It is only 2 months old now. Last week when I turned on my Mac Mini, the keyboard no longer is recognized. I have tried to switch batteries, restart the computer but no matter what I do, it
-
Cannot contact to internet - Browser's won't work or reinstall
My youngest downloaded a safari update he swears prompted by Apple that has crash his browsers. I have tried to reinstall safari, firefox and the tiger os - it won't let me. All apps work without connecting to the internet. The only app that works on
-
Shared mac showing up several times
My media mac is showing several times in my other mac and iphone (remote) withe different numbers. Why?
-
I have to import multiple compositions from an After Effects project every day. What's really frustrating is that there is no group import option. The Premiere import window opens and lists all compositions in a project. I can select one and import i