LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-27-2004, 07:51 PM   #1
RazorKnight
Member
 
Registered: Sep 2004
Distribution: Slackware
Posts: 34

Rep: Reputation: 15
Dropping Network Processes


Supposing I have a network process identified through netstat, how would I drop the process? Do I have to figure out what it is through ps and then kill it? Or is there an easier way?

Also, if I have a user I want to log off, is there a way as root to force this?
 
Old 09-27-2004, 08:48 PM   #2
Slaxx
LQ Newbie
 
Registered: Sep 2004
Location: Purdue University
Distribution: Slackware 10.0
Posts: 11

Rep: Reputation: 0
The best way I know to stop a process from using a certain port is to figure out what process it is first, then either (before it starts doing it) prevent it from using that port, or (if it's already happening) kill the process. Running 'nmap -v localhost' might give you some more information about what is going on. One notorious port-listener is X, which by the server defaults listens for remote connections on port 6000. As to forcefully logging off another using, I'd just kill the shell they're using, or perhaps if it's a SSH connection, kill and restart sshd.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Dropping Issues unix_is_fun Linux - Networking 3 05-19-2005 09:08 PM
Server keeps DROPPING off the network ?!!! baye Linux - Networking 2 12-28-2004 02:57 AM
OpenBSD 3.4 dropping network connection iainr *BSD 16 04-23-2004 02:55 AM
Dropping Network Packets Micah Linux - Networking 4 03-14-2004 09:39 PM
Packets dropping with LAN network valo Linux - Hardware 3 02-18-2004 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration