LinuxQuestions.org
Visit Jeremy's Blog.
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 07-03-2001, 12:52 PM   #1
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Rep: Reputation: 30
Stupid Questions - Help!!!


How do you see what services/programs/anything are running and how do kill/restart them? (without using the 'service ~whatever~ start/stop/restart' command when logged in as root...)

My firewall logs (iptables) have multiple lines with 0.0.0.0 as the source ip address. Is this my system, someone spoofing the ip address, or both? (or neither.....)

Andy
Thanx for understanding!
 
Old 07-03-2001, 01:01 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
in gnome use gtop, it will show all the running processes, as well as how much memory/processor power it is using. kde has a similar program i think it's called kprocess, look around in the menu, it,s there somewhere. both will let you kill progs nicely (hup) or not so nicely (kill)
 
Old 07-03-2001, 01:03 PM   #3
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Original Poster
Rep: Reputation: 30
Command Line?

Do you know the commands to do that in a console without being in X? (Like so I can kill or whatever without being infront of the computer?)
 
Old 07-03-2001, 01:17 PM   #4
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
sorry, i'm sure someone will post soon with an answer
 
Old 07-03-2001, 01:20 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
top is the command you would use at the command without being in X to view processes, if that is what your wanting to know?
 
Old 07-03-2001, 01:40 PM   #6
val
LQ Newbie
 
Registered: May 2001
Location: NYC
Distribution: RH
Posts: 20

Rep: Reputation: 0
Cool

try: man ps
that will give you the manual for the comand that displays the running processes.
after that, check out: man kill
that'll tell you how to kill/stop/pause whatever process you want.
 
Old 07-03-2001, 03:29 PM   #7
bfloeagle
Member
 
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158

Original Poster
Rep: Reputation: 30
Thanx val! Now does anybody know about the IP stuff I posted at the top of the message???

Andy
 
Old 07-03-2001, 05:06 PM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Tell you the truth, I am not sure of how your firewall would indicate or pick up a 0.0.0.0 IP address. Usually if someone is spoofing, I think most of the time or sniffing, it won't even pick up with ipchains or iptables. Not sure though, not a network security expert on that one, you might want to post that in the sucurity or networking forums, probably get a quicker response.
raz the moderator might know for the security, he always seems to answer the security questions quite well.
 
Old 07-03-2001, 10:23 PM   #9
kuikfox
LQ Newbie
 
Registered: Apr 2001
Posts: 3

Rep: Reputation: 0
Post


to kill a process:

login as root:
perform a " top "
find your run-away program...
determine the pid = ( process id number )
then do :

kill -9 [ pid ]

where pid is the corresponding number of the run-away program.
 
Old 07-04-2001, 04:16 AM   #10
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
The only times that I've seen 0.0.0.0 used with when you want to match any IP address...

HTH

Jamie...
 
Old 07-04-2001, 09:41 PM   #11
ctdp
Member
 
Registered: Sep 2000
Location: Michigan
Distribution: Redhat
Posts: 30

Rep: Reputation: 15
Could be a computer booting that has no IP address. A computer that gets its address through DHCP or BOOTP initially has an address of 0.0.0.0. It sends a broadcast to 255.255.255.255.67. This may be what is happening but I am not familiar with your setup.
For more info see item 34 at:
http://ctdp.tripod.com/independent/n...ide/index.html
 
Old 07-04-2001, 10:13 PM   #12
GonzoJohn
Member
 
Registered: Jun 2001
Location: Louisville, KY USA
Distribution: RedHat and Debian
Posts: 89

Rep: Reputation: 15
Not to beat a dead horse (a lot of good answers here) but it would be helpful to know what distro you're running. In regards to what daemons are running, look at the /etc/services file as well as running the command "ps aux" to see all the process IDs. Depending on your distro, some processes will be running under inetd or xinetd. To configure what daemons run for various run levels, try tksysv. A very useful little util.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Stupid questions DarkNeo Debian 2 08-31-2005 10:42 AM
Two (hopefully) Stupid Questions totalshredder Linux - Newbie 2 02-07-2005 12:03 PM
Stupid Questions zinggniz Linux - Newbie 12 10-26-2004 11:01 PM
A few stupid questions... Eyemarten Linux - Newbie 10 04-27-2004 06:07 PM
And now,some stupid questions Dynamo Linux - Newbie 4 04-30-2001 01:21 PM

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

All times are GMT -5. The time now is 08:55 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration