Tweaking linux?
So how do I find out what services are running in linux and how do I turn them off/on?Im trying to tweak linux to run better/faster so any other suggestions that help speed a system up are welcome.
|
You can always type top, ps -aux to find out what processes are running currently. And you can always edit your startup scripts on what boots up to eliminate anything not needed. /etc/rc.d is the directory you would look at.. or in Redhat, they usually have /etc/rc.0 - /etc/rc.6.... etc.
|
Thanx! But how do I know if I need the process or not? Is there something that tells me what the process is doing for me?
|
apropos service name
|
also... hum I don't know RH architecture very well, but check if you have inetd.conf in your /etc . This file contains a lot of useless deamons. I think a normal user can turn them all off without problem. (my box has ZERO open port, I like it :)
|
On RH 7.3 there's no inetd.conf anymore afaik. Check for /etc/xinetd.d/ or use
Code:
chkconfig --list | grep on This will list you ALL services that are activated using the init-scripts in /etc/rc.d/init.d/ ... you can of course deactivate a lot ... like who needs hardware checking everytime you boot? (hardware checking = kudzu). If you have installed ntsysv you have a console GUI for chkconfig ;) |
All times are GMT -5. The time now is 11:21 PM. |