sleepy monitor??

Eric "Shubes" plug at shubes.net
Sat Nov 4 09:07:13 MST 2006


keith smith wrote:
> After adding:
> 
> [root at dev bin]# /sbin/chkconfig --level 3 httpd on
> [root at dev bin]# /sbin/chkconfig --level 3 mysqld on
> [root at dev bin]# /sbin/chkconfig --level 3 smb on
> [root at dev bin]# /sbin/chkconfig --level 3 yum on

Wow. I didn't know you could setup yum to update nightly this way. Kinda
cool how it works. I don't think I have the nerve to turn it on though. I'd
hate to have an update run when I'm not available to fix something if it
were to have a problem. Probability is slight, but still possible.

> - - - - - - - -
> [root at dev bin]# free
>              total       used       free     shared    buffers     cached
> Mem:        385772     311396      74376          0      71832     177692
> -/+ buffers/cache:      61872     323900
> Swap:       666688         88     666600
> 
> Not a real big diff.

That's to X's credit. It doesn't use much resources when it'd idling.

> RunLevel 5 : 312956
> RunLevel 3 : 311396
> 
> It does seem more responsive......

It's funny what tricks your mind can play on you. ;)

It's always a good idea to only run what you need though. You might do
# chkconfig --list
to see what else is running that you don't need.

> Keith
> 
> 
> 
> */"Eric \"Shubes\"" <plug at shubes.net>/* wrote:
> 
>     keith smith wrote:
>     > When I execute runlevel it returns "3 5" - could it be possible I'm
>     > running both?
> 
>     man runlevel
> 
>     > free:
>     > total used free shared buffers cached
>     > Mem: 385772 312696 73076 0 70856 176448
>     > -/+ buffers/cache: 65392 320380
>     > Swap: 666688 88 666600
>     >
>     > - - - - -
>     > [root at dev bin]# /sbin/telinit 3
>     > [root at dev bin]# free
>     >
>     > total used free shared buffers cached
>     > Mem: 385772 298428 87344 0 70896 175780
>     > -/+ buffers/cache: 51752 334020
>     > Swap: 666688 88 666600
>     >
>     > [root at dev bin]# /sbin/runlevel
>     > 5 3
>     >
>     > ------
>     >
>     > [root at dev bin]# /sbin/telinit 5
>     > [root at dev bin]# /sbin/runlevel
>     > 3 5
>     > [root at dev bin]# free
>     > total used free shared buffers cached
>     > Mem: 385772 312956 72816 0 71024 176468
>     > -/+ buffers/cache: 65464 320308
>     > Swap: 666688 88 666600
>     > [root at dev bin]#
>     >
>     > - - - - - - - -
>     >
>     > Looks like only 14M diff.
>     >
>     > runlevel 3 kills samba, mysql and httpd also. I would think that would
>     > be worth a little also.
>     >
>     > - - - - - - -
>     >
>     > I would be interested in changing runlevel 3 to start samba,
>     mysql, and
>     > httpd. These are the ones I use all day.
> 
>     If you're running a RH-based distro, you can use the chkconfig
>     command to
>     change this, e.g.:
>     # chkconfig --level 235 samba on
> 
>     man chkconfig
> 
>     I'm not sure how to do this on debian boxen.
> 
>     > This has been most informative and interesting!
>     >
>     > Thnaks for your help,
>     > Keith
>     >
>     >
> 


-- 
-Eric 'shubes'


More information about the PLUG-discuss mailing list