Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Luter 345 Experiments
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Shutting Down Services
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Get shortened URL
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Managing Services == === Why Turn Off Services? === Typically, if a computer is not running properly or certain functions are not behaving appropriately, turning off that function may help in finding a solution. Here, for this experiment, background processes can effect the ping time resulting in error. By turning off these background processes, one can minimize the error gathered from their ping times. === What is Running? === After setting-up superuser access and the ability to run the computer in single user mode, one can begin on disabling unnecessary background processes. But the key here is to keep the system running without disrupting the services that allows the computer to function properly. To do this, start by listing all of the processes running on the computer using the command ''ps wwwaux''. The "ps" program (short for process status) allows the user to display currently running processes. [[File:Ps.JPG|thumb |center|600x600px|alt=Example alt text |'''Example A''': Screenshot of the ps wwwaux command.]] From Example A (above), several samples of running processes can be seen. The system processes that will not be touched have brackets surrounding the name. For instance, Example A's '''Command Column''' has ''[Migration/0]'' and several other system processes that we will not be shutting down. However, not all processes are essential for the purposes of this experiment. Some services, those that are unbracketed, may be turned off and still allow the computer to function properly. === What to Shut Down? === Each computer will list the services running in the '''Command Column'''. Now, it is important to look through the different non-essential or non-bracketed processes to see what can be turned off. Below is a noninclusive list of some services that will be turned off: ('''Warning''': If you are unsure of whether the service is essential or not, try researching the service in question. For example, '''dbus''' is non-bracketed, but it a networking service essential for this experiment.) 1. Bluetooth (wireless connectivity) 2. Whoopsie (error reporting daemon) 3. CUPS (UNIX printer service) 4. CUPS-Browsed (printer service) 5. MySQL (database service) 6. acpid (configuration daemon) 7. rsyslog (remote logging) 8. anacron (periodic executor) 9. kerneloops (crash report daemon) === How to Turn Off Services? === Shutting down services can either be done in a temporary manner, where after a reboot the service will be running again. Or services can be turned off in a more permanent manner where they will still be off after a reboot. Both methods are listed below: '''A: Temporary Shut Down''' 1. List processes using ''ps wwwaux'' 2. Find the process that you want to stop 3. Use ''/etc/init.d/'''Name of Service''' stop'' 4. If you want to troubleshoot, the service can be turned on by replacing '''stop''' with '''start''' '''B: Permanent Shut Down''' 1. List processes using ''ps wwwaux'' 2. Find the process that you want to stop 3. Use ''"echo 'manual' > /etc/init/SERVICE.override"'' If additional assistance is needed, follow this link: http://askubuntu.com/questions/19320/how-to-enable-or-disable-services (Scroll toward the middle of the page for help.)
Summary:
Please note that all contributions to Luter 345 Experiments may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Luter 345 Experiments:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)