Re: [exim] About Log for port25

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Andrzej Adam Filip
Data:  
Para: exim users
Assunto: Re: [exim] About Log for port25
阳海艳(基础架构管理部) wrote:
> Yeah.
>
> We doubt there was another process was using port 25. But we didn't know how to check it.
> And there is another clue. We find hundreds of exim are running, but failed to kill them.
>
> So, if we find out the very process used port25, kill it directly?


Use
* fuser program
or
* nestat if it supports --program option.

fuser has an option to kill all selected processes.

# list all processes using port 25
fuser -uv 25/tcp
# list and kill all processes using port 25
fuser -kuv 25/tcp
# list and kill all processes using port 25 with signal 9 (non "ignorable")
fuser -kuv -9 25/tcp

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@??? : anfi@???
Home site: http://anfi.homeunix.net/