[linux-audio-user] Unnecessary Services

tim hall tech at glastonburymusic.org.uk
Wed Dec 29 15:14:30 EST 2004


Last Wednesday 29 December 2004 17:38, Lee Revell was like:
> On Wed, 2004-12-29 at 10:25 -0700, Hans Fugal wrote:
> > > How about posting the output of "ps ax", and we can tell you which ones
> > > you probably don't need.
> >
> > Or even better, "pstree". At least, I find this output easier to work
> > with when pruning a system.
>
> Cool, I didn't know about that.  "ps axf" is another good one.

'pstree' is new on me too, thanks.
Just for comparison's sake here's mine:

 $ ps fax
  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:00 init [5]
    2 ?        S      0:01 [keventd]
    3 ?        SN     0:00 [ksoftirqd_CPU0]
    4 ?        S      2:46 [kswapd]
    5 ?        S      0:00 [bdflush]
    6 ?        S      0:00 [kupdated]
  106 ?        S      0:00 [kjournald]
  220 ?        S      0:00 [kcopyd]
  260 ?        S      0:00 [kjournald]
  261 ?        S      0:00 [kjournald]
  262 ?        S      0:00 [kjournald]
  263 ?        S      0:00 [kjournald]
  264 ?        S      0:00 [kjournald]
  265 ?        S      0:00 [kjournald]
  266 ?        S      0:00 [kjournald]
  268 ?        S      0:00 [kjournald]
  269 ?        S      0:00 [kjournald]
  270 ?        S      0:00 [kjournald]
  271 ?        S      0:00 [kjournald]
  272 ?        S      0:00 [kjournald]
  368 ?        S      0:00 [khubd]
 1008 ?        Ss     0:00 /usr/bin/dbus-daemon-1 --system
 1314 ?        Ss     0:01 /usr/bin/X11/xfs -daemon
 1482 ?        S      0:00 [kapmd]
  474 ?        S      0:02 /usr/lib/gconf2/gconfd-2 13
 2093 tty1     Ss     0:00 -bash
 2113 tty1     S+     0:00  \_ /bin/sh /usr/bin/X11/startx
 2126 tty1     S+     0:00      \_ xinit /home/tim/.xinitrc 
-- /usr/X11R6/lib/X11/xinit/xserverrc
 2127 ?        R      0:03          \_ /usr/bin/X11/X -dpi 100 -nolisten tcp
 2130 tty1     S      0:01          \_ openbox
 2137 tty1     S      0:02              \_ fbpanel
 2140 tty1     S      0:02              \_ gkrellm
 2159 tty1     S      0:03 gnome-terminal
 2162 tty1     S      0:00  \_ gnome-pty-helper
 2163 pts/0    Ss     0:00  \_ bash
 2183 pts/0    R+     0:00  |   \_ ps fax
 2164 tty1     S      0:00  \_ gnome-terminal
 2165 tty1     S      0:00      \_ gnome-terminal
 2161 ?        Ss     0:00 /usr/lib/bonobo-activation/bonobo-activation-server 
--ac-activate --ior-output-fd=17

/etc/rc5.d $ ls
K10sysklogd  K20dictd    K20inetd       K20snort       K89atd      K99kdm        
S20irqbalance  S20xdebconfigurator  S99stop-bootlogd
K11anacron   K20exim4    K20lpd         K20ssh         K89cron     S18portmap    
S20makedev     S20xfs
K11klogd     K20fam      K20mzscheme    K20xprint      K91apache   S20alsa       
S20realtime    S21aumix
K14ppp       K20gpm      K20postgresql  K21nfs-common  K91apache2  
S20cfengine2  S20rsync       S99linuxlogo
K20cupsys    K20hddtemp  K20samba       K89anacron     K99gdm      S20dbus-1     
S20timidity    S99rmnologin
----

Obviously I can't print or do networking stuff in this runlevel and I do 
wonder whether I've gone too far in disabling the kernel logging daemons.
Rosegarden4 likes it. :-)

Any thoughts welcomed.

tim hall
http://glastonburymusic.org.uk



More information about the Linux-audio-user mailing list