How to keep unnecessary processes from starting

Charles Howse chowse at charter.net
Tue Mar 10 18:46:56 UTC 2009


On Mar 10, 2009, at 9:56 AM, Mark Janssen wrote:

> On Tue, Mar 10, 2009 at 2:12 PM, Charles Howse <chowse at charter.net>  
> wrote:
>> Hi,
>> I have 8.10-server-i386 running in command-line only.
>> Surely some of the processes below are unnecessary.
>> What's the best way to separate the wheat from the chaff?
>
> Actually... that already is a clean list without any useless stuff  
> running.
> Unless you want to lose your mailserver, the only thing you could
> remove were some of the getty's (but then you lose some consoles)

Mark, Brian, thanks for the replies!  I guess I was thinking that the  
processes that started with k had something to do with a gui that had  
been installed without my knowledge.
A little rtfm would have been in order before I posted, eh?  ;-)
Thanks again, I'll not fix it if it's not broken!

charles at shemp:~$ ps auxwwf
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         2  0.0  0.0      0     0 ?        S<   Mar07   0:00  
[kthreadd]
root         3  0.0  0.0      0     0 ?        S<   Mar07   0:00  \_  
[migration/0]
root         4  0.0  0.0      0     0 ?        S<   Mar07   0:00  \_  
[ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   Mar07   0:00  \_  
[watchdog/0]
root         6  0.0  0.0      0     0 ?        S<   Mar07   0:08  \_  
[events/0]
root         7  0.0  0.0      0     0 ?        S<   Mar07   0:00  \_  
[khelper]
root        46  0.0  0.0      0     0 ?        S<   Mar07   0:00  \_  
[kintegrityd/0]
root        48  0.0  0.0      0     0 ?        S<   Mar07   0:02  \_  
[kblockd/0]
root        69  0.0  0.0      0     0 ?        S<   Mar07   0:00  \_  
[cqueue]
root        73  0.0  0.0      0     0 ?        S<   Mar07   0:00  \_  
[kseriod]
root       115  0.0  0.0      0     0 ?        S    Mar07   0:43  \_  
[pdflush]
root       116  0.1  0.0      0     0 ?        S    Mar07   6:52  \_  
[pdflush]
root       117  0.0  0.0      0     0 ?        S<   Mar07   2:01  \_  
[kswapd0]
root       162  0.0  0.0      0     0 ?        S<   Mar07   0:00  \_  
[aio/0]
root      1029  0.0  0.0      0     0 ?        S<   Mar07   0:00  \_  
[ksuspend_usbd]
root      1031  0.0  0.0      0     0 ?        S<   Mar07   0:00  \_  
[khubd]
root      1073  0.0  0.0      0     0 ?        S<   Mar07   0:00  \_  
[ata/0]
root      1075  0.0  0.0      0     0 ?        S<   Mar07   0:00  \_  
[ata_aux]
root      1090  0.0  0.0      0     0 ?        S<   Mar07   0:00  \_  
[scsi_eh_0]
root      1092  0.0  0.0      0     0 ?        S<   Mar07   0:00  \_  
[scsi_eh_1]
root      1919  0.0  0.0      0     0 ?        S<   Mar07   0:12  \_  
[kjournald]
root      3272  0.0  0.0      0     0 ?        S<   Mar07   0:17  \_  
[kjournald]
root      3273  0.0  0.0      0     0 ?        S<   Mar07   0:57  \_  
[kjournald]
root         1  0.0  0.7   2944  1860 ?        Ss   Mar07   0:14 /sbin/ 
init
root      2069  0.0  0.2   2176   684 ?        S<s  Mar07   0:04 /sbin/ 
udevd --daemon
root      3623  0.0  0.1   1668   496 tty4     Ss+  Mar07   0:00 /sbin/ 
getty 38400 tty4
root      3625  0.0  0.1   1668   504 tty5     Ss+  Mar07   0:00 /sbin/ 
getty 38400 tty5
root      3633  0.0  0.1   1668   504 tty2     Ss+  Mar07   0:00 /sbin/ 
getty 38400 tty2
root      3637  0.0  0.1   1668   500 tty3     Ss+  Mar07   0:00 /sbin/ 
getty 38400 tty3
root      3638  0.0  0.1   1668   496 tty6     Ss+  Mar07   0:00 /sbin/ 
getty 38400 tty6
syslog    3676  0.0  0.2   1884   696 ?        Ss   Mar07   0:04 /sbin/ 
syslogd -u syslog
root      3694  0.0  0.2   1824   528 ?        S    Mar07   0:00 /bin/ 
dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg
klog      3696  0.0  0.7   3136  1984 ?        Ss   Mar07   0:01 /sbin/ 
klogd -P /var/run/klogd/kmsg
104       3714  0.0  0.3   2508   784 ?        Ss   Mar07   0:09 /bin/ 
dbus-daemon --system
root      3745  0.0  0.2   2052   668 ?        Ss   Mar07   0:25 /usr/ 
sbin/dovecot
root      3747  0.0  0.9   9396  2356 ?        S    Mar07   0:10  \_  
dovecot-auth
dovecot  19357  0.0  0.6   3424  1552 ?        S    11:33   0:00  \_  
pop3-login
dovecot  19385  0.0  0.6   3424  1556 ?        S    11:48   0:00  \_  
pop3-login
dovecot  19678  0.0  0.6   3424  1556 ?        S    13:33   0:00  \_  
pop3-login
daemon    3771  0.0  0.1   1940   444 ?        Ss   Mar07   0:00 /usr/ 
sbin/atd
root      3796  0.0  0.3   3284  1016 ?        Ss   Mar07   0:02 /usr/ 
sbin/cron
root      3806  0.0  0.1   1668   504 tty1     Ss+  Mar07   0:00 /sbin/ 
getty 38400 tty1
root      3811  0.0  1.0  16200  2608 ?        Ssl  Mar07   0:39 /usr/ 
sbin/console-kit-daemon
proftpd   5754  0.0  0.5   5052  1432 ?        Ss   Mar07   0:10  
proftpd: (accepting connections)
root      5856  0.0  0.4   5180  1052 ?        Ss   Mar07   0:00 /usr/ 
sbin/sshd
root     19681  0.1  1.1   8204  2812 ?        Ss   13:35   0:00  \_  
sshd: charles [priv]
charles  19688  0.0  0.6   8204  1548 ?        S    13:36   0:00       
\_ sshd: charles at pts/0
charles  19689  0.4  1.1   5472  2936 pts/0    Ss   13:36    
0:02          \_ -bash
charles  19769  0.0  0.3   2616   976 pts/0    R+   13:44    
0:00              \_ ps auxwwf





More information about the ubuntu-users mailing list