LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-02-2004, 04:21 PM   #1
balanagireddy
Member
 
Registered: Sep 2003
Location: India
Distribution: redhat linux 9.0
Posts: 46

Rep: Reputation: 15
Which Processes To quit??


I got redhat 9.0 installed on my system.
There are many processes starting everytime the PC is booting....
Is it necessary starting all the processes.
If not Can neone tell me how to know which processes are of no use
and what process is what...and how to stop the processes from starting everytime my computer boots.

I Am A Newbie
 
Old 02-02-2004, 04:31 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Give us a list from the output of ps -aux and I'm sure someone will let you know what the process is used for, if its important, etc.
 
Old 02-02-2004, 04:36 PM   #3
balanagireddy
Member
 
Registered: Sep 2003
Location: India
Distribution: redhat linux 9.0
Posts: 46

Original Poster
Rep: Reputation: 15
This is the output i am getting :-
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1368 64 ? S Jan29 0:04 init [5]
root 2 0.0 0.0 0 0 ? SW Jan29 0:00 [keventd]
root 3 0.0 0.0 0 0 ? SW Jan29 0:00 [kapmd]
root 4 0.0 0.0 0 0 ? SWN Jan29 0:00 [ksoftirqd_CPU0]
root 9 0.0 0.0 0 0 ? SW Jan29 0:00 [bdflush]
root 5 0.0 0.0 0 0 ? SW Jan29 0:00 [kswapd]
root 6 0.0 0.0 0 0 ? SW Jan29 0:00 [kscand/DMA]
root 7 0.0 0.0 0 0 ? SW Jan29 2:19 [kscand/Normal]
root 8 0.0 0.0 0 0 ? SW Jan29 0:00 [kscand/HighMem]
root 10 0.0 0.0 0 0 ? SW Jan29 0:00 [kupdated]
root 11 0.0 0.0 0 0 ? SW Jan29 0:00 [mdrecoveryd]
root 15 0.0 0.0 0 0 ? SW Jan29 0:00 [kjournald]
root 73 0.0 0.0 0 0 ? SW Jan29 0:00 [khubd]
root 2259 0.0 0.0 0 0 ? SW Jan29 0:00 [kjournald]
root 2553 0.0 0.0 1532 160 ? S Jan29 0:00 syslogd -m 0
root 2557 0.0 0.0 1368 156 ? S Jan29 0:00 klogd -x
rpc 2575 0.0 0.0 1540 0 ? SW Jan29 0:00 [portmap]
root 2611 0.0 0.0 3504 320 ? S Jan29 0:00 /usr/sbin/sshd
root 2625 0.0 0.0 2032 4 ? S Jan29 0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid
root 2636 0.0 0.0 1596 8 ? S Jan29 0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
root 2647 0.0 0.0 1412 60 ? S Jan29 0:00 gpm -t imps2 -m /dev/mouse
xfs 2725 0.0 0.0 6328 56 ? S Jan29 0:00 [xfs]
daemon 2743 0.0 0.0 1404 160 ? S Jan29 0:00 [atd]
root 2749 0.0 0.0 1348 4 tty1 S Jan29 0:00 /sbin/mingetty tty1
root 2750 0.0 0.0 1348 4 tty2 S Jan29 0:00 /sbin/mingetty tty2
root 2751 0.0 0.0 1348 4 tty3 S Jan29 0:00 /sbin/mingetty tty3
root 2752 0.0 0.0 1348 4 tty4 S Jan29 0:00 /sbin/mingetty tty4
root 2753 0.0 0.0 1348 4 tty5 S Jan29 0:00 /sbin/mingetty tty5
root 2754 0.0 0.0 1348 4 tty6 S Jan29 0:00 /sbin/mingetty tty6
root 2755 0.0 0.0 14112 0 ? SW Jan29 0:00 [gdm-binary]
root 2804 0.0 0.0 14872 0 ? SW Jan29 0:00 [gdm-binary]
root 2805 1.0 9.1 200824 41080 ? RL Jan29 62:07 /usr/X11R6/bin/X :0 -auth /var/gdm/:0.Xauth vt7
516 2816 0.0 0.0 4128 4 ? S Jan29 0:00 /bin/sh /usr/bin/startkde
516 2865 0.0 0.0 3144 140 ? S Jan29 0:00 /usr/bin/ssh-agent /usr/share/apps/switchdesk/Xclients.kde
516 2908 0.0 0.0 25624 332 ? S Jan29 0:00 kdeinit: Running...
516 2911 0.0 0.1 27344 624 ? S Jan29 0:00 kdeinit: dcopserver --nosid
516 2914 0.0 0.2 28676 1108 ? S Jan29 0:00 kdeinit: klauncher
516 2916 0.0 1.0 30964 4856 ? S Jan29 0:04 kdeinit: kded
516 2932 0.8 0.6 9132 2924 ? S Jan29 53:01 /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3 -f
516 2937 0.0 0.3 34420 1600 ? S Jan29 0:01 kdeinit: knotify
516 2938 0.0 0.0 1356 40 ? S Jan29 0:00 kwrapper ksmserver
516 2940 0.0 0.1 29592 800 ? S Jan29 0:00 kdeinit: ksmserver
516 2941 0.0 0.9 30656 4044 ? S Jan29 0:42 kdeinit: kwin -session 117f000001000106921281300000036540000_1074354072_607219
516 2943 0.0 0.8 31908 3840 ? S Jan29 0:27 kdeinit: kdesktop
516 2945 0.0 1.2 33828 5512 ? S Jan29 0:30 kdeinit: kicker
516 2946 0.0 0.1 26632 660 ? S Jan29 0:00 kdeinit: kio_file file /tmp/ksocket-sashikumarq9z0Rw/klauncherGtAGja.slave-socket /tmp/ksocke
516 2947 0.0 0.0 4348 300 ? S Jan29 0:37 /usr/bin/autorun -l --interval=1000 --cdplayer=/usr/bin/kscd
516 2953 0.0 0.1 30232 464 ? S Jan29 0:00 kdeinit: kwrited
516 2954 0.0 0.1 11636 660 ? S Jan29 0:00 /usr/bin/pam-panel-icon --sm-client-id 117f000001000106921281700000036540006
root 2955 0.0 0.0 1404 132 ? S Jan29 0:00 [pam_timestamp_c]
516 2957 0.0 0.1 29464 452 ? S Jan29 0:00 kalarmd --login
516 2962 0.0 1.7 47180 7688 ? S Jan29 1:11 kdeinit: konsole
516 3407 0.0 0.0 4384 228 pts/5 S Jan29 0:00 /bin/bash
516 3452 0.0 0.0 4372 88 pts/6 S Jan29 0:00 /bin/bash
516 3891 0.2 16.1 143968 72344 ? S Jan30 13:52 /usr/lib/mozilla-1.2.1/mozilla-bin -UILocale en-US
516 3914 0.0 0.0 0 0 ? Z Jan30 0:00 [plugger <defunct>]
516 7331 0.0 0.3 18124 1668 ? S Feb01 0:00 mplayer Good Will Hunting.avi
516 7427 0.0 0.0 0 0 ? Z Feb01 0:00 [plugger <defunct>]
root 7555 0.0 0.2 4480 920 ? S Feb01 0:00 /sbin/mount.smbfs //172.16.9.8/d$ /mnt/cdrom/ -o rw username vamsi password XXXXXXXX
516 7578 0.0 0.3 18128 1672 pts/6 S Feb01 0:00 mplayer We Will Rock You.mpg
516 7598 0.0 0.0 4372 352 pts/7 S Feb01 0:00 /bin/bash
516 8307 0.0 0.0 2296 96 ? S 13:02 0:01 plugger 2576,2147483647,31,33554545,0,0,1266,818 /home/sashikumar/.mozilla/default/46wy3wnu.s
516 8308 0.2 3.2 31380 14496 ? S 13:02 0:14 /usr/lib/acroread/Reader/intellinux/bin/acroread -geometry +9000+9000 -xrm +useFrontEndProgra
516 8322 14.7 0.0 2296 268 ? S 13:02 13:56 plugger 2576,2147483647,32,33554546,0,0,1266,818
/home/sashikumar/.mozilla/default/46wy3wnu.s
516 7277 0.0 2.1 18128 9504 ? S 13:15 0:00 mplayer Boom.avi
516 14192 0.0 2.1 18124 9568 ? S 13:16 0:00 mplayer Airtel.mpeg
516 9836 0.0 0.9 15408 4136 pts/5 S 13:23 0:00 octave
516 10313 0.0 0.2 4368 1180 pts/2 S 13:23 0:00 /bin/bash
516 3003 0.3 3.3 60032 15188 ? S 13:28 0:12 xmms
516 10821 0.0 0.1 2720 772 pts/2 R 14:36 0:00 ps -aux
Please Help Me
 
Old 02-02-2004, 04:39 PM   #4
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
vsftpd is something you should probably get rid of unless you're absolutely sure you need it.

Removing it will have a tiny, negligible effect on bootup times and performance, but possibly it'll improve your security.
 
Old 02-02-2004, 04:40 PM   #5
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
BTW, why are you so interested in this? Are you trying to reduce boottimes? improve performance?
 
Old 02-02-2004, 04:44 PM   #6
balanagireddy
Member
 
Registered: Sep 2003
Location: India
Distribution: redhat linux 9.0
Posts: 46

Original Poster
Rep: Reputation: 15
Yes,My Pc sucks.....
Where can i get description of all the above processes??
 
Old 02-02-2004, 04:47 PM   #7
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Keep these, they are vital:

root 1 0.0 0.0 1368 64 ? S Jan29 0:04 init [5]
root 2 0.0 0.0 0 0 ? SW Jan29 0:00 [keventd]
root 3 0.0 0.0 0 0 ? SW Jan29 0:00 [kapmd]
root 4 0.0 0.0 0 0 ? SWN Jan29 0:00 [ksoftirqd_CPU0]
root 9 0.0 0.0 0 0 ? SW Jan29 0:00 [bdflush]
root 5 0.0 0.0 0 0 ? SW Jan29 0:00 [kswapd]
root 6 0.0 0.0 0 0 ? SW Jan29 0:00 [kscand/DMA]
root 7 0.0 0.0 0 0 ? SW Jan29 2:19 [kscand/Normal]
root 8 0.0 0.0 0 0 ? SW Jan29 0:00 [kscand/HighMem]
root 10 0.0 0.0 0 0 ? SW Jan29 0:00 [kupdated]
root 11 0.0 0.0 0 0 ? SW Jan29 0:00 [mdrecoveryd]
root 15 0.0 0.0 0 0 ? SW Jan29 0:00 [kjournald]
root 73 0.0 0.0 0 0 ? SW Jan29 0:00 [khubd]
root 2259 0.0 0.0 0 0 ? SW Jan29 0:00 [kjournald]
root 2553 0.0 0.0 1532 160 ? S Jan29 0:00 syslogd -m 0
root 2557 0.0 0.0 1368 156 ? S Jan29 0:00 klogd -x

Dont really need this one unless your going to be running an NFS server, etc:

rpc 2575 0.0 0.0 1540 0 ? SW Jan29 0:00 [portmap]

This one is for ssh, if your going to login remotely to gain shell access securely:

root 2611 0.0 0.0 3504 320 ? S Jan29 0:00 /usr/sbin/sshd

To run misc type daemons, like telnet, ftp, samba, and others, not totally necessary but you might want to keep running or add services to run. Learn more by looking at the man pages:

root 2625 0.0 0.0 2032 4 ? S Jan29 0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid

This one is your FTP server if you want to have one:

root 2636 0.0 0.0 1596 8 ?Jan29 :00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf

For running your mouse under your console, for cut and paste, etc. Not totally necessary:

root 2647 0.0 0.0 1412 60 ? S Jan29 0:00 gpm -t imps2 -m /dev/mouse

This is for your filesystem, man xfs for more details, most likely you want to keep:

xfs 2725 0.0 0.0 6328 56 ? S Jan29 0:00 [xfs]

To run commands at later times, sort of like cron:

daemon 2743 0.0 0.0 1404 160 ? S Jan29 0:00 [atd]

You'll want to keep these:

root 2749 0.0 0.0 1348 4 tty1 S Jan29 0:00 /sbin/mingetty tty1
root 2750 0.0 0.0 1348 4 tty2 S Jan29 0:00 /sbin/mingetty tty2
root 2751 0.0 0.0 1348 4 tty3 S Jan29 0:00 /sbin/mingetty tty3
root 2752 0.0 0.0 1348 4 tty4 S Jan29 0:00 /sbin/mingetty tty4
root 2753 0.0 0.0 1348 4 tty5 S Jan29 0:00 /sbin/mingetty tty5
root 2754 0.0 0.0 1348 4 tty6 S Jan29 0:00 /sbin/mingetty tty6

