Results 1 to 6 of 6
Hi Guys I've noticed that when I shut down Ubuntu it lists a whole load of services (and possibly programs?) that it's stopping/closing. Amongst that list are things that look ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-30-2006 #1
How do I check for/disable unecessary programs/processes/services?
I've noticed that when I shut down Ubuntu it lists a whole load of services (and possibly programs?) that it's stopping/closing. Amongst that list are things that look like Bluetooth support (I don't have anything using Bluetooth) and a BitTorrent tracker (I'm not using BitTorrent - yet!).
How do I:
1. Find out exactly what programs/services are running on my Ubuntu install? I've looked at the 'Services' list (System > Administration > Services) but there are only about half a dozen on there and none of the ones that I'm concerned with are running.
2. Shut down/stop (for good) anything that shouldn't be running? Is there a list of the essential services somewhere, or better still a list of things that are normally running that I can shut down without causing any problems?
- 07-30-2006 #2Originally Posted by Catsworth
Bluetooth is enabled into the kernel itself, as is a lot of other start-up programs and services. If you want to disable bluetooth and other things, you'll need to install the kernel sources and recompile your kernel.
- 07-30-2006 #3
Ah right, ok - probably won't be fiddling with that for a while then - thanks Mike
I guess that the same will probably prove to be true with some of the other things that Ubuntu reports it is 'stopping' as it shuts down?
- 07-30-2006 #4Originally Posted by Catsworth
You can go to System > Administration > Services, and use google to decide if you need the services that are listed and shut them down.
I think if you want to remove something like sendmail, un-installing the sendmail program would remove that service from start-up.
- 08-29-2006 #5
Originally Posted by MikeTbob
- Join Date
- Jul 2005
What chkconfig really does is get rid of the script in the corresponding folder (depending on the run level you are at) which is usually /etc/rc5.d. When you shut down, then the scripts in that folder will be shut down. The ones that will startup up begin with a capital S, the ones to shut down with a capital K.
Don't mess too much with this stuff if you don't know what you are doing.
I have to add though, that bluetooth, etc is NOT part of the kernel, they are daemons that you CAN prevent from starting up and indeed you should if you do not need them.
For bluetooth specifically, you can delete this script from /etc/rc5.d:
it is only a softlink to another script in /etc/init.d/bluez-utils. Make sure you do not delete the ones in /etc/init.d, just the links in the /etc/rc5.d. That way you can always get them back by creating another soft link.
Now, I'm new to ubuntu (but I checked all this that I am saying before posting and indeed it is the same as in Fedora) and would like to know if there is a gui or command line tool to manage services. Having to delete the links manually is quite a chore.
- 08-29-2006 #6
- Join Date
- Jul 2005
Trolling google, I found this tool for services:
sudo apt-get install sysv-rc-conf
this is to get the software, then you run it with this: sudo sysv-rc-conf
It looks a lot like chkconfig. Will allow you to start and stop services at boot. You probably want to stay with the number 5 where it says services, this is the run level with a graphical interface, leave the rest as is.