How to keep unnecessary processes from starting

Charles Howse chowse at charter.net
Fri Mar 13 15:35:01 UTC 2009


On Mar 10, 2009, at 11:10 AM, Jhair Tocancipa Triana wrote:

> Charles Howse <chowse at charter.net> writes:
>
>> 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?
>>
>
> k* processes are chaff :-)...
>
> It depends on what you use the machine for. For instance, do you use  
> it
> to serve files via FTP?
>
>> 5754 proftpd   20   0  5052 1432  616 S  0.0  0.6   0:05.18 proftpd

  Hi Jhair,
I uninstalled proftpd a day or two ago, so now I'm only using sftp via  
ssh.
The only thing I use the machine for is to upload files for storage,  
and I need a pop3 server to get the system logs and reports via email  
on my Mac.

Could you lease explain why k* processes are chaff?

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<   Mar11   0:00  
[kthreadd]
root         3  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[migration/0]
root         4  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[watchdog/0]
root         6  0.0  0.0      0     0 ?        S<   Mar11   0:05  \_  
[events/0]
root         7  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[khelper]
root        46  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[kintegrityd/0]
root        48  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[kblockd/0]
root        69  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[cqueue]
root        73  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[kseriod]
root       115  0.0  0.0      0     0 ?        S    Mar11   0:00  \_  
[pdflush]
root       116  0.0  0.0      0     0 ?        S    Mar11   0:02  \_  
[pdflush]
root       117  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[kswapd0]
root       162  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[aio/0]
root      1042  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[ksuspend_usbd]
root      1044  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[khubd]
root      1076  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[ata/0]
root      1078  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[ata_aux]
root      1093  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[scsi_eh_0]
root      1095  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[scsi_eh_1]
root      1917  0.0  0.0      0     0 ?        S<   Mar11   0:02  \_  
[kjournald]
root      3253  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[kjournald]
root      3254  0.0  0.0      0     0 ?        S<   Mar11   0:00  \_  
[kjournald]
root         1  0.0  0.7   2944  1860 ?        Ss   Mar11   0:13 /sbin/ 
init
root      2064  0.0  0.2   2176   684 ?        S<s  Mar11   0:03 /sbin/ 
udevd --daemon
root      3552  0.0  0.1   1668   496 tty4     Ss+  Mar11   0:00 /sbin/ 
getty 38400 tty4
root      3555  0.0  0.1   1668   500 tty5     Ss+  Mar11   0:00 /sbin/ 
getty 38400 tty5
root      3562  0.0  0.1   1668   496 tty2     Ss+  Mar11   0:00 /sbin/ 
getty 38400 tty2
root      3566  0.0  0.1   1668   504 tty3     Ss+  Mar11   0:00 /sbin/ 
getty 38400 tty3
root      3567  0.0  0.1   1668   500 tty6     Ss+  Mar11   0:00 /sbin/ 
getty 38400 tty6
syslog    3605  0.0  0.2   1884   696 ?        Ss   Mar11   0:02 /sbin/ 
syslogd -u syslog
root      3623  0.0  0.2   1824   528 ?        S    Mar11   0:00 /bin/ 
dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg
klog      3625  0.0  0.7   3136  1988 ?        Ss   Mar11   0:01 /sbin/ 
klogd -P /var/run/klogd/kmsg
104       3643  0.0  0.3   2508   780 ?        Ss   Mar11   0:06 /bin/ 
dbus-daemon --system
root      3674  0.0  0.2   2052   668 ?        Ss   Mar11   0:15 /usr/ 
sbin/dovecot
root      3678  0.0  0.9   9396  2348 ?        S    Mar11   0:05  \_  
dovecot-auth
dovecot  12320  0.0  0.6   3424  1556 ?        S    10:10   0:00  \_  
pop3-login
root     12359  0.0  0.9   9396  2384 ?        S    10:25   0:00  \_  
dovecot-auth -w
daemon    3690  0.0  0.1   1940   440 ?        Ss   Mar11   0:00 /usr/ 
sbin/atd
root      3716  0.0  0.3   3284  1008 ?        Ss   Mar11   0:01 /usr/ 
sbin/cron
root      3726  0.0  0.1   1668   496 tty1     Ss+  Mar11   0:00 /sbin/ 
getty 38400 tty1
root      3731  0.0  0.9  16076  2512 ?        Ssl  Mar11   0:19 /usr/ 
sbin/console-kit-daemon
root     11605  0.0  0.4   5180  1052 ?        Ss   06:40   0:00 /usr/ 
sbin/sshd
root     12385  2.9  1.0   8204  2784 ?        Ss   10:31   0:00  \_  
sshd: charles [priv]
charles  12392  0.2  0.6   8204  1544 ?        S    10:31   0:00       
\_ sshd: charles at pts/0
charles  12393 13.4  1.1   5472  2932 pts/0    Ss   10:31    
0:02          \_ -bash
charles  12409  0.0  0.3   2616   972 pts/0    R+   10:31    
0:00              \_ ps auxwwf






More information about the ubuntu-users mailing list