Most likely you login thru GDM and startup in X, keep these:

root 2755 0.0 0.0 14112 0 ? SW Jan29 0:00 [gdm-binary]
root 2804 0.0 0.0 14872 0 ? SW Jan29 0:00 [gdm-binary]

These all look like part of KDE, probably want to keep running if you use KDE:

root 2805 1.0 9.1 200824 41080 ? RL Jan29 62:07 /usr/X11R6/bin/X :0 -auth /var/gdm/:0.Xauth vt7
516 2816 0.0 0.0 4128 4 ? S Jan29 0:00 /bin/sh /usr/bin/startkde
516 2865 0.0 0.0 3144 140 ? S Jan29 0:00 /usr/bin/ssh-agent /usr/share/apps/switchdesk/Xclients.kde
516 2908 0.0 0.0 25624 332 ? S Jan29 0:00 kdeinit: Running...
516 2911 0.0 0.1 27344 624 ? S Jan29 0:00 kdeinit: dcopserver --nosid
516 2914 0.0 0.2 28676 1108 ? S Jan29 0:00 kdeinit: klauncher
516 2916 0.0 1.0 30964 4856 ? S Jan29 0:04 kdeinit: kded
516 2932 0.8 0.6 9132 2924 ? S Jan29 53:01 /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3 -f
516 2937 0.0 0.3 34420 1600 ? S Jan29 0:01 kdeinit: knotify
516 2938 0.0 0.0 1356 40 ? S Jan29 0:00 kwrapper ksmserver
516 2940 0.0 0.1 29592 800 ? S Jan29 0:00 kdeinit: ksmserver
516 2941 0.0 0.9 30656 4044 ? S Jan29 0:42 kdeinit: kwin -session 117f000001000106921281300000036540000_1074354072_607219
516 2943 0.0 0.8 31908 3840 ? S Jan29 0:27 kdeinit: kdesktop
516 2945 0.0 1.2 33828 5512 ? S Jan29 0:30 kdeinit: kicker
516 2946 0.0 0.1 26632 660 ? S Jan29 0:00 kdeinit: kio_file file /tmp/ksocket-sashikumarq9z0Rw/klauncherGtAGja.slave-socket /tmp/ksocke
516 2947 0.0 0.0 4348 300 ? S Jan29 0:37 /usr/bin/autorun -l --interval=1000 --cdplayer=/usr/bin/kscd
516 2953 0.0 0.1 30232 464 ? S Jan29 0:00 kdeinit: kwrited
516 2954 0.0 0.1 11636 660 ? S Jan29 0:00 /usr/bin/pam-panel-icon --sm-client-id 117f000001000106921281700000036540006
root 2955 0.0 0.0 1404 132 ? S Jan29 0:00 [pam_timestamp_c]
516 2957 0.0 0.1 29464 452 ? S Jan29 0:00 kalarmd --login
516 2962 0.0 1.7 47180 7688 ? S Jan29 1:11 kdeinit: konsole

Anything with this, is your user logged in using the shell. You can't kill this or you'll find yourself logged out:

516 10313 0.0 0.2 4368 1180 pts/2 S 13:23 0:00 /bin/bash

All the others I'm sure are self explanatory, like xmms, mozilla and mplayer, I'm sure your running those when you ran the command ps -aux.

Regards.
 
Old 02-02-2004, 04:48 PM   #8
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally posted by balanagireddy
Yes,My Pc sucks.....
Where can i get description of all the above processes??
You have to be patient.. I was replying and you should have quit some of the apps you were running that were self explanatory, to make your list smaller..
 
Old 02-02-2004, 04:56 PM   #9
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
None of this stuff is likely to improve your performance noticeably, or even measurably.

There are a few steps that MIGHT help.

1. Recompile large, heavily used apps, with optimization for your processor. This will make a tiny difference that in most cases isn't noticeable, plus it's a lot of work, and if you have a slow CPU it'll take a long time. (no disrespect to the gentoo people here)

2. Run leaner, meaner apps. Ditch all the kde stuff. Change your window manager to fluxbox or icewm or something with a reasonably lean configuration. (Mainly this will save memory.)

3. Use Firebird instead of Mozilla. I think you'll be pleasantly surprised here.

4. Consider switching to a 2.6 kernel, it will definitely feel faster for desktop apps. HOWEVER! If you have low memory (around 64 megs or less (or you just run too many memory hogs)), it might actually slow you down instead. Depends on how much you're swapping.

What CPU do you have and how much memory?
 
Old 02-02-2004, 04:57 PM   #10
balanagireddy
Member
 
Registered: Sep 2003
Location: India
Distribution: redhat linux 9.0
Posts: 46

Original Poster
Rep: Reputation: 15
Hey Trickykid,
I want to stop some processes of the above for ever.
Can u tell me how to stop them??
 
Old 02-02-2004, 05:00 PM   #11
balanagireddy
Member
 
Registered: Sep 2003
Location: India
Distribution: redhat linux 9.0
Posts: 46

Original Poster
Rep: Reputation: 15
Recompile large, heavily used apps, with optimization for your processor. This will make a tiny difference that in most cases isn't noticeable, plus it's a lot of work, and if you have a slow CPU it'll take a long time. (no disrespect to the gentoo people here)

Can u explain me the how to recompile??

I got a pc with pentium-3 processor and 128 mb ram..
 
Old 02-02-2004, 05:06 PM   #12
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Of the 4 options, recompiling your apps is the one that will do the LEAST amount of good for you.

What particular slowness symptoms are you experiencing the most problems with?
 
Old 02-02-2004, 05:11 PM   #13
balanagireddy
Member
 
Registered: Sep 2003
Location: India
Distribution: redhat linux 9.0
Posts: 46

Original Poster
Rep: Reputation: 15
Suppose I start a application and it experienced an error(mplayer or xmms) and it quits.
And from then onwards my pc is too slow even though i stop that process.
How to improve my pc performance even then.
 
Old 02-02-2004, 06:16 PM   #14
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally posted by balanagireddy
Suppose I start a application and it experienced an error(mplayer or xmms) and it quits.
And from then onwards my pc is too slow even though i stop that process.
How to improve my pc performance even then.
If your pc is experiencing such slowness even due to that reason, I'd seriously be testing my memory for leaks, etc.

XMMS is not that big of a resource and if you close an app and yes, it will usualy still be in memory and it impacts your computer that much, you either need to add more RAM or check your RAM, etc.

That would be my first suggestion.
 
Old 02-03-2004, 02:10 AM   #15
enigmasoldier
Member
 
Registered: Jul 2003
Location: Florence, Ky
Distribution: CentOS 3.3-4, OpenBSD 3.3, Fedora Core 4, Ubuntu, Novell Open Enterprise Server
Posts: 213

Rep: Reputation: 30
This guy uses redhat! he needs to tune his sysvinit startup scripts as redhat boots entirely too much stuff. I have preached enough about sysvinit on other threads. Will someone else take this one?
 
  


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
How to tell a C++ programme to quit ? yogeshm02 Programming 3 09-09-2005 05:59 AM
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 01:58 AM
Quit spotslayer Linux - Wireless Networking 1 06-20-2004 12:29 AM
installers quit benazonafunk Linux - General 4 08-25-2003 05:12 PM
Help!! ..X quit hyd_lin Linux - Software 0 06-10-2003 07:22 AM


All times are GMT -5. The time now is 04:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration