(no subject)

mascarasnake yellowdog-general@lists.terrasoftsolutions.com
Sat May 22 19:53:01 2004


e -

Fantastic bit of info. Probably saves me hours of snooping and 
spelunking!

thx muchly

----------

	It's what you make it man
	Takes time
	A little bit
	A little bit more

			-The Minutemen

dontdrill@earthlink.net
mascarasnake@mac.com
On May 22, 2004, at 8:12 PM, Eli Cantu wrote:
>

> you could choose a different distro i suppose. but if you thinking 
> along the
> lines of "kernel" optimizations, it wouldn't matter which distro you 
> used, you
> would still have to compile your own to slim it down. as most distros 
> ship with
> kitchen sink kernels.
>
> what i think your true problem (and this applies to redhat based ydl 
> as well) is
> the number of services enabled.
>
> on a redhat based distro do a:
>
> #chkconfig --list | grep on
>
> this will show you what's enabled. you can leave off the pipe/grep-on 
> part so
> that you can see the stuff that is disabled as well.
>
> so now that you see what is "enabled", you can now disable stuff.
>
> e.g. you want to disable httpd, or sshd because you don't need those 
> daemons
> listening for incoming connnections you would do the following:
>
> #chkconfig httpd off
> #chkconfig sshd off
>
> this does not immediately stop the services/daemons, but configures 
> them not to
> start at boot time.  to stop them immediately as well:
>
> #/etc/init.d/httpd stop
> #/etc/init/d/sshd stop
>
> you will have to experiment/research on what you can turn off, it 
> depends on
> what you are doing. I have taken a machine that boots to a prompt and 
> is using
> 100+ megabytes of memory to less then 24 megabytes of memory used(after
> optimization). for a workstation a lot of daemons are not that 
> critical. Does
> your workstation NEED 6 virtual counsoles? no? edit /etc/inittab file 
> and
> comment out a few of those ttys. save 400k each.
>
> use this to check memory resources:
>
> #free -m
>
> might want to check before and after to see your progress.
>
> good luck
>
> e
>
>
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'
>