LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-01-2005, 10:09 PM   #1
vaderj
LQ Newbie
 
Registered: Jan 2005
Location: fargo
Distribution: Slack man since ver 3
Posts: 9

Rep: Reputation: 0
To many #*$!$@!%! Processes!


Just upgraded to Slack 10 on my laptop, and have been having performance issues with it, kinda slow (well, thats to put it nice, its dog a$$'ed slow)
so i did a ps ax .... and good god almighty wtf !!

PID TTY STAT TIME COMMAND
1 ? S 0:00 init [3]
2 ? S 0:00 [migration/0]
3 ? SN 0:00 [ksoftirqd/0]
4 ? S< 0:00 [events/0]
5 ? S< 0:00 [khelper]
6 ? S< 0:00 [kacpid]
38 ? S< 0:00 [kblockd/0]
39 ? S 0:00 [khubd]
52 ? S< 0:00 [aio/0]
51 ? S 0:59 [kswapd0]
640 ? S 0:00 [kseriod]
659 ? S< 0:00 [ata/0]
660 ? S 0:00 [khpsbpkt]
681 ? S 0:06 [kjournald]
824 ? S<s 0:00 udevd
1748 ? Ss 0:00 /usr/sbin/syslogd
1751 ? Ss 0:00 /usr/sbin/klogd -c 3 -x
1763 ? S 0:00 [pccardd]
1781 ? S 0:00 [pccardd]
1818 ? Ss 0:00 /sbin/cardmgr
2530 ? Ss 0:00 /usr/sbin/inetd
2535 ? Ss 0:00 /usr/sbin/sshd
2547 ? S 0:00 /usr/sbin/crond -l10
2549 ? Ss 0:00 /usr/sbin/atd -b 15 -l 1
2553 ? Ss 0:00 /usr/sbin/acpid
2590 ? Ss 0:00 /usr/sbin/smbd -D
2592 ? Ss 0:00 /usr/sbin/nmbd -D
2594 ? Ss 0:00 /usr/sbin/gpm -m /dev/mouse -t imps2
2599 tty1 Ss 0:00 -bash
2600 tty2 Ss+ 0:00 /sbin/agetty 38400 tty2 linux
2601 tty3 Ss+ 0:00 /sbin/agetty 38400 tty3 linux
2602 tty4 Ss+ 0:00 /sbin/agetty 38400 tty4 linux
2603 tty5 Ss+ 0:00 /sbin/agetty 38400 tty5 linux
2604 tty6 Ss+ 0:00 /sbin/agetty 38400 tty6 linux
4715 ? Ss 0:00 /usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=18
4737 ? S 0:00 /usr/libexec/evolution-data-server-1.0 --oaf-activate-iid=OAFIID:GNOME_Evolution_DataServe
4739 ? S 0:00 /usr/libexec/evolution-data-server-1.0 --oaf-activate-iid=OAFIID:GNOME_Evolution_DataServe
4740 ? S 0:00 /usr/libexec/evolution-data-server-1.0 --oaf-activate-iid=OAFIID:GNOME_Evolution_DataServe
4748 ? S 0:00 /usr/libexec/evolution-data-server-1.0 --oaf-activate-iid=OAFIID:GNOME_Evolution_DataServe
4884 tty1 S+ 0:00 /bin/sh /usr/X11R6/bin/startx
4895 tty1 S+ 0:00 xinit /root/.xinitrc --
4896 tty1 S< 6:04 X :0
4916 tty1 S 0:00 sh /root/.xinitrc
4919 ? Ss 0:00 imwheel -k -b 67
4920 tty1 S 0:00 /bin/sh /opt/kde/bin/startkde
4942 ? Ss 0:00 kdeinit Running...
4945 ? S 0:00 dcopserver [kdeinit] dcopserver --nosid
4947 ? S 0:00 klauncher [kdeinit] klauncher
4950 ? S 0:08 kded [kdeinit] kded
4959 ? S 0:01 artsd -F 10 -S 4096 -s 60 -m artsmessage -c drkonqi -l 3 -f
4961 ? S 0:01 knotify [kdeinit] knotify
4962 tty1 S 0:00 kwrapper ksmserver
4964 ? S 0:00 ksmserver [kdeinit] ksmserver
4965 ? S 0:03 kwin [kdeinit] kwin -session 11c0a80004000110347489600000010820000_1104620898_458665
4968 ? S 0:00 khotkeys [kdeinit] khotkeys
4969 ? S 0:05 kdesktop [kdeinit] kdesktop
4971 ? S 0:05 kicker [kdeinit] kicker
4974 ? S 0:00 kio_file [kdeinit] kio_file file /tmp/ksocket-root/klauncher2o2uUb.slave-socket /tmp/ksock
4975 ? S 0:02 kmix [kdeinit] kmix -session 11c0a80004000110389395700000027260010_1104620898_360255
4976 ? S 0:00 /usr/libexec/evolution/2.0/evolution-alarm-notify --sm-config-prefix /evolution-alarm-noti
4977 ? S 0:30 gaim --session 11c0a80004000110409203600000050580005
4979 ? S 0:00 /usr/libexec/gconfd-2 14
4980 ? S 0:00 /usr/libexec/evolution/2.0/evolution-alarm-notify --sm-config-prefix /evolution-alarm-noti
4981 ? S 0:00 /usr/libexec/evolution/2.0/evolution-alarm-notify --sm-config-prefix /evolution-alarm-noti
5040 ? Ss 0:00 lisa
5058 ? S 0:00 /bin/sh /opt/firefox-installer/firefox
5071 ? S 0:00 /bin/sh /opt/firefox-installer/run-mozilla.sh /opt/firefox-installer/firefox-bin
5076 ? S 1:58 /opt/firefox-installer/firefox-bin
5079 ? S 0:00 /opt/firefox-installer/firefox-bin
5080 ? S 0:01 /opt/firefox-installer/firefox-bin
5082 ? S 0:00 /opt/firefox-installer/firefox-bin
5176 ? Z 0:00 [netstat] <defunct>
5188 ? S 0:02 konsole [kdeinit] konsole --ls
5189 pts/2 Ss 0:00 -bash
5689 pts/2 S 0:00 /usr/bin/vmnet-bridge -d /var/run/vmnet-bridge-0.pid /dev/vmnet0 eth0
5693 pts/2 S 0:00 /usr/bin/vmnet-bridge -d /var/run/vmnet-bridge-2.pid /dev/vmnet2 eth1
5701 ? Ss 0:23 /usr/bin/vmnet-natd -d /var/run/vmnet-natd-8.pid -m /var/run/vmnet-natd-8.mac -c /etc/vmwa
5712 pts/2 S 0:00 /usr/bin/vmnet-netifup -d /var/run/vmnet-netifup-vmnet8.pid /dev/vmnet8 vmnet8
5745 ? Ss 0:00 /usr/bin/vmnet-dhcpd -cf /etc/vmware/vmnet8/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet8/dhcpd/
5801 ? Ss 0:00 smbmount //192.168.0.2/D$ /mnt/hd -o username administrator
5803 ? S 0:00 [smbiod]
5859 ? S 0:01 [pdflush]
5983 ? S 0:00 [pdflush]
6024 ? S 0:03 /usr/lib/vmware/bin/vmware
6100 pts/2 R+ 0:00 ps ax

Is there a database/list of commen processes that to cross this load of crap with? or does anyone have the ability to maybe explain all this CRAP. I think i have found my performance issues......

Thanks
 
Old 01-01-2005, 10:19 PM   #2
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
try doing ps aux or top to see what's actually using the resources
 
Old 01-01-2005, 10:20 PM   #3
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Looks fairly normal to me, for the most part. I can't explain what every one of them is, but all the ones in square brackets (the first ones listed) are daemons for error logging, managing swap files, journaling your hard disk, etc. They usually don't affect performance, in my experience, and are usually fairly important to keep running.

Next are system daemons like cron, at, sshd, smbd, and so on. You can usually Google these to find out what they are, and decide if you need them. You probably want to keep cron, but you can probably get rid of at and sshd. Unless you're mounting/using Windows shared disks or printers, you don't need smbd and nmbd either.

The agettys are your consoles, which you can get to using control-alt-F1 through F6. You can get rid of some of these by editing /etc/inittab (as root) and commenting out some of the lines beginning with "c6:12345:respawn:/sbin/agetty". You should probably keep at least the first two (c1 and c2), just in case. They don't use much memory and practically no CPU unless you're using them.

KDE applications usually necessitate half a dozen seemingly unrelated processes. That's what the arts, kdeinit, kded, knotify, and stuff is. If you're running KDE, you probably can't really avoid having those.

Evolution is a pretty big, complex program, so it's taking up a bunch of processes as well. The same goes for VMware and Firefox, so don't be too surprised that there are so many of those.

Just for comparison, I have a fairly pared-down list of services, and use Fluxbox (nowhere near as heavyweight as KDE). With two terminal windows and Firefox open, I have 56 processes listed.

The real question is, though, which ones are hurting your performance? Find out what programs are using the most CPU and memory by running 'top' (or Gtop or whatever you have).
 
Old 01-01-2005, 10:21 PM   #4
mAineAc
Member
 
Registered: Nov 2000
Location: Hermon, ME
Distribution: slackware
Posts: 201

Rep: Reputation: 30
use a lighter weight WM like fluxbox and see how that does. Not necessarily permanent just to test. You have so many gnome and kde specific processes from programs you have running no wonder you have issues. And on top of that you are running vmware which is a huge resource hog.
 
Old 01-01-2005, 11:31 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Running Slackware 10 with Gnome on one of my desktops with just xmms and a firefox window running I get this, about 58 running processes compared to your 85 running processes :

Code:
  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:04 init [3]       
    2 ?        S      0:00 [keventd]
    3 ?        SN     0:00 [ksoftirqd_CPU0]
    4 ?        S      0:00 [kswapd]
    5 ?        S      0:00 [bdflush]
    6 ?        S      0:00 [kupdated]
   10 ?        S<     0:00 [mdrecoveryd]
   11 ?        S      0:00 [kjournald]
   44 ?        S      0:00 [kjournald]
   45 ?        S      0:00 [kjournald]
   46 ?        S      0:00 [kjournald]
   47 ?        S      0:00 [kjournald]
   48 ?        S      0:00 [kjournald]
   69 ?        Ss     0:00 /usr/sbin/syslogd
   72 ?        Ss     0:00 /usr/sbin/klogd -c 3 -x
  118 ?        Ss     0:00 /sbin/rpc.portmap
  120 ?        S      0:01 [rpciod]
  121 ?        S      0:00 [lockd]
  129 ?        Ss     0:00 /usr/sbin/inetd
  132 ?        Ss     0:00 /usr/sbin/sshd
  142 ?        S      0:00 /usr/sbin/crond -l10
  145 tty1     Ss     0:00 -bash
  146 tty2     Ss+    0:00 /sbin/agetty 38400 tty2 linux
  147 tty3     Ss+    0:00 /sbin/agetty 38400 tty3 linux
  148 tty4     Ss+    0:00 /sbin/agetty 38400 tty4 linux
  149 tty5     Ss+    0:00 /sbin/agetty 38400 tty5 linux
  150 tty6     Ss+    0:00 /sbin/agetty 38400 tty6 linux
  169 tty1     S+     0:00 /bin/sh /usr/X11R6/bin/startx
  182 tty1     S+     0:00 xinit /home/drew/.xinitrc --
  183 ?        R      8:53 X :0
  187 tty1     S      0:00 gnome-session
  189 tty1     S      0:00 /usr/libexec/gconfd-2 5
  193 tty1     S      0:00 /usr/bin/gnome-keyring-daemon
  195 ?        Ss     0:00 /usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=18
  197 ?        Ss     0:01 gnome-smproxy --sm-client-id default0
  199 ?        S      0:01 /usr/libexec/gnome-settings-daemon --oaf-activate-iid=OAFIID:GNOME_SettingsDaemon --oaf-ior-fd=23
  226 ?        Ss     0:06 metacity --sm-client-id=default1
  243 ?        Ss     0:01 gnome-panel --sm-client-id default2
  247 ?        S      0:02 /usr/libexec/wnck-applet --oaf-activate-iid=OAFIID:GNOME_Wncklet_Factory --oaf-ior-fd=27
  249 ?        S      0:00 /usr/libexec/mixer_applet2 --oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory --oaf-ior-fd=29
  275 ?        S      0:00 /usr/libexec/clock-applet --oaf-activate-iid=OAFIID:GNOME_ClockApplet_Factory --oaf-ior-fd=33
 1171 ?        S      0:00 xmms
 1172 ?        S      0:00 xmms
 1173 ?        S      0:00 xmms
 1176 ?        S      0:00 xmms
 1200 ?        S      0:00 /bin/sh /usr/local/bin/firefox/firefox
 1212 ?        S      0:00 /bin/sh /usr/local/bin/firefox/run-mozilla.sh /usr/local/bin/firefox/firefox-bin
 1217 ?        S      0:47 /usr/local/bin/firefox/firefox-bin
 1219 ?        S      0:00 /usr/local/bin/firefox/firefox-bin
 1220 ?        S      0:00 /usr/local/bin/firefox/firefox-bin
 1222 ?        S      0:00 /usr/local/bin/firefox/firefox-bin
 1265 ?        S      0:00 xterm -bg black -fg white
 1267 pts/0    Ss     0:00 bash
 1341 pts/0    R+     0:00 ps -ax
 
  


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
Too many processes CelticSoul Linux - Software 1 10-22-2005 03:09 AM
How many processes does everyone have? Furlinastis Slackware 22 09-26-2005 03:53 AM
What are these processes doing? Dark Jedi Linux - Newbie 1 12-15-2004 08:44 AM
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 02:58 AM
processes nautilus_1987 Linux - Software 11 09-28-2002 07:55 AM

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

All times are GMT -5. The time now is 03:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration