Networking Forums

Networking Forums > Computer Networking > Linux Networking > Kill a network process

Reply
Thread Tools Display Modes

Kill a network process

 
 
delphinuscadmus@yahoo.com
Guest
Posts: n/a

 
      07-05-2006, 09:37 PM
I am trying to kill a network process...

I have been told to use the following commands:
l *.pid
cat *.pid

Can anyone tell me more about these commands?
Is it common that the PID of all processes are stored in a text file?

Thanks,

 
Reply With Quote
 
 
 
 
Krzysztof Roburst
Guest
Posts: n/a

 
      07-05-2006, 11:42 PM
On 2006-07-05, (E-Mail Removed) <(E-Mail Removed)> wrote:
> I am trying to kill a network process...
>
> I have been told to use the following commands:
> l *.pid
> cat *.pid


Correct me if I'm missing the point but are you talking about /etc/rc.d/*/network ?

> Can anyone tell me more about these commands?


man cat
'l' is not any of standard unix commands.

> Is it common that the PID of all processes are stored in a text file?


No, but they usually can be displayed with ps command: man ps

Regards,
K.
 
Reply With Quote
 
pardillico
Guest
Posts: n/a

 
      07-06-2006, 03:49 PM
Krzysztof Roburst wrote:
> On 2006-07-05, (E-Mail Removed) <(E-Mail Removed)> wrote:
>
>>Can anyone tell me more about these commands?

>
>
> man cat
> 'l' is not any of standard unix commands.


Usually l is defined as an alias l="ls -l" so it is a more detail list
>
>
>>Is it common that the PID of all processes are stored in a text file?

>
>
> No, but they usually can be displayed with ps command: man ps


So your frined forgot to tell you the last command kill to kill the
process whose PID you have found.
>
> Regards,
> K.


Angel
www.photrick.com
 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      07-06-2006, 08:01 PM
On 5 Jul 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed) .com>,
(E-Mail Removed) wrote:

>I am trying to kill a network process...


What _kind_ of a network process? What distribution? What release?

>I have been told to use the following commands:
>l *.pid
>cat *.pid
>
>Can anyone tell me more about these commands?


Then you should be asking the person who told you to use those commands.
What it _looks_ like is that the first command _might_ be something that
gives a directory listing - possibly of '/var/run/'

[compton ~]$ ls /var/run/*.pid | column
/var/run/atd.pid /var/run/inetd.pid /var/run/sendmail.pid
/var/run/crond.pid /var/run/klogd.pid /var/run/syslogd.pid
[compton ~]$

while the second would show the contents of all of those files. That by
itself would not kill any process.

>Is it common that the PID of all processes are stored in a text file?


No. Depending on your distribution, you might have a 'pidof' command (which
is normally a link to killall5 - READ THE MAN PAGE FIRST), or your system
init scripts may have a 'pidofproc()' function.

Assuming a normally running system, you can determine the PID of a process
using 'ps auwx' and then use kill to terminate that specific process.

Old guy
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mapped drives kill network access when fileshares not available Phil McNeill Windows Networking 0 11-11-2005 01:51 PM
can't kill the process mia456789@yahoo.com.hk Linux Networking 1 12-16-2004 04:39 AM
Determining which process is using a network share Rick Genter Windows Networking 2 02-25-2004 10:31 PM
Process context for low-layer network protocols? Atit Linux Networking 5 12-15-2003 12:46 PM
Process termination through the network Zantafio Home Networking 5 07-29-2003 10:32 PM



1 2 3 4 5 6 7 8 9 10 11