FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 03-10-2009, 12:12 PM
Charles Howse
 
Default How to keep unnecessary processes from starting

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?


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?




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 03-10-2009, 01:56 PM
Mark Janssen
 
Default How to keep unnecessary processes from starting

On Tue, Mar 10, 2009 at 2:12 PM, Charles Howse <chowse@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 Janssen -- maniac(at)maniac.nl -- pgp: 0x357D2178 | ,'`. |
Unix / Linux Open-Source and Internet Consultant @ Snow.nl | : :' : |
Maniac.nl MarkJanssen.nl NerdNet.nl Unix.nl | `. `' |
Skype: markmjanssen ICQ: 129696007 irc: FooBar on undernet | `- |

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 03-10-2009, 02:21 PM
Brian McKee
 
Default How to keep unnecessary processes from starting

On Tue, Mar 10, 2009 at 9:12 AM, Charles Howse <chowse@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?

Well, I don't know too much how to help - since your wheat might be
our chaff :-)
e.g. if you are not running a mail server some of that stuff is chaff
- but if you are, it's wheat.
It doesn't look that bad to me.

ps -auxwwf is much more readable for me for that task, and shows association.
If it's in square brackets leave it alone :-)

Brian

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 05:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org