Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-04-2007, 07:24 AM   #1
LQ Newbie
Registered: Aug 2007
Location: Kampala, Uganda, East Africa
Distribution: debian 4.0
Posts: 27

Rep: Reputation: 0
Unhappy how can I edit runlevels

How can I stop daemons (processes) that automatically start up on system boot at different runlevels like PPP which
consume my memory yet me and my system have absolutely no use for them.

I need to speed up my systems performance by freeing a few megs of RAM and relieving my processor. Suggestions are highly appreciated.


Old 09-04-2007, 08:02 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,898

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
If you are using Kde, check the Kde menu - System - Service Configuration to see if you have KSysV installed. KSysV allows you to select services to start in each runlevel. To stop a service, select it in the appropriate runlevel and click on the highlighted item. A dialogue box opens. Click on the Service tab, and another dialogue box opens offering the following options: Edit, Start, Stop, Restart.

Last edited by bigrigdriver; 09-04-2007 at 08:35 AM.
Old 09-04-2007, 08:12 AM   #3
LQ Newbie
Registered: Sep 2007
Posts: 3

Rep: Reputation: 0
You can use "chkconfig" to see daemon settings for run-levels. For example;

[root@yourmachine:~]$ chkconfig --list |grep squid
squid 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@yourmachine:~]$ chkconfig --level 35 squid on
[root@yourmachine:~]$ chkconfig --list |grep squid
squid 0:off 1:off 2:off 3:on 4:off 5:on 6:off

Hope that helps,
Old 09-05-2007, 09:22 AM   #4
Registered: Feb 2003
Location: Belgium
Distribution: Debian
Posts: 166

Rep: Reputation: 31
check your init.d\ and rc.x\
you could make your ppp script in init.d non-executable, or you could remove the references in the different rc.x\ folders.

In debian you have update-rc.d as tool, dunno if it's available in other distros.
Old 09-05-2007, 09:43 AM   #5
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,241
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Well since your profile says you are running Debian, I would suggest you use the tool sysv-rc-conf

Run it from the command line and it should be pretty obvious to you how to enable or disable services in the various run levels. Remember
0 is shutdown,
1 is singleuser mode
6 is reset

2 is default run level in Debian (might want to leave this one alone until you are comfortable adjusting the runlevels)

3-5 are fair game in Debian, you can do what you want with them..



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
help to edit Edit my bootloader's config file from kernel prompt jagdishpandey Linux - Kernel 5 07-03-2007 07:59 AM
What is runlevels? jojojo Linux - Newbie 2 06-06-2006 03:42 PM
Runlevels nin881 Slackware 8 05-21-2005 03:50 AM
How do I edit runlevels? rwescoat Linux - General 4 10-02-2004 10:23 PM
runlevels? Computergirl24 Linux - Software 4 12-26-2003 05:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration