On Tue, 24 Jun 2003, Tzafrir Cohen wrote:
> On Tue, Jun 24, 2003 at 07:14:01AM +0800, John Summerfield wrote:
> > On Mon, 23 Jun 2003, Jim Sibley wrote:
> >
> > > init
>
> You really can't kill init for any practical purpose.
>
> > > migration_CP (1 per CP)
> > > kmcheck
> > > kvventd
> > > ksoftirqd_CP
> > > kswapd
> > > bdflush
> > > kupdated
> > > kinoded
> > > mdrecoveryd
> > _I think_ you don't need that unless you're using RAID or LVM.
> >
> > > kreiserfsd
>
> All the above are kernel threads, not standard processes, right?
I really don't think all kernel threads are essential;-). Why would you
have a thread who's (apparent) purpose is to manage reiserfs if you
don't have support?
Here's what I have running on Debian/Woody under Herc:
skink:~# ps xa
PID TTY STAT TIME COMMAND
1 ? S 0:01 init
2 ? SW 0:00 [kmcheck]
3 ? SW 0:00 [keventd]
4 ? SWN 0:00 [ksoftirqd_CPU0]
5 ? SW 0:00 [kswapd]
6 ? SW 0:00 [bdflush]
7 ? SW 0:00 [kupdated]
8 ? SW 0:00 [kjournald]
80 ? S 0:00 /sbin/portmap
130 ? S 0:01 /sbin/syslogd
133 ? S 0:00 /sbin/klogd
136 ? S 0:00 /usr/sbin/named
138 ? S 0:00 /usr/sbin/named
139 ? S 0:00 /usr/sbin/named
140 ? S 0:00 /usr/sbin/named
141 ? S 0:00 /usr/sbin/named
143 ? S 0:00 /usr/sbin/lwresd
145 ? S 0:00 /usr/sbin/lwresd
146 ? S 0:00 /usr/sbin/lwresd
147 ? S 0:00 /usr/sbin/lwresd
148 ? S 0:00 /usr/sbin/lwresd
153 ? S 0:00 /sbin/rpc.statd
163 ? S 0:00 /usr/sbin/inetd
165 ? S 0:00 /usr/sbin/cupsd
168 ? S 0:00 /usr/sbin/lpd
185 ? S 0:00 /usr/sbin/sshd
189 ? S 0:06 /usr/bin/X11/xfs -daemon
192 ? S 0:00 /usr/sbin/atd
195 ? S 0:00 /usr/sbin/cron
199 ? S 0:00 /usr/sbin/apache
205 ? S 0:00 /usr/sbin/apache
206 ? S 0:00 /usr/sbin/apache
207 ? S 0:00 /usr/sbin/apache
208 ? S 0:00 /usr/sbin/apache
209 ? S 0:00 /usr/sbin/apache
211 ? S 0:00 /usr/bin/X11/xdm
212 ? S 0:00 /sbin/getty 38400 console dumb
214 ? S 0:00 /usr/bin/X11/xdm
215 ? S 0:00 /usr/bin/X11/xdm
216 ? S 0:00 in.telnetd: numbat.computerdatasafe.com.au
217 ? S 0:02 /usr/sbin/sshd
218 ? S 0:00 in.telnetd: numbat.computerdatasafe.com.au
220 pts/1 S 0:00 login -h numbat.computerdatasafe.com.au -p
221 pts/0 S 0:00 login -h numbat.computerdatasafe.com.au -p
222 pts/2 S 0:00 -bash
225 pts/2 R 0:01 ps xa
skink:~#
This system starts up in 8 Mbytes without any apparent errors, but any
TCP connexions to it time out. I can't connect via SSH or telnet, and I
can't get a web page off it.
>
> > No Reiserfs? don't need it.
>
> It will only be created if reiserfs filesystem is used? Or is it: if
> support is loaded?
If you don't have support, you can (probably) create it, but not mount
it.
>
> >
> > > lvm-mpd
> >
> > Only if you're using LVM.
> >
> > > qethsoft
> > > syslogd
> > > klogd
> > Only need those two if you want syslog. Probably you do.
> >
> >
> > > portmap
> > NFS uses that. OTOH, I _can_ mount NFS without it. Just yesterday I
> > build a kernel to mount a root filesystem on NFS, and that gets mounted
> > before it has any user-space programs whatever.
> >
> >
> > > sshd
>
> Leave it, if you want remote access to your machine.
>
> > > master
> > > pickup
> > > qmgr
> >
>
> postfix: master is the father process, creates some childern.
>
> Having a local MTA is not necessary, but can be quite useful: e.g: for
> delivering random error reports.
>
> >
> > > atd
> > > cron
> > Quite likely you don't need those on a small system. cron's used to
> > schedule regular jobs, atd to run irregular ones (the at command) and I
> > suspect most users don't even know about it.
>
> I suspect many things won't work as planned without crond. One example:
> log rotation. Though you can probably do without atd.
Probably you should log elsewhere, if at all. How important is syslog on
a router?
> >
> > > nscd (7 copies)
> > System will work without the Name Server Caching Daemon. Gave me grief
> > once and I simply turned it off.
> >
> > > login
> >
> > login's the program (not a daemon) that processes your login
> > authentication.
>
> The console login listener is something *getty (e.g: mingetty).
Well, sort of. The gettys listen on terminal devices - modems, virtual
consoles. I don't have any on my S/390, so no gettys. However, as you
can see there are a couple of logins running. Those were spawned by
telnetd when I started up a couple of telnet clients in xterm windows.
Oh, there is a getty. It's on my Hercules console. That's how I logged
in to see what's what when I IPLed in 8 Mbytes.
--
Cheers
John.
Join the "Linux Support by Small Businesses" list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb