Thanks.
It is a handsome command.

Emma.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrzej Adam 
Filip
Sent: Friday, May 18, 2007 4:03 PM
To: exim users
Subject: 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 : [EMAIL PROTECTED] : [EMAIL PROTECTED]
Home site: http://anfi.homeunix.net/

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/




********************************************************************************************************************************
[EMAIL PROTECTED]@pingan.com.cn

Warning tips:the Email Address of PING AN INSURANCE (GROUP) COMPANY  changes 
into [EMAIL PROTECTED] 
********************************************************************************************************************************



********************************************************************************************************************************
The information in this email is confidential and may be legally privileged. If 
you have received this email in error or are
not the intended recipient, please immediately notify the sender and delete 
this message from your computer. Any use, distribution,
or copying of this email other than by the intended recipient is strictly 
prohibited. All messages sent to and from us may be 
monitored to ensure compliance with internal policies and to protect our 
business. 
Emails are not secure and cannot be guaranteed to be error free as they can be 
intercepted, amended, lost or destroyed, 
or contain viruses. Anyone who communicates with us by email is taken to accept 
these risks. 

�շ��ʼ�����ע�⣺
���ʼ���������Ϣ�������ձ��ʼ���������֪ͨ�����˲�ֱ��ɾȥ������ʹ�á����������Ʊ��ʼ���
�����ʼ����ܵ�����˾�Ϲ����ء��ʼ����ܷ��������������޸ġ���ʧ�����ƻ������������������Ȳ���ȫ������
 
********************************************************************************************************************************
-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to