Use the command
option 1:
netstat -tulpn | grep 1100 It will show the list of processes with port number and process id
tcp 0 0 0.0.0.0:1100 0.0.0.0:* LISTEN 22746/Rserve.dbg
the number before /Rserve.dbg is a process id. Now use kill command to kill the process
kill -922746
-9 implies the process will be killed forcefully.
option 2:lsof -i:1100;kill -922746
oneshot: kill -9 $(lsof -t -i:1100)
option 3:# fuser1100/tcp
#fuser -k1100/tcp (kill)
No comments:
Post a Comment