LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (http://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   stop x windows? (http://www.linuxquestions.org/questions/linux-enterprise-47/stop-x-windows-528649/)

ginda 02-13-2007 08:53 AM

stop x windows?
 
Hi

I am testing a few services on two red hat servers, i was wondering would stopping x windows on the server improve performance and speed? and what is the best way to do this i.e. chkconfig it?

Thanks in advance

theNbomr 02-13-2007 09:59 AM

Have you monitored the CPU usage with something like top? If it is low, like less than 50% with few or no peaks at or above 90-95%, then it will probably not improve server performance. Server performance is often limited by disk & network throughput, so performance improvements shoud be focused on those areas. You can stop the X server gracefully, generally through a desktop control/menu, or ungracefully with Ctrl-Backspace. Your distro may have it configured to automatically restart after being killed. You can force the system to boot into console-only mode by adjusting the runlevel to 3. In /etc/inittab, find a line near the top of the file that resembles this:
Code:

id:5:initdefault:
Change the '5' to '3'. Subsequent re-boots will be console-only mode. You can enter runlevel 3 with the command 'init 3' (as root).
--- rod.

TheMoose 06-23-2007 08:16 PM

Huge thanks.

Was looking for that to install Nvidia latest drivers.

Again thanks:D


All times are GMT -5. The time now is 09:59 AM.