Thursday, January 27, 2011

Kills Backgroud Process On Ubuntu

I run Geoserver on port 8080 in background process, I wish to stop it so I have to run command:
1-$sudo netstat -lpn | grep :8080
then it will reply some think like here.

tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1847/java

2.then I found that geoserver on my box have process id 1847 so. I can kill it by run
$sudo kill 1847.

it done.

0 comments: