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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-03-2001, 11:52 AM
|
#1
|
Member
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158
Rep:
|
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!

|
|
|
07-03-2001, 12:01 PM
|
#2
|
Senior Member
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692
Rep:
|
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)
|
|
|
07-03-2001, 12:03 PM
|
#3
|
Member
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158
Original Poster
Rep:
|
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?)
|
|
|
07-03-2001, 12:17 PM
|
#4
|
Senior Member
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692
Rep:
|
sorry, i'm sure someone will post soon with an answer
|
|
|
07-03-2001, 12:20 PM
|
#5
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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?
|
|
|
07-03-2001, 12:40 PM
|
#6
|
LQ Newbie
Registered: May 2001
Location: NYC
Distribution: RH
Posts: 20
Rep:
|
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. 
|
|
|
07-03-2001, 02:29 PM
|
#7
|
Member
Registered: Jun 2000
Location: Upstate New York
Distribution: Ubuntu
Posts: 158
Original Poster
Rep:
|
Thanx val! Now does anybody know about the IP stuff I posted at the top of the message???
Andy 
|
|
|
07-03-2001, 04:06 PM
|
#8
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
07-03-2001, 09:23 PM
|
#9
|
LQ Newbie
Registered: Apr 2001
Posts: 3
Rep:
|
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.
|
|
|
07-04-2001, 03:16 AM
|
#10
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
The only times that I've seen 0.0.0.0 used with when you want to match any IP address...
HTH
Jamie...
|
|
|
07-04-2001, 08:41 PM
|
#11
|
Member
Registered: Sep 2000
Location: Michigan
Distribution: Redhat
Posts: 30
Rep:
|
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
|
|
|
07-04-2001, 09:13 PM
|
#12
|
Member
Registered: Jun 2001
Location: Louisville, KY USA
Distribution: RedHat and Debian
Posts: 89
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 06:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|