|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
help! kill all the processes
Hi, I am in big trouble now. One of my program has an infinite loop two days ago. I close the browser at the client site. But I didn't kill it on the server side. At that time, every thing seems fine. But from the night of the day before yesterday, everything is wrong. I cannot open the web page. I was told 'the page is not found'. But I know it is there. After I input my user name and password from the secure shell. I was told 'opening the folder, please wait', and this will last forever. Now I can login with "Putty", I want to see the processes and want to kill those bad ones. I use "ps -A", But nothing happens. I want to kill all the processes those are running. That program will not save anything in the server side. But It will echo something to the browser. What should I do? Please help. Thank you very much and sorry to trouble you guys on Sunday.
|
|
#2
|
||||
|
||||
|
Use this command to list all processes that are currently running:
ps -xa The above command should list the currently running processes and some additional information. For the process that you want to kill, look at the PID column (should be the first column) and note down the number for that process. Then kill the process by typing: kill xxx where xxx is the number that you noted above. If that doesn't work, you can get tough by typing: kill -9 xxx Rinse and repeat until all the processes that you need to terminate are killed. Note that you cannot kill processes that you don't own (unless you have a root account). Hope this helps ![]()
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
|
#3
|
|||
|
|||
|
Thank you very much!
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > help! kill all the processes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|