LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Tweaking linux? (https://www.linuxquestions.org/questions/linux-software-2/tweaking-linux-31855/)

Kage 10-03-2002 10:20 PM

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.

trickykid 10-03-2002 10:47 PM

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.

Kage 10-04-2002 12:29 AM

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?

neo77777 10-04-2002 12:36 AM

apropos service name

Half_Elf 10-06-2002 11:26 PM

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 :)

markus1982 10-07-2002 11:33 AM

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.