How to keep unnecessary processes from starting
Chris Jones
jonesc at hep.phy.cam.ac.uk
Tue Mar 10 16:32:07 UTC 2009
Hi,
Charles Howse 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?
Exactly what processes do you think are superfluous ? I don't see
anything there I wouldn't expect to see ...
That said, what you expect depends entirely on what you want this
machine to do ? Is it a web server, an NFS server, Samba server etc...
Do you want ssh access or not. etc. etc.
I would suggest better than just randomly looking at processes, to look
at the services you have running and disable those you know you don't need.
cheers Chris
>
>
> top - 06:18:40 up 1 day, 13:19, 1 user, load average: 0.02, 0.21, 0.15
> Tasks: 51 total, 1 running, 50 sleeping, 0 stopped, 0 zombie
> Cpu(s): 1.4%us, 4.1%sy, 0.0%ni, 93.0%id, 0.1%wa, 0.2%hi,
> 1.3%si, 0.0%st
> Mem: 254716k total, 237116k used, 17600k free, 10456k buffers
> Swap: 393552k total, 4660k used, 388892k free, 193432k cached
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 13029 charles 20 0 2284 964 764 R 7.2 0.4 0:00.10 top
> 1 root 20 0 2944 1860 544 S 0.0 0.7 0:13.98 init
> 2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd
> 3 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
> 4 root 15 -5 0 0 0 S 0.0 0.0 0:00.66 ksoftirqd/0
> 5 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
> 6 root 15 -5 0 0 0 S 0.0 0.0 0:04.76 events/0
> 7 root 15 -5 0 0 0 S 0.0 0.0 0:00.24 khelper
> 46 root 15 -5 0 0 0 S 0.0 0.0 0:00.00
> kintegrityd/0
> 48 root 15 -5 0 0 0 S 0.0 0.0 0:02.08 kblockd/0
> 69 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 cqueue
> 73 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod
> 115 root 20 0 0 0 0 S 0.0 0.0 0:43.12 pdflush
> 116 root 20 0 0 0 0 S 0.0 0.0 6:50.68 pdflush
> 117 root 15 -5 0 0 0 S 0.0 0.0 2:01.47 kswapd0
> 162 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
> 1029 root 15 -5 0 0 0 S 0.0 0.0 0:00.00
> ksuspend_usbd
> 1031 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khubd
> 1073 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ata/0
> 1075 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ata_aux
> 1090 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
> 1092 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
> 1919 root 15 -5 0 0 0 S 0.0 0.0 0:11.16 kjournald
> 2069 root 16 -4 2176 684 392 S 0.0 0.3 0:04.12 udevd
> 3272 root 15 -5 0 0 0 S 0.0 0.0 0:17.16 kjournald
> 3273 root 15 -5 0 0 0 S 0.0 0.0 0:57.72 kjournald
> 3623 root 20 0 1668 496 436 S 0.0 0.2 0:00.00 getty
> 3625 root 20 0 1668 504 436 S 0.0 0.2 0:00.00 getty
> 3633 root 20 0 1668 504 436 S 0.0 0.2 0:00.00 getty
> 3637 root 20 0 1668 500 436 S 0.0 0.2 0:00.00 getty
> 3638 root 20 0 1668 496 436 S 0.0 0.2 0:00.00 getty
> 3676 syslog 20 0 1884 696 540 S 0.0 0.3 0:02.54 syslogd
> 3694 root 20 0 1824 528 436 S 0.0 0.2 0:00.66 dd
> 3696 klog 20 0 3136 1984 420 S 0.0 0.8 0:01.82 klogd
> 3714 messageb 20 0 2508 784 588 S 0.0 0.3 0:05.52 dbus-daemon
> 3745 root 20 0 2052 668 524 S 0.0 0.3 0:14.38 dovecot
> 3747 root 20 0 9396 2356 1796 S 0.0 0.9 0:05.68 dovecot-auth
> 3771 daemon 20 0 1940 444 316 S 0.0 0.2 0:00.00 atd
> 3796 root 20 0 3284 1016 804 S 0.0 0.4 0:01.32 cron
> 3806 root 20 0 1668 504 436 S 0.0 0.2 0:00.00 getty
> 3811 root 20 0 16076 2500 1596 S 0.0 1.0 0:17.69 console-
> kit-dae
> 5754 proftpd 20 0 5052 1432 616 S 0.0 0.6 0:05.18 proftpd
> 5856 root 20 0 5180 1052 664 S 0.0 0.4 0:00.02 sshd
> 11691 root 20 0 8204 2812 2256 S 0.0 1.1 0:00.58 sshd
> 11698 charles 20 0 8340 1560 984 S 0.0 0.6 0:01.86 sshd
> 11699 charles 20 0 5472 2928 1424 S 0.0 1.1 0:02.08 bash
> 12220 root 20 0 9396 2384 1852 S 0.0 0.9 0:00.22 dovecot-
> auth
> 12222 dovecot 20 0 3424 1556 1288 S 0.0 0.6 0:00.06 pop3-login
> 12623 dovecot 20 0 3424 1552 1288 S 0.0 0.6 0:00.06 pop3-login
> 12994 dovecot 20 0 3424 1552 1288 S 0.0 0.6 0:00.06 pop3-login
> 13018 charles 20 0 4248 1496 1056 S 0.0 0.6 0:00.10
> daily_report.sh
>
>
> --
> Thanks,
> Charles
>
> Things that make you say, Hmmmmmm...
> How can someone be dirt poor, and another be filthy rich?
>
>
>
>
More information about the ubuntu-users
mailing list