LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 09-04-2007, 06:24 AM   #1
saintkay
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.

thanks.

email: lovesvick@yahoo.com
 
Old 09-04-2007, 07:02 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,747

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
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 07:35 AM.
 
Old 09-04-2007, 07:12 AM   #3
cornishfairing
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
[root@yourmachine:~]$


Hope that helps,
Cornish
 
Old 09-05-2007, 08:22 AM   #4
restless
Member
 
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, 08:43 AM   #5
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
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..
 
  


Reply

Tags
performance


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 06:59 AM
What is runlevels? jojojo Linux - Newbie 2 06-06-2006 02:42 PM
Runlevels nin881 Slackware 8 05-21-2005 02:50 AM
How do I edit runlevels? rwescoat Linux - General 4 10-02-2004 09:23 PM
runlevels? Computergirl24 Linux - Software 4 12-26-2003 04:45 PM


All times are GMT -5. The time now is 01:19 AM.

